MCP.so
登录

CosmWasm MCP Server

@adairrr

关于 CosmWasm MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts.

基本信息

分类

其他

运行时

rust

传输方式

stdio

发布者

adairrr

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is CosmWasm MCP Server?

A Model Context Protocol (MCP) server that provides tools for interacting with CosmWasm smart contracts, enabling AI agents to manage and interact with blockchain-based contracts programmatically. It is written in Rust and uses the cw-orchestrator library to communicate with CosmWasm contracts.

How to use CosmWasm MCP Server?

Build the server binary with cargo build --release, then configure it in your MCP client (e.g., Claude Desktop) by adding the binary path, empty args, and environment variables TEST_MNEMONIC and RUST_LOG to the client's configuration file. Restart the client to see the MCP UI elements, then send natural‑language prompts to query contracts, execute transactions, or check balances.

Key features of CosmWasm MCP Server

  • Built in Rust using the cw-orchestrator SDK
  • Enables AI agents to query CosmWasm smart contracts
  • Supports contract state queries (e.g., get_count)
  • Supports contract execution (e.g., increment)
  • Supports address balance queries
  • Uses standard input/output MCP transport (stdio)

Use cases of CosmWasm MCP Server

  • AI‑powered monitoring and interaction with live smart contracts
  • Automated testing of CosmWasm contract logic
  • Integrating blockchain actions into conversational AI workflows
  • Querying on‑chain state and balances without manual RPC calls

FAQ from CosmWasm MCP Server

What dependencies are required to run this server?

You need Rust and Cargo to build the binary. At runtime, the server requires the TEST_MNEMONIC and RUST_LOG environment variables.

How does the server communicate with the MCP client?

It uses standard input/output (stdio) transport, as shown in the client configuration where the server is launched directly as a process.

Does the server support multiple blockchain networks?

Not yet. The chain is currently hardcoded; a TODO in the README indicates future support for passing the chain via environment variable or command argument.

What actions can the server perform on smart contracts?

Based on the examples, it can query contract state (e.g., get_count), execute contract methods (e.g., increment), and retrieve the balance of an address.

Where can I find more information about the protocol it implements?

The README links to the Model Context Protocol for details.

评论

其他 分类下的更多 MCP 服务器