> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.livingbrain.com/mcp/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.livingbrain.com/_mcp/server. # MCP > **Note:** This page contains both a page directory (above) and the landing page content (below). The page directory is generated for agent use and does not appear on the landing page. > For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.livingbrain.com/mcp/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.livingbrain.com/_mcp/server. # MCP server Generated by Fern Living Brain hosts a [Model Context Protocol](https://modelcontextprotocol.io) server, so AI agents can capture knowledge, search pages, and manage brains without any code on your side. ``` https://livingbrain.fernmcp.dev/livingbrain ``` It uses the Streamable HTTP transport and calls the production API at `https://api.livingbrain.com`. ## Connect a client #### Pick your client Replace `YOUR_API_KEY` and `YOUR_SUBJECT_ID` with your own values (see [Authenticate](#authenticate)). Any other MCP client that supports remote HTTP servers with custom headers works the same way. ## Authenticate The server forwards the same two headers as the SDKs and CLI. Configure your client to send both on every request: | Header | Value | | -------------- | ---------------------------------------------- | | `x-api-key` | Your Living Brain API key | | `x-subject-id` | The end user whose brains the agent works with | See [Authentication](/docs/authentication) for how the key and subject relate. Treat the config file like any other place you store the key. ## Tools Each API operation is one tool, named `_` after the SDK methods and grouped into toolsets by namespace: | Toolset | Examples | | --------- | ---------------------------------------------------------------------------------------- | | Brains | `brains_list`, `brains_create`, `brains_run_brief` | | Captures | `captures_capture`, `captures_capture_chat_turn`, `captures_list_sources` | | Workspace | `workspace_search_pages`, `workspace_get_page`, `workspace_archive`, `workspace_restore` | | Slack | `slack_status`, `slack_start_oauth`, `slack_bind`, `slack_disconnect_installation` | | Telegram | `telegram_status`, `telegram_connect`, `telegram_disconnect` | | Webhooks | `webhooks_list`, `webhooks_create`, `webhooks_update`, `webhooks_remove` | Tool arguments follow the [API Reference](/api-reference): path, query, and body parameters become tool inputs, and calls return the same JSON responses.