loading…
Search for a command to run...
loading…
This server integrates the OASIS, OpenSERV, and STAR platforms to provide tools for managing digital identities, minting NFTs, and orchestrating AI agent workfl
This server integrates the OASIS, OpenSERV, and STAR platforms to provide tools for managing digital identities, minting NFTs, and orchestrating AI agent workflows. It also supports smart contract generation across multiple blockchains and direct Solana RPC operations for transaction management.
Unified Model Context Protocol (MCP) server for interacting with OASIS, OpenSERV, and STAR platforms.
cd MCP
npm install
Create a .env file:
# Copy the example
cp env.example .env
# Edit .env with your settings
# OASIS_API_URL=http://localhost:5000
# OASIS_API_KEY=your_api_key_here (optional)
npm run build
npm run dev
Create or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"oasis-unified": {
"command": "node",
"args": ["/Users/maxgershfield/OASIS_CLEAN/MCP/dist/index.js"],
"env": {
"OASIS_API_URL": "http://localhost:5000",
"OASIS_API_KEY": "your_api_key_here"
}
}
}
}
Important: Use absolute paths in the config file.
Restart Cursor IDE to load the MCP server.
oasis_get_avatar - Get avatar by ID, username, or emailoasis_get_karma - Get karma score for avataroasis_get_nfts - Get all NFTs for avataroasis_get_nft - Get NFT details by IDoasis_get_wallet - Get wallet for avataroasis_get_holon - Get holon (data object) by IDoasis_health_check - Check OASIS API healthoasis_register_avatar - Create a new avataroasis_authenticate_avatar - Authenticate (login) and get JWT tokenoasis_mint_nft - Mint a new NFT on Solanaoasis_create_nft - Single command: authenticate → Glif image → mint (use this for consistent NFT creation)See AGENT_NFT_MINT_WORKFLOW.md for the full workflow (single MCP command + curl).
oasis_save_holon - Create or update a holon (data object)oasis_update_avatar - Update avatar informationoasis_create_wallet - Create a wallet for an avatar (basic)oasis_create_wallet_full - Create wallet with full options (recommended)oasis_set_default_wallet - Set default wallet for an avataroasis_send_transaction - Send tokens between avatars/addressesSee WALLET_CREATION_GUIDE.md for detailed wallet creation instructions.
oasis_authenticate_avatar - Authenticate as a User or Wizard avatar (the owner)oasis_register_avatar - Create an Agent avatar (set avatarType: "Agent") - Requires authentication from User/Wizardoasis_authenticate_avatar - Authenticate as the Agent avatar to get JWT tokenoasis_register_agent_capabilities - Register agent services and skills (agent manages itself)oasis_register_agent_as_serv_service - Register agent in SERV infrastructureoasis_discover_agents_via_serv - Discover registered agents (no auth required)oasis_get_my_agents - Get all agents owned by authenticated user (requires User/Wizard auth)oasis_get_agent_card - Get agent card by IDoasis_get_all_agents - List all A2A agentsoasis_get_agents_by_service - Find agents by service nameoasis_get_my_agents - Get agents owned by authenticated user (requires auth)oasis_discover_agents_via_serv - Discover agents via SERV infrastructureoasis_register_agent_capabilities - Register agent capabilities (requires auth)oasis_register_agent_as_serv_service - Register agent as SERV service (requires auth + capabilities)oasis_send_a2a_jsonrpc_request - Send JSON-RPC 2.0 requests (ping, payment_request, etc.)oasis_get_pending_a2a_messages - Get pending messages for agentoasis_mark_a2a_message_processed - Mark message as processedoasis_register_openserv_agent - Register OpenSERV AI agent as A2A agentoasis_execute_ai_workflow - Execute AI workflows via A2A ProtocolSee A2A_SERV_INTEGRATION.md for detailed documentation.
scgen_generate_contract - Generate smart contract from JSON specificationscgen_compile_contract - Compile smart contract source codescgen_deploy_contract - Deploy compiled contract to blockchainscgen_generate_and_compile - Generate and compile in one stepscgen_get_cache_stats - Get compilation cache statisticsSupported Blockchains:
Direct Solana blockchain operations via RPC (bypasses OASIS API):
solana_send_sol - Send SOL tokens directly via Solana RPCsolana_get_balance - Get SOL balance for a wallet addresssolana_get_transaction - Get transaction details by signatureSee SOLANA_RPC_ENDPOINTS.md for detailed documentation.
Test the MCP server directly:
# Run in dev mode (with logs)
npm run dev
# In another terminal, test with echo
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | npm run dev
npm run watch
npm run build
npm start
Once configured, you can ask Cursor:
~/.cursor/mcp.json is absolutels -la /Users/maxgershfield/OASIS_CLEAN/MCP/dist/index.jschmod +x /Users/maxgershfield/OASIS_CLEAN/MCP/dist/index.jscurl http://localhost:5000/api/health.envnode --versionrm -rf node_modules && npm installДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"oasis-unified-mcp-server": {
"command": "npx",
"args": []
}
}
}