Use this path when your runtime already supports MCP (Claude Desktop, Claude Code, Cursor, and similar clients) and you want real wallet operations exposed without writing a custom adapter first. If you have not run the SDK quickstart yet, do that first:Documentation Index
Fetch the complete documentation index at: https://cobo.com/products/agentic-wallet/manual/llms.txt
Use this file to discover all available pages before exploring further.
5-minute outcome
- Start the Cobo MCP stdio server
- Submit a pact and wait for owner activation notification
- Activate a pact from the MCP client itself
- Execute a blockchain action and track the resulting record
- Observe policy denial returned as tool content
- Retry with compliant params from
suggestion - Confirm via audit logs
Step 1: Install MCP extra
Step 2: Configure API access
Step 3: Start stdio MCP server
Step 4: Register server in MCP client
Example (claude_desktop_config.json):
Step 5: Run denial plus correction sequence
In your MCP client, execute this flow:list_walletsandget_walletto identify the wallet the runtime should operate onsubmit_pactwith an intent and PactSpec, thenget_pactuntil the owner activates it in the Cobo Agentic Wallet appestimate_transfer_feeorestimate_contract_call_feeto preview the operation costtransfer_tokens,contract_call,message_sign, orpaymentwith a stablerequest_idwhere applicableget_transaction_record_by_request_idorlist_transaction_recordsto track the submitted operation- Trigger a too-large transfer or disallowed contract call to observe the policy denial payload
- Parse
suggestionfrom tool output and retry with compliant params get_audit_logsto verify allowed plus denied events
Useful tool groups
- Wallet discovery:
list_wallets,get_wallet,list_wallet_addresses,get_balance - Pact lifecycle:
submit_pact,get_pact,list_pacts - Blockchain execution:
transfer_tokens,contract_call,message_sign,payment - Fee planning:
estimate_transfer_fee,estimate_contract_call_fee - Tracking and recovery:
list_transactions,list_transaction_records,get_transaction_record,get_transaction_record_by_request_id,list_recent_addresses - Audit and provisioning:
get_audit_logs,create_delegation
Recommended presets
Most MCP clients perform better when you expose a small, role-specific subset instead of the full surface.- Pact Drafting —
submit_pact,get_pact,list_pacts - Execution —
transfer_tokens,contract_call,estimate_transfer_fee,estimate_contract_call_fee,get_transaction_record_by_request_id - Observer —
list_wallets,get_wallet,get_balance,list_transaction_records,get_audit_logs
Go further
The MCP server exposes the same canonical toolkit surface as the other CAW integrations. You can still extend it with custom tools and combine it with direct SDK usage:- Add custom MCP tools — define additional MCP tools alongside Cobo’s for your own business logic (e.g. a
check_pricetool that fetches a token price before submitting a transfer). - Use the Python SDK for non-MCP operations — pact lifecycle management, policy configuration, and audit queries are all available via
WalletAPIClientfor operations you want to handle outside the LLM loop. - Use framework integrations for code-based runtimes — if you’re building a Python agent with LangChain or OpenAI Agents SDK, use the framework-native toolkit instead of the MCP server. You get the same tools natively integrated with your runtime’s tool-calling mechanism.
Python SDK
Direct programmatic access for operations outside the LLM loop.
LangChain
Framework-native toolkit for Python agents.