> ## Documentation Index
> Fetch the complete documentation index at: https://puzzlet-9ba7bb98.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Docs MCP

> Wire the AgentMark docs MCP server into your AI editor so it can query AgentMark documentation and author .prompt.mdx files, datasets, and config from current guidance.

The AgentMark **docs MCP** (`agentmark-docs`) is a remote [Model Context Protocol](https://modelcontextprotocol.io) server that lets your editor's AI query AgentMark documentation, so it can create and update `.prompt.mdx` files, datasets, and config directly from your chat interface using current guidance instead of memory. It's one of several ways to [connect a coding agent to AgentMark](/coding-agents/overview); the [agent skill](/coding-agents/agent-skill) complements it with workflows and conventions, and the [gateway MCP](/coding-agents/gateway-mcp) drives the live API.

<video src="https://mintcdn.com/puzzlet-9ba7bb98/xNzpVKgBdOYuvrcl/images/development/integrations/ai-editor-rules.mp4?fit=max&auto=format&n=xNzpVKgBdOYuvrcl&q=85&s=aa403cc35186f976fb5772b909253faf" aria-label="Configuring the AgentMark docs MCP server inside an AI code editor and authoring a .prompt.mdx file" autoPlay muted loop playsInline className="w-full rounded-xl border border-gray-800 shadow-2xl" data-path="images/development/integrations/ai-editor-rules.mp4" />

The animation shows an AI code editor with the AgentMark docs MCP configured: the user asks the assistant to create a prompt, and the assistant authors a valid `.prompt.mdx` file using patterns it pulled from the docs MCP.

## Manual setup

`npm create agentmark@latest` registers this server for you. To add it by hand, drop the following into your AI code editor settings:

```json theme={null}
{
  "mcpServers": {
    "agentmark-docs": {
      "url": "https://docs.agentmark.co/mcp"
    }
  }
}
```

## Related documentation

<CardGroup cols={2}>
  <Card title="Coding agents" icon="robot" href="/coding-agents/overview">
    How the skill, docs MCP, and gateway MCP fit together
  </Card>

  <Card title="Agent skill" icon="book" href="/coding-agents/agent-skill">
    The workflows and conventions your agent follows
  </Card>

  <Card title="Gateway MCP" icon="wrench" href="/coding-agents/gateway-mcp">
    Drive the full AgentMark API from your editor
  </Card>

  <Card title="Quickstart" icon="rocket" href="/getting-started/quickstart">
    Bootstrap a project with npm create agentmark
  </Card>
</CardGroup>

<div className="mt-8 rounded-lg bg-blue-50 p-6 dark:bg-blue-900/30">
  <h3 className="font-semibold mb-3">Have questions?</h3>
  <p className="mb-4">Reach out any time:</p>

  <ul>
    <li>
      Email the team at <a href="mailto:hello@agentmark.co" className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-200">[hello@agentmark.co](mailto:hello@agentmark.co)</a> for support
    </li>

    <li>
      Schedule an <a href="https://cal.com/ryan-randall/enterprise" className="text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-200">Enterprise Demo</a> to learn about AgentMark's business solutions
    </li>
  </ul>
</div>
