MCPServers
CosmWasm Social Graph - MCP server logo

CosmWasm Social Graph

1
0

Summary

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.

Available Actions(26)

create_cyberlink

Create single cyberlink. Required: type. Optional: from, to, value.

create_cyberlink2

Create node + link. Required: node_type, link_type. Optional: node_value, link_value, link_to_existing_id, link_from_existing_id.

create_named_cyberlink

Create named cyberlink (admin only). Required: name, cyberlink.

create_cyberlinks

Batch create cyberlinks. Required: cyberlinks[].

update_cyberlink

Update existing cyberlink. Required: gid, cyberlink.

delete_cyberlink

Remove cyberlink. Required: gid.

update_with_embedding

Add semantic embedding. Required: formatted_id.

query_by_gid

Get by global ID. Required: gid.

query_by_fid

Get by formatted ID. Required: fid.

query_cyberlinks

List all with pagination. Parameters: limit, start_after.

query_named_cyberlinks

List named cyberlinks. Parameters: limit, start_after.

query_by_gids

Get multiple by IDs. Required: gids[].

query_cyberlinks_by_type

Filter by type. Required: type.

query_cyberlinks_by_from

Filter by source. Required: from.

query_cyberlinks_by_to

Filter by target. Required: to.

query_cyberlinks_by_owner_and_type

Filter by owner & type. Required: owner, type.

query_cyberlinks_by_owner_time

Filter by creation time. Required: owner, start_time.

query_cyberlinks_by_owner_time_any

Filter by any time. Required: owner, start_time.

query_last_id

Get last assigned ID.

query_config

Get contract config.

query_debug_state

Get debug state (admin only).

get_graph_stats

Get graph statistics.

query_transaction

Get tx status. Required: transaction_hash.

get_tx_status

Get detailed tx status. Required: transaction_hash.

query_wallet_balance

Get wallet balances.

send_tokens

Transfer tokens. Required: recipient, amount.

Last Updated: April 18, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签