> ## Documentation Index
> Fetch the complete documentation index at: https://proto.evodesign.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Model Context Protocol

> Expose the proto-tools catalog to coding agents over MCP

<a href="https://github.com/evo-design/proto-tools" target="_blank">
  <img src="https://opengraph.githubassets.com/1/evo-design/proto-tools" alt="evo-design/proto-tools" className="gh-card-img img-fallback" style={{borderRadius: "8px", width: "100%"}} />
</a>

<div className="badge-row">
  <a href="https://github.com/evo-design/proto-tools/blob/main/LICENSE" target="_blank" rel="noreferrer">
    <img noZoom src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT" />
  </a>

  <a href="https://www.biorxiv.org/content/10.64898/2026.06.22.733870" target="_blank" rel="noreferrer">
    <img noZoom src="https://img.shields.io/badge/bioRxiv-2026.06.22.733870-b31b1b.svg" alt="bioRxiv" />
  </a>

  <a href="/docs/tools/modal-integration">
    <img noZoom src="https://img.shields.io/badge/Modal-ready--to--deploy-brightgreen?logo=modal&logoColor=white" alt="Modal" />
  </a>

  <a href="https://arcinstitute.org/news/proto" target="_blank" rel="noreferrer">
    <img noZoom src="https://img.shields.io/badge/Blog-0073E6?logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAADrElEQVR42u2WX4jUVRTHv%2Bf%2BfjM7iqXWmFZGmWEFWiBR%2BxBBsSY9CFKQGT1ElKhsEuRrEVFPGVu2RpsplWGUCWbURpkSYZtDEj4oKmYvGxHUruui7czvz6eHuTPzm3HsaQSD%2BcIMzJl77znf7zn33CN10UUX%2F39YqwFvMS6xZ%2BySMCCnuGqztDMOXObwQFKfftUxHdVxHsYIOiwKxiz%2BoIrvJVyndQ8kdhJRJiZmSYddYBJFxoCUCBiQCNsyDaviYYTNQhIQ4jBcbU12YyixnjJfAxHwJzObqwkjvDgnrLXyWtbiJE7wObcACRHwZDsOXMdjfMprGDN4hRHeoafGg%2FsYosRJfmCQB5rCI5BYDKyUOAxUgIONKDCMhWzkSyYA2CYxDEDKHEliPnuBw6ynn1EANrcKNMQ40zDWAhEJCUt9%2BYoA40HOATBFxEs8BJSBCeZK3MRvwCf%2BtIVMkgArsgkuMMlmCeNqxjyHLQ2RMInZHCChDLzNUeAcE4xSxPEj8DfXSOQJJY4QU%2BHNevwYq4DbJfISW72Dv7iqoSR5iXeBCinjlFjFAuYwV%2BIJIGF3na9xEoD%2BbIJ%2F4oiEI8DorSd6TYZDiPEBMEXKPnIZgUdIgeex6lqM99jPFgqN4xcAT2PkCMlJHPQcSlg90aHE%2B8A%2FwCaJgg%2FnBqZIgNUXVp2rf69VRZ%2FJWWSxRTh9I8mU6i7dLdp0pQKm2FLJ0CL1KG5unbiq81DClBDoKX1hZySu1Uqt0B0KlShUrFDP2CHa3itq%2FXieJCRloq91Y%2Bc%2Fy1XUCyxmj47rOZ1Sv5Zqp9%2F2CEVL%2FvN9cH7lrW3vMoHEML8zxFk%2Bprf%2B5z31RD%2Fr9c%2Fm4C3%2FO5BY5vN1qFZF2eOdxHwmgRGW1KslIMAo%2BY2%2F4LCLOKjunwJi4H6JHq9%2FIHFbddFG4HV%2FdLZi1vgbDfdiBE0OBmsVg5P4jpQKKae4McPgUU6InMRpfq7dwKbGW2Tcc%2FhQIk%2BekO3ewRsEFDAvUh9QIQZG2cCd3EwfA8C6agdM2dW2AecZJaJMhTGu97YdREwSsb3loRoAUsr%2BPTwPwFeS%2BIgEgBKDLPKEHcZytnKaBs6wgWXsyFi%2BZRNF32cDiZeJyGIvs3ChAm1TLGmGisrXithSrtCVOqBhmZAp0XT1aJrO6tV64DM1XYGfoRKcvchuPa5ezdN5HdMe29W54acxlaj5BZGsqXckjXkOp9bHEXGBLclOgDg5pZZWnVlymc%2BEXXTRxeWDfwGkGF0Pfq%2BibAAAAABJRU5ErkJggg%3D%3D" alt="Arc Institute blog" />
  </a>
</div>

<div className="install-snippet">
  ```bash bash icon="terminal" theme={null}
  pip install "proto-tools[mcp] @ git+https://github.com/evo-design/proto-tools.git"
  ```
</div>

The Model Context Protocol (MCP) is an open standard for connecting AI agents to external tools
and data sources. `proto-tools` ships an MCP server, so an MCP-compatible agent such as Claude
Code or Cursor can discover the tool catalog, read a tool's schemas, and run it, all through
natural language.

<Note>
  Currently our MCP server only runs locally over stdio. Agents such as Claude Code and Cursor
  are supported. A hosted version reachable over HTTPS is in active development.
</Note>

## What the agent can do

An agent connected to the server works through the same contract the Python interface uses:
discover a tool, inspect its typed schemas, then call it.

<CardGroup cols={2}>
  <Card title="Workspace" icon="server" href="/docs/mcp/functions#workspace">
    `workspace_info` reports which backend calls go to, how it is configured, and whether its
    credentials are present.
  </Card>

  <Card title="Discover" icon="search" href="/docs/mcp/functions#discover">
    `list_tools` returns the catalog; `search_tools` matches a keyword against tool keys and
    descriptions.
  </Card>

  <Card title="Inspect" icon="file-text" href="/docs/mcp/functions#inspect">
    `get_tool_schema` and `get_tool_example` return a tool's input, config, and output models.
    `get_tool_citation` returns the BibTeX for the method it implements.
  </Card>

  <Card title="Run" icon="play" href="/docs/mcp/functions#run">
    `run_tool` executes a tool and blocks until it finishes. Large outputs are written to disk and
    returned as file paths.
  </Card>

  <Card title="Deploy" icon="cloud-upload" href="/docs/mcp/functions#deploy">
    On Modal, `deploy_tool` provisions a tool that is not deployed yet, after asking you to
    confirm the cost.
  </Card>
</CardGroup>

## Choosing a backend

The server runs against one backend, chosen when it starts, so listing and running agree about
what is available. The default is `modal`, and an agent can send a single call elsewhere with
`run_on`.

| Backend | Where tools run                | Deployment                                   | Requirement                         |
| ------- | ------------------------------ | -------------------------------------------- | ----------------------------------- |
| `modal` | A Modal workspace you own      | You deploy tools yourself with `deploy_tool` | Modal credentials                   |
| `local` | The machine running the server | Nothing to deploy                            | A local GPU for tools that need one |

**`modal`** keeps model weights warm in your own workspace between calls, so repeat calls are
fast. Deploying and running bill your own Modal account, and `deploy_tool` asks you to approve
before anything is built.

**`local`** executes tools in the server's own process, so there is nothing to deploy and every
registered tool is available. Each tool builds its isolated environment and downloads its weights
on first use, so a first call can take several minutes; later calls reuse both.

## Next Steps

<CardGroup cols={2}>
  <Card title="Installation" icon="download" href="/docs/mcp/installation">
    Install the `mcp` extra, register the server with your agent, and select a backend.
  </Card>

  <Card title="Server Functions" icon="wrench" href="/docs/mcp/functions">
    Reference for each function the server exposes, with its parameters and behavior.
  </Card>

  <Card title="Tools" icon="boxes" href="/docs/tools/introduction">
    The catalog of bioinformatics models the server exposes.
  </Card>

  <Card title="Modal Integration" icon="cloud" href="/docs/mcp/modal">
    How the server uses Modal, and what an agent can deploy on your behalf.
  </Card>
</CardGroup>
