> For the complete documentation index, see [llms.txt](https://docs.baas.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.baas.sh/ai-tools/mcp.md).

# BaaS MCP

Connect your AI coding agent to your BaaS project.

The BaaS MCP server connects your AI coding agent to one BaaS project. The agent can inspect the project, change what it is allowed to manage, and read the latest BaaS documentation. It uses your account and your role on the project, nothing more.

MCP (Model Context Protocol) is the open standard AI clients use to work with external tools. Codex, Claude Code, and most other coding agents support it. There is nothing to install: you add a URL to your client and sign in.

## Benefits of the BaaS MCP server

* **Inspect the project.** Networks, registered contracts with their ABIs, mappings and units, users, workflows and their runs, the keys of the Vault and their state on each network.
* **Read the documentation.** The agent searches and reads the BaaS documentation through the same connection, so its answers follow the current product rather than what it remembers.
* **Configure workflows.** Create a workflow, attach a webhook, cron, or monitor trigger, add and order actions, then activate it.
* **Manage keys per network.** Prepare a key on every network of the project, enable or disable it on one network.
* **Read contracts on-chain.** Call read functions, simulate a call, estimate gas, or prepare an unsigned transaction for a wallet to sign.
* **Stay in control.** The agent sees only the tools your role allows, and the server never deploys a contract, submits a transaction, or exposes a key. See [MCP server capabilities](/ai-tools/mcp/capabilities.md).

## Your project's MCP URL

Each project has its own MCP server. Open your project in the BaaS Console: the **Dashboard** page lists your **Project Endpoints**, and the **MCP** one is ready to copy.

```
https://<project-id>-api.baas.sh/mcp
```

It is your project's API URL followed by `/mcp`. Copy it from the Console rather than typing it.

<a href="/ai-tools/mcp/setup.md" class="button primary">Set up your MCP client →</a>

## Start here

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Set up your MCP client</strong></td><td>Add the server to Codex or Claude Code and sign in.</td><td><a href="/ai-tools/mcp/setup.md">Set up your MCP client</a></td></tr><tr><td><strong>MCP server capabilities</strong></td><td>The tools, what the server never does, and how roles apply.</td><td><a href="/ai-tools/mcp/capabilities.md">MCP server capabilities</a></td></tr><tr><td><strong>Example prompts</strong></td><td>Prompts to try once the server is connected.</td><td><a href="/ai-tools/mcp/example-prompts.md">Example prompts</a></td></tr><tr><td><strong>Troubleshooting</strong></td><td>What to do when the connection doesn't work.</td><td><a href="/ai-tools/mcp/troubleshooting.md">Troubleshooting</a></td></tr></tbody></table>
