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

# Use Tavchain with AI

> Connect your coding assistant to Tavchain documentation, find current network settings and use Markdown pages as context for development.

Connect your AI assistant to Tavchain Docs so it can search guides and read pages while you build. You do not need a wallet, API key or running node to access the public documentation.

## Connect your assistant

Use the public documentation MCP endpoint:

```text theme={null}
https://docs.tavchain.safeney.com/mcp
```

Choose your client, or use **Other clients** for manual configuration in another compatible application or agent framework. Your client must support remote HTTP MCP servers.

> [tab] Codex
>
> Add Tavchain Docs from your terminal:
>
> ```bash theme={null}
> codex mcp add tavchain-docs --url https://docs.tavchain.safeney.com/mcp
> ```
>
> Run `codex mcp list` to check the configuration.

> [tab] Claude Code
>
> Run this command from your project directory:
>
> ```bash theme={null}
> claude mcp add --transport http tavchain-docs https://docs.tavchain.safeney.com/mcp
> ```
>
> Open Claude Code and use `/mcp` to check the connection.

> [tab] Cursor
>
> Add this entry to your project's `.cursor/mcp.json`. If the file already contains other servers, keep those entries.
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "tavchain-docs": {
>       "url": "https://docs.tavchain.safeney.com/mcp"
>     }
>   }
> }
> ```
>
> Enable the server in Cursor's MCP settings.

> [tab] VS Code
>
> With GitHub Copilot agent mode, add this entry to `.vscode/mcp.json`. Keep any existing servers.
>
> ```json theme={null}
> {
>   "servers": {
>     "tavchain-docs": {
>       "type": "http",
>       "url": "https://docs.tavchain.safeney.com/mcp"
>     }
>   }
> }
> ```
>
> Start the server and enable its documentation tools in the agent's tool picker.

> [tab] Other clients
>
> In a client that supports remote MCP servers, enter:
>
> | Setting | Value |
> | - | - |
> | Name | `tavchain-docs` |
> | Transport | Streamable HTTP (sometimes labelled HTTP) |
> | Server URL | `https://docs.tavchain.safeney.com/mcp` |
> | Authentication | None for public documentation |
>
> Save and enable the connection using your client's instructions. Configuration-file keys differ between clients; keep existing server entries. Use the question below to check that the assistant can search the docs.

## Try a question

Ask your assistant:

```text theme={null}
Use Tavchain Docs to find the current testnet chain ID and RPC URL.
Cite the network information page. Do not connect a wallet or send a transaction.
```

Check that the answer cites [Network information](https://docs.tavchain.safeney.com/tavchain/network.md) and returns chain ID **771002** and RPC URL `https://api.testnet.tavchain.safeney.com/`. A configured server alone does not confirm that your assistant used it.

You can also ask it to:

* Find the [Hardhat guide](https://docs.tavchain.safeney.com/tavchain/hardhat.md) and explain how to compile and test a contract locally.
* Read the [installation choices](https://docs.tavchain.safeney.com/tavchain/operate.md) and explain which package matches your operating system.
* Explain how to check a transaction receipt using the [JSON-RPC reference](https://docs.tavchain.safeney.com/tavchain/http-api.md).

## Use a page as context

Use **Copy page** beside a page title, or append `.md` to a documentation URL to read its Markdown version. The page menu also offers AI conversation and editor connection options.

For assistants that fetch URLs, start with the [documentation index](https://docs.tavchain.safeney.com/llms.txt). It lists pages so the assistant can retrieve the ones it needs. The [full documentation text](https://docs.tavchain.safeney.com/llms-full.txt) is available when you need broader context.

## Documentation and blockchain access

The docs MCP searches published documentation. Its search and page-reading tools do not read live wallet balances, sign transactions or control your wallet. A separate feedback tool can submit documentation feedback when you request it.

For live blocks, balances and receipts, [connect the read-only blockchain MCP reader](https://docs.tavchain.safeney.com/tavchain/ai-chain.md) or use the [Ethereum JSON-RPC API](https://docs.tavchain.safeney.com/tavchain/http-api.md) through an HTTP-capable tool or EVM library. Transaction signing requires a separate wallet or signer and your authorization.

Keep private keys, seed phrases and passwords out of prompts and documentation feedback. Check cited pages and the selected network before following generated instructions.


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