# Use with AI agents (/docs/agents)

Coding agents build better integrations when they read the current docs. These docs are served in three forms an agent can use.

| Form | What it gives the agent | Where |
| --- | --- | --- |
| MCP server | Search, read any page, list the pages, read the skills | `/mcp` |
| Agent Skills | Short instructions loaded when a task needs them | `/.well-known/agent-skills/index.json` |
| Markdown | Every page as Markdown, and an index of the docs | `/llms.txt`, `/llms-full.txt`, any page followed by `.md` |

Each tab below holds one way to give your AI tool AI Connect, and each mark under it opens that tool on the instruction or copies the command it runs.

<AiSetup />

## The docs MCP server [#the-docs-mcp-server]

The server answers over Streamable HTTP at <SiteAddress path="/mcp" />. It needs no sign in and only reads the docs. Its tools:

- `search_docs`: finds the pages and sections that match a query, with their paths.
- `read_doc`: returns one page as Markdown, from a path such as `/docs/quickstart/react`.
- `list_docs`: returns every page with its title, path and summary.

The Agent Skills below are also listed as resources of the server, so a connected agent can read them without installing anything.

Add it to your agent:

<McpSetup />

In Claude on the web or the desktop app, open Customize, then Connectors, choose Add, then Add custom connector, and give it the same address.

## The account MCP server [#the-account-mcp-server]

The docs server reads the docs only. Account actions, such as issuing the [site key](/docs/quickstart/site-key) that turns on the TensorPass sign in, go through a second server that TensorPass serves at `https://plan.tensorpass.app/mcp`. It uses the MCP specification's own OAuth: the agent registers itself, a browser opens on TensorPass's sign in, and the developer signs in and approves once.

```bash
claude mcp add --transport http tensorpass https://plan.tensorpass.app/mcp
```

Its tools are `create_site_key`, `list_site_keys`, `revoke_site_key`, `start_domain_proof` and `check_domain_proof`. The [site key page](/docs/quickstart/site-key#from-a-coding-agent) shows the setup in Claude Code and Codex, each tool, and the command line `npx @tensorpass/aiconnect site-key <domain>` for an agent without an MCP client.

## Agent Skills [#agent-skills]

The skills follow the [Agent Skills](https://agentskills.io/specification) format, and this site lists them where the [Agent Skills Discovery RFC](https://github.com/cloudflare/agent-skills-discovery-rfc) expects them, at <SiteAddress path="/.well-known/agent-skills/index.json" />. A skill made of its instructions alone is served as its `SKILL.md`; a skill with scripts and templates is served as a `.tar.gz` archive of its folder. Each entry carries the SHA-256 digest of what it serves, so clients can check what they download.

| Skill | Use it to |
| --- | --- |
| `aiconnect-integrate` | Add AI Connect to a React, Next.js or JavaScript site, from the provider and the site key to the chat |
| `aiconnect-mcp-tools` | Turn a site's server, API or OpenAPI file into MCP tools a model uses well, and check them with a script |
| `aiconnect-rag-chatbot` | Build a chatbot that answers from the site's own pages: a search index, the MCP server and the chat |
| `aiconnect-hardening` | Guard a chat against prompt injection and leaks, and pen test it in English, French and Hebrew |
| `aiconnect-auth` | Harden the site's login before its MCP server serves signed in or staff tools, and migrate live users |

Install them in your agent with the skills command line, which finds them from the site's address:

<SkillsSetup />

The same skills are open source in the `skills` folder of https://github.com/tensorpass/aiconnect, and `npx skills add tensorpass/aiconnect` installs them from there.

## Markdown and llms.txt [#markdown-and-llmstxt]

- `/llms.txt` lists every page with its summary, following [llmstxt.org](https://llmstxt.org).
- `/llms-full.txt` holds the whole documentation in one file.
- Any page followed by `.md`, such as `/docs/quickstart/react.md`, returns that page as Markdown. A request with the header `Accept: text/markdown` on the page's own address returns the same Markdown.
- The **Copy Markdown** button at the top of each page copies it for a chat.
