CW-Graph MCP Server provides a TypeScript implementation for interacting with a CosmWasm-based social graph smart contract on a blockchain. It enables AI assistants to create, update, query, and delete cyberlinks (graph relationships) through a set of well-defined tools that communicate with the blockchain via CosmJS. The server handles wallet management, transaction signing, and result formatting, making it particularly useful for applications that need to store structured data like conversation threads, social connections, or content relationships in a decentralized manner.
No reviews yet. Be the first to review!
Sign in to join the conversation
Create single cyberlink. Required: type; Optional: from, to, value.
Create node + link. Required: node_type, link_type; Optional: node_value, link_value, link_to_existing_id, link_from_existing_id.
Create named cyberlink (admin only). Required: name, cyberlink.
Batch create cyberlinks. Required: cyberlinks[].
Update existing cyberlink. Required: gid, cyberlink.
Remove cyberlink. Required: gid.
Add semantic embedding. Required: formatted_id.
Get by global ID. Required: gid.
Get by formatted ID. Required: fid.
List all with pagination. Parameters: limit, start_after.
List named cyberlinks. Parameters: limit, start_after.
Get multiple by IDs. Required: gids[].
Filter by type. Required: type.
Filter by source. Required: from.
Filter by target. Required: to.
Filter by owner & type. Required: owner, type.
Filter by creation time. Required: owner, start_time.
Filter by any time. Required: owner, start_time.
Get last assigned ID.
Get contract config.
Get debug state (admin only).
Get graph statistics.
Get tx status. Required: transaction_hash.
Get detailed tx status. Required: transaction_hash.
Get wallet balances.
Transfer tokens. Required: recipient, amount.