> ## Documentation Index
> Fetch the complete documentation index at: https://docs.frontic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Frontic Docs

The **Frontic Docs** MCP server is a read-only endpoint that exposes the Frontic documentation to any MCP-compatible AI agent. Connect it alongside [Frontic Tools](https://docs.frontic.com/reference/mcp/frontic-tools.md) and your editor's agent can answer "how does X work?" questions by querying the docs directly - no leaving the editor, no tab-switching to read.

The docs MCP needs no authentication. It's a public, read-only resource - same one this site is built from.

## What it's good for

> [card] Answering how-to questions inline
>
> Your agent looks up the right documentation page when you ask
> something like "how do I configure a domain?" - pulling the
> answer into the conversation rather than guessing.

> [card] Grounding generated code
>
> When the agent writes against the Frontic SDK or API, it can
> cross-reference the docs to make sure it's using the right
> method shape, the right parameters, the right defaults.

> [card] Onboarding teammates
>
> A new dev's editor agent can answer Frontic-specific questions
> immediately, instead of asking them to dig through the docs site
> while learning the codebase.

> [card] Cross-checking against changes
>
> The docs MCP always serves the current docs site, so an agent's
> answer about a feature is as fresh as the latest documentation
> publish.

## Setup

The fastest path is the CLI - pick your package manager:

```bash frontic theme={"theme":"css-variables"}
frontic mcp init --client cursor
```

```bash pnpm theme={"theme":"css-variables"}
pnpm dlx @frontic/cli@latest mcp init --client cursor
```

```bash npm theme={"theme":"css-variables"}
npx @frontic/cli@latest mcp init --client cursor
```

```bash yarn theme={"theme":"css-variables"}
yarn dlx @frontic/cli@latest mcp init --client cursor
```

```bash bun theme={"theme":"css-variables"}
bunx @frontic/cli@latest mcp init --client cursor
```

Swap `cursor` for `claude`, `windsurf`, `vscode`, or `codex`. The CLI prompts you to pick what to install - choose **Docs only** (or **Tools & Docs** if you also want [Frontic Tools](https://docs.frontic.com/reference/mcp/frontic-tools.md)). See the [Frontic CLI reference](https://docs.frontic.com/reference/frontic-cli.md#frontic-mcp-init) for full options.

If you'd rather edit the config yourself, drop this entry into your client's MCP config file:

```json theme={"theme":"css-variables"}
{
  "mcpServers": {
    "frontic-docs": {
      "type": "http",
      "url": "https://docs.frontic.com/mcp"
    }
  }
}
```

> [!NOTE]
>
> No authentication is required - the Frontic Docs MCP is public and read-only.

### Client-specific configuration

> [accordion] Claude Code
>
> Add to `.mcp.json` at your project root - Claude Code reads project MCP config from this file:
>
> ```json theme={"theme":"css-variables"}
> {
>   "mcpServers": {
>     "frontic-docs": {
>       "type": "http",
>       "url": "https://docs.frontic.com/mcp"
>     }
>   }
> }
> ```

> [accordion] Claude Desktop
>
> Edit the Claude Desktop config file:
>
> * **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
> * **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
>
> ```json theme={"theme":"css-variables"}
> {
>   "mcpServers": {
>     "frontic-docs": {
>       "type": "http",
>       "url": "https://docs.frontic.com/mcp"
>     }
>   }
> }
> ```

> [accordion] Cursor
>
> Add to `.cursor/mcp.json` in your project root, or Cursor's global settings:
>
> ```json theme={"theme":"css-variables"}
> {
>   "mcpServers": {
>     "frontic-docs": {
>       "type": "http",
>       "url": "https://docs.frontic.com/mcp"
>     }
>   }
> }
> ```

## Example prompts

Once connected, ask questions you'd otherwise look up by hand:

Ask Frontic a concept question without leaving the editor

How does Request Context get resolved from a domain in Frontic?

Look up an SDK response shape from the docs

What does the response shape of a Page look like in the Client SDK?

Get a step-by-step answer for how to set up a feature

What are the steps to add a new locale to a Frontic project?

Have the docs MCP pull a reference catalogue for you

List the Value Composer operations available in the Text category.

The agent calls the docs MCP, retrieves the relevant section, and answers from it - usually citing the page so you can follow up if you need more depth.

## Pairing with Frontic Tools

The two MCP servers compose naturally: Frontic Tools acts on your project, Frontic Docs explains the platform. With both connected, an agent can read the docs to learn what it should be doing, then use the project tools to do it. That's the recommended setup for any IDE-side Frontic workflow - install both via `frontic mcp init` and pick **Tools & Docs** at the prompt.

## Related

> [card] [Frontic Tools](https://docs.frontic.com/reference/mcp/frontic-tools.md)
>
> The MCP server that acts on your Frontic project - full tool catalogue.

> [card] [Frontic CLI](https://docs.frontic.com/reference/frontic-cli.md#frontic-mcp-init)
>
> The `frontic mcp init` command that wires both MCP servers into your client.

> [card] [MCP Tools](https://docs.frontic.com/ide/mcp-tools.md)
>
> Editor-facing walkthrough for setting up Frontic MCP in Claude Code, Cursor, and friends.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.