Developers
MCP
Connect your AI agent to Link AI with our public MCP server. Today it gives your agent search and read access to every docs page.
Link AI has a public Model Context Protocol (MCP) server. Connect it to your AI agent, such as Claude Code, Cursor, VS Code, or Codex. Today the agent can search and read these docs while it builds with Link AI. You don't need to copy pages into the chat by hand.
Paste this to your agent
The quickest way to set it up is to let your agent do it. Copy this prompt and paste it into your AI agent:
Add the Link AI MCP server to your MCP config.
- Name: linkai-docs
- URL: https://docs.getlinkai.com/mcp
- Transport: Streamable HTTP (remote, no auth)
Use the setup method your client supports: a CLI
command or its MCP config file. When you're done,
tell me what you changed and whether I need to
restart or reload for the server to load.
After the server loads, ask your agent to use it. For example: "Use linkai-docs to find out how to embed my agent on a Next.js site."
Set it up by hand
If you'd rather add it yourself, use the setup for your client.
Claude Code
Run this in your terminal:
claude mcp add --transport http linkai-docs https://docs.getlinkai.com/mcp
Add --scope user to make it available in every project.
Cursor
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in your project:
{
"mcpServers": {
"linkai-docs": {
"url": "https://docs.getlinkai.com/mcp"
}
}
}
VS Code
Add this to .vscode/mcp.json in your project:
{
"servers": {
"linkai-docs": {
"type": "http",
"url": "https://docs.getlinkai.com/mcp"
}
}
}
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.linkai-docs]
url = "https://docs.getlinkai.com/mcp"
Windsurf
Add this to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"linkai-docs": {
"serverUrl": "https://docs.getlinkai.com/mcp"
}
}
}
Claude and other chat apps
In Claude, go to Settings → Connectors, click Add custom connector, and enter https://docs.getlinkai.com/mcp. Other apps that support remote MCP servers use the same URL.
Check that it works
Paste this prompt into your agent:
Use the linkai-docs MCP server to tell me how to add
allowed domains for the Link AI chat widget. List the
steps and name the docs page you used.
Your agent calls search_docs or get_page and answers with steps from the Embed page.
What your agent can do
Each page is also available as an MCP resource, so clients that support resources can attach a page to the chat directly.
Without MCP
If your agent can't use MCP, point it at the plain-text versions of the docs: