Connect your agent
The complete Automad documentation is accessible through a public MCP server. Connect your AI agent to explore guides, template syntax, configuration options and more. Access is read-only, with no account or access token required.
Why connect
AI agents are often asked about Automad while they are helping you build a theme, write a template or configure a site. Without access to the docs, they have to guess, and their knowledge may describe an older version. Connecting them to the MCP server of automad.org solves this in a few ways:
- Up to date — your agent always reads the currently published documentation, which matches the latest Automad release.
- Structured — pages are delivered as structured content, including headings, code examples, tables and tags, together with the structure of the site. There is no need to scrape and clean up HTML.
- No setup — all you need is the URL of the endpoint. There is no account to create and no token to manage.
Connecting
The MCP server uses the Streamable HTTP transport and is available at the following URL:
https://automad.org/mcp
How the URL is added depends on your client. The following sections show the most common ways.
Claude Code
Using Claude Code, the server can be added with a single command. The name automad-docs is only a local label and can be changed freely.
claude mcp add --transport http automad-docs https://automad.org/mcp
Project configuration
Alternatively, the server can be added to the .mcp.json file in the root directory of a project. That way, the connection is shared with everyone working on the project, for example a theme or an extension.
{
"mcpServers": {
"automad-docs": {
"type": "http",
"url": "https://automad.org/mcp"
}
}
}
Other clients
Any other MCP client that supports remote servers using the Streamable HTTP transport can be connected in the same way. Simply add the URL above as a new server and leave the authentication settings empty.
Available tools
A connected agent can use the following tools. All of them are read-only and only return published pages.
| Tool | Description |
|---|---|
page_read | Reads a single page by its URL, either as structured data including all blocks or as plain text. |
page_search | Searches pages by one or more keywords and returns up to 50 results, optionally limited to a section of the site. |
page_search_by_tag | Finds pages with a given tag and returns up to 200 results. |
page_tree | Returns the hierarchical structure of the site or a part of it. |
tag_list | Lists all tags that are used across pages. |
What you can do
Once connected, you can simply ask your agent about Automad. It decides on its own when to look something up, finds the relevant pages using page_search or page_tree and reads them with page_read. Here are a few examples of questions and tasks:
- How do I write a custom pipe function for Automad?
- Write a template snippet that lists all child pages of the current page.
- Which configuration options control caching in Automad?
- Explain the difference between the public and the private MCP in Automad.
- Summarize what changed in the latest Automad release.
This works particularly well while developing themes and extensions, since your agent can check the docs right next to the code it is writing.
Your own site
The MCP server of automad.org is not a special service. Every Automad site comes with the same built-in MCP server, so you can connect your agents to your own content in exactly the same way. Learn more about the read-only public MCP and about the private MCP, which lets authenticated agents draft and edit content using an access token.