Skip to main content

Docs MCP server

MCP server reference for integrating LiveKit documentation into coding agents and IDE assistants.

Overview

The LiveKit Docs MCP server gives coding agents direct access to LiveKit documentation, code search, changelogs, and examples through the Model Context Protocol. Install it in your IDE or coding agent to get accurate, up-to-date LiveKit answers without leaving your editor.

For a broader guide on setting up coding agents with LiveKit expertise, including the CLI and agent skills, see Coding agent support.

Server URL

https://docs.livekit.io/mcp

The server uses the Streamable HTTP transport. If your client asks for a transport type, select http or "Streamable HTTP".

Installation

Click this button to install the MCP server in Cursor:

Install MCP Server in Cursor

Or add it manually to your MCP configuration:

{
"livekit-docs": {
"url": "https://docs.livekit.io/mcp"
}
}

Run the following command in your terminal:

claude mcp add --transport http livekit-docs https://docs.livekit.io/mcp

Add the MCP server to your workspace by creating or editing .vscode/mcp.json:

{
"servers": {
"livekit-docs": {
"type": "http",
"url": "https://docs.livekit.io/mcp"
}
}
}

Or install it using the VS Code CLI:

code --add-mcp '{"name":"livekit-docs","type":"http","url":"https://docs.livekit.io/mcp"}'

Run the following command in your terminal:

codex mcp add --url https://docs.livekit.io/mcp livekit-docs

Other clients

The following clients also support the LiveKit Docs MCP server:

Gemini CLI:

gemini mcp add --transport http livekit-docs https://docs.livekit.io/mcp

Google Antigravity - Add to ~/.gemini/antigravity/mcp_config.json:

{
"mcpServers": {
"livekit-docs": {
"serverUrl": "https://docs.livekit.io/mcp"
}
}
}

Copilot CLI - Create or edit ~/.copilot/mcp-config.json:

{
"mcpServers": {
"livekit-docs": {
"type": "http",
"url": "https://docs.livekit.io/mcp",
"tools": ["*"]
}
}
}

For any other MCP-compatible client, add the server URL https://docs.livekit.io/mcp with HTTP transport.

Available tools

The MCP server exposes the following tools:

ToolDescription
get_docs_overviewGet a complete overview of the documentation site with a full table of contents and page descriptions. A good starting point for browsing.
get_pagesRender one or more documentation pages as markdown by relative path. Also supports fetching code from public LiveKit GitHub repositories by URL.
docs_searchSearch the documentation by keyword. Returns page titles, hierarchical placement, and content snippets. Supports parallel queries.
get_changelogGet recent releases and changelog entries for any LiveKit SDK or package. Accepts repository IDs or package identifiers.
get_python_agent_exampleBrowse and retrieve full source code for Python agent examples. Returns an index of all examples when called without arguments.
submit_docs_feedbackSubmit constructive feedback on the LiveKit documentation site or a specific page.
code_searchSearch code across public LiveKit GitHub repositories. Use code identifiers like class names and function names, not natural language.

The same capabilities are available through the LiveKit CLI via the lk docs subcommand.

Resources

The server also exposes the following MCP resources:

ResourceURIDescription
LiveKit SDKslivekit://sdksList of all LiveKit SDK repositories with package names for cross-referencing dependencies.
Docs overviewlivekit://docs/overviewComplete documentation overview including table of contents and page descriptions.
Python examples indexlivekit://python-agent-examples/indexIndex of all Python agent examples with metadata.