> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# AI-Assisted Development & MCP

> Give Claude, Cursor, Codex, Amp, and OpenCode accurate Voltaire context via MCP, llms.txt, or local source.

Voltaire is designed so coding agents write correct Ethereum code on the first pass: spec-aligned names, branded types that produce actionable compiler errors, machine-readable `llms.txt` indexes, and a hosted Model Context Protocol (MCP) server.

```mermaid theme={null}
flowchart LR
  Agent["Coding Agent\n(Claude · Cursor · Codex · Amp)"] --> MCP["Hosted MCP Server\nvoltaire.tevm.sh/mcp"]
  Agent --> LLMS["llms.txt / llms-full.txt"]
  Agent --> Local["Local Repo Clone\n(Full source + tests)"]
  MCP --> Code["Verified Primitives\n+ Custom Project Skills"]
  LLMS --> Code
  Local --> Code
```

## Connect the Hosted MCP Server

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http voltaire https://voltaire.tevm.sh/mcp
> ```

> [tab] Cursor
>
> Add to `.cursor/mcp.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "voltaire": {
>       "command": "npx",
>       "args": ["mcp-remote", "https://voltaire.tevm.sh/mcp"]
>     }
>   }
> }
> ```

> [tab] Codex
>
> Add to `~/.codex/config.toml`:
>
> ```toml theme={null}
> [mcp_servers.voltaire]
> url = "https://voltaire.tevm.sh/mcp"
> ```

> [tab] Amp
>
> Add to `~/.config/amp/settings.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "voltaire": {
>       "url": "https://voltaire.tevm.sh/mcp"
>     }
>   }
> }
> ```

> [tab] OpenCode
>
> Add to `~/.config/opencode/opencode.json`:
>
> ```json theme={null}
> {
>   "mcp": {
>     "voltaire": {
>       "type": "remote",
>       "url": "https://voltaire.tevm.sh/mcp"
>     }
>   }
> }
> ```

## Plain-Text Context (`llms.txt`)

For agents or tools without MCP support, fetch the static plain-text indexes directly:

* **Concise index:** `https://voltaire.tevm.sh/llms.txt`
* **Full corpus:** `https://voltaire.tevm.sh/llms-full.txt`

## Maximum Context: Clone Locally

For large refactors or custom EVM/crypto work, clone the repository locally so your agent can inspect implementations and tests directly:

```bash theme={null}
git clone https://github.com/evmts/voltaire.git
```

## Why Branded Types Help Agents Self-Correct

When an agent swaps a `HashType` and `AddressType`, or passes a raw string where a validated `WeiType` is required, `tsc --noEmit` catches the mistake immediately with an exact type error instead of letting a silent bug ship to production. Combine strict TypeScript with [Skills](https://voltaire.tevm.sh/concepts/skills.md) so your agent can inspect and modify your entire Ethereum integration in one place.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.