Manifest MCP

Manifest MCP

A monorepo of MCP servers for Manifest Network and Cosmos SDK chains, enabling natural language interaction with on-chain queries, transactions, lease operations, and provider management.

Category
访问服务器

README

Manifest MCP

MCP servers for Manifest Network and Cosmos SDK chains.

Exposes on-chain queries and transactions as Model Context Protocol tools, so any MCP-compatible client (Claude Desktop, Cursor, etc.) can interact with the blockchain through natural language.

Monorepo structure

packages/
  core/        @manifest-network/manifest-mcp-core      Shared library: Cosmos logic, on-chain tool functions, server utilities
  chain/       @manifest-network/manifest-mcp-chain     MCP server for chain operations (6 tools, +1 optional faucet)
  lease/       @manifest-network/manifest-mcp-lease     MCP server for on-chain lease operations (8 tools)
  fred/        @manifest-network/manifest-mcp-fred      MCP server for provider/Fred operations (11 tools)
  cosmwasm/    @manifest-network/manifest-mcp-cosmwasm  MCP server for MFX-to-PWR converter (2 tools)
  agent-core/  @manifest-network/manifest-agent-core    TypeScript orchestration surface (deploy / manage-domain / troubleshoot / close-lease)
  agent/       @manifest-network/manifest-mcp-agent     MCP server wrapping agent-core via MCP elicitation (5 orchestrated tools)
  node/        @manifest-network/manifest-mcp-node      CLI entry points + encrypted keyfile wallet

Dependency direction: node -> {chain, lease, fred, cosmwasm, agent} -> core; agent -> agent-core -> {core, fred} (never reverse).

Prerequisites

  • Node.js >= 20
  • npm >= 9 (ships with Node 20+)

Quick start

# Install dependencies
npm install

# Build all packages
npm run build

# Generate an encrypted wallet keyfile (interactive)
npx manifest-mcp-chain keygen

See packages/node/README.md for wallet setup and MCP client integration.

MCP tools

Chain server (manifest-mcp-chain) -- 6 tools (+1 optional)

Tool Description
get_account_info Get the address of the configured wallet
cosmos_query Execute any Cosmos SDK query (bank, staking, gov, etc.)
cosmos_tx Sign and broadcast any Cosmos SDK transaction
cosmos_estimate_fee Estimate gas + fee for a transaction without broadcasting
list_modules List all available query and transaction modules
list_module_subcommands List subcommands for a specific module
request_faucet Request tokens from a faucet (registered only when MANIFEST_FAUCET_URL is set)

Lease server (manifest-mcp-lease) -- 8 tools

Tool Description
credit_balance Query on-chain credit balance (defaults to the caller; accepts tenant)
fund_credit Send tokens to a billing credit account (defaults to the sender; accepts tenant)
leases_by_tenant List leases by state (defaults to the caller; accepts tenant)
close_lease Close a lease on-chain
set_item_custom_domain Claim or release a custom domain on a lease item
lease_by_custom_domain Look up the lease that owns a custom domain
get_skus List available SKUs
get_providers List available providers

Fred server (manifest-mcp-fred) -- 11 tools

Tool Description
browse_catalog Browse available providers and service tiers with health checks
check_deployment_readiness Pre-flight checks (balance, SKU availability, image pull) before deploy_app
build_manifest_preview Preview the SDL/manifest that deploy_app would submit
deploy_app Deploy a new application (create lease + deploy container, optional custom domain)
wait_for_app_ready Poll provider until a deployed app reports ready
app_status Get detailed status for a deployed app by lease UUID
get_logs Get logs for a deployed app by lease UUID
restart_app Restart a deployed app via the provider
update_app Update a deployed app with a new manifest
app_diagnostics Get provision diagnostics for a deployed app
app_releases Get release/version history for a deployed app

The Fred server also exposes 3 MCP resources (manifest://leases/active, manifest://leases/recent, manifest://providers) and 3 prompts (deploy-containerized-app, diagnose-failing-app, shutdown-all-leases).

CosmWasm server (manifest-mcp-cosmwasm) -- 2 tools

Tool Description
get_mfx_to_pwr_rate Get the current MFX-to-PWR conversion rate and preview amounts
convert_mfx_to_pwr Convert MFX tokens to PWR via the on-chain converter contract

Agent server (manifest-mcp-agent) -- 5 orchestrated tools

Wraps @manifest-network/manifest-agent-core orchestration via MCP elicitation — bidirectional plan / confirm / recovery prompts flow over standard MCP wire. The broadcasting tools require an elicitation-capable host (Claude Code ≥ 2.1.76); the read-only tools (lookup_custom_domain_orchestrated, troubleshoot_deployment_orchestrated) run on any host.

Tool Description
deploy_app_orchestrated Plan → confirm → broadcast → persist; rich recovery picker on partial-success failures
manage_domain_orchestrated Set / clear a lease custom domain with confirm + verify
lookup_custom_domain_orchestrated Reverse-resolve an FQDN to its owning lease (read-only chain query, no broadcast)
troubleshoot_deployment_orchestrated Generate a markdown chain-side diagnostic report (no broadcast)
close_lease_orchestrated Confirm → close → verify terminal state

Supported modules: bank, staking, distribution, gov, billing, sku, group, wasm, poa, tokenfactory, ibc-transfer, authz, feegrant, auth (query only), mint (query only), manifest (tx only).

Documentation

Per-server CLI + integration packages/node/README.md
Tool selection & flow guidance docs/tool-selection-guide.md
End-to-end usage examples docs/usage-examples.md
Prompts & resources reference docs/prompts-and-resources.md
Troubleshooting docs/troubleshooting.md
Security model docs/security.md
Library usage (non-MCP consumers) docs/library-usage.md
Architecture ARCHITECTURE.md
Contributing CONTRIBUTING.md
Security policy & disclosure SECURITY.md

Development

For a deeper look at the codebase design, see ARCHITECTURE.md.

# Build all packages
npm run build

# Lint (type-check)
npm run lint

# Run unit tests
npm run test

# Run E2E tests (requires Docker)
docker compose -f e2e/docker-compose.yml up -d --wait --wait-timeout 180
npm run test:e2e
docker compose -f e2e/docker-compose.yml down -v --remove-orphans

# Code formatting and import sorting (Biome)
npm run check        # check only
npm run check:fix    # auto-fix

Adding a new module

  1. Create a query handler in packages/core/src/queries/<module>.ts implementing routeXxxQuery()
  2. Create a transaction handler in packages/core/src/transactions/<module>.ts implementing routeXxxTransaction()
  3. Register both in the QUERY_MODULES / TX_MODULES maps in packages/core/src/modules.ts

The module is then automatically available through the cosmos_query and cosmos_tx tools, and discoverable via list_modules and list_module_subcommands.

Releasing

All eight packages are versioned in lockstep and published together.

Setup (one-time)

The release workflow uses npm OIDC trusted publishing (provenance). No npm token is needed as a repository secret -- authentication is handled automatically via GitHub's OIDC identity provider. Ensure the npm package is linked to the repository for provenance to work.

Publishing a release

# 1. Bump versions (updates all package.json files and syncs the lockfile)
npm run release:version -- 0.2.0

# 2. Commit and tag
git add -A
git commit -m "chore: release v0.2.0"
git tag v0.2.0

# 3. Push (triggers the release workflow)
git push origin main --tags

Pushing a vMAJOR.MINOR.PATCH tag triggers the Release workflow, which:

  1. Validates the tag version matches all package.json files
  2. Builds, type-checks, runs Biome checks, and tests
  3. Publishes all packages to npm (with provenance) in dependency order: core → chain → lease → fred → cosmwasm → agent-core → agent → node
  4. Creates a GitHub Release with auto-generated notes (best-effort — publish succeeds even if this fails)

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选