Use with AI agents
Give Claude Code, Cursor, Codex or any coding agent the AI Connect docs as an MCP server, as Agent Skills, or as Markdown, and let it get your site key from the TensorPass account MCP server.
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.
Add AI Connect with your AI
The docs MCP server
The server answers over Streamable HTTP at /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:
claude mcp add --transport http aiconnect-docs /mcpIn 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 docs server reads the docs only. Account actions, such as issuing the 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.
claude mcp add --transport http tensorpass https://plan.tensorpass.app/mcpIts tools are create_site_key, list_site_keys, revoke_site_key, start_domain_proof and check_domain_proof. The site key page 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
The skills follow the Agent Skills format, and this site lists them where the Agent Skills Discovery RFC expects them, at /.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:
npx skills add 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
/llms.txtlists every page with its summary, following llmstxt.org./llms-full.txtholds 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 headerAccept: text/markdownon the page's own address returns the same Markdown. - The Copy Markdown button at the top of each page copies it for a chat.