MCP Integration

MCP Integration

Supported in Yaci DevKit v0.12.0-beta5 and later.

Yaci DevKit exposes an MCP server from the CLI/admin service so AI coding tools can inspect and interact with the local devnet.

The default MCP endpoint is:

http://localhost:10000/mcp

Configuration

Add this to your .mcp.json:

{
  "mcpServers": {
    "yaci-devkit": {
      "url": "http://localhost:10000/mcp"
    }
  }
}

If you changed the admin port, update the URL to match your configured port.

For Docker, the host admin port is controlled by:

HOST_CLUSTER_API_PORT=10000

Available Tools

The MCP server exposes devnet-focused tools:

ToolPurpose
devnet_statusGet devnet status and current chain tip
devnet_resetReset the local devnet
devnet_topupFund an address with test ADA
devnet_utxosQuery UTxOs for an address
devnet_submit_txSubmit a signed transaction

Usage Notes

  • Start Yaci DevKit before using the MCP server.
  • Run info in Yaci CLI to print the MCP URL and .mcp.json snippet.
  • The MCP endpoint is intended for local development workflows.

MCP support is useful for tools such as Claude Code that can call local development tools while assisting with dApp or SDK tests.