Build with AI
Use AI coding assistants to build with Agora faster. With access to Agora's full documentation, your AI assistant can generate working code examples, suggest API implementations, and answer platform-specific questions in real-time.
Agora MCP server
Agora provides a free Model Context Protocol (MCP) server with tools for AI coding assistants to browse and search the docs site.
The Agora MCP server is available at:
Installation
Refer to the installation instructions for your coding assistant.
Cursor
Click the button below to install the MCP server in Cursor
or add it manually with the following JSON:
Claude
Claude Code
Run the following command in your terminal to install the MCP server in Claude Code:
Claude Desktop
In Settings, select Connectors and then choose Add custom connector. Enter the following values and click Add:
- Name:
agora-docs - Remote MCP server URL:
https://mcp.agora.io
Codex
Run the following command in your terminal to install the server in OpenAI Codex:
Gemini CLI
Run the following command in your terminal to install the server in Gemini CLI:
Manual installation
Add the server URL https://mcp.agora.io to your MCP client of choice. If prompted, set the transport to http or "Streamable HTTP".
Getting started
Once installed, your coding assistant has access to Agora's documentation through the MCP server. The assistant will intelligently use this resource when relevant to your questions. For more targeted results, mention Agora along with your target product and platform, such as 'iOS', 'Web', 'Conversational AI', 'Video Calling' in your prompts.
System Prompt
This MCP works with all LLMs that support MCP, but performs best when the assistant understands facet-based exploration. Add the following prompt to your LLMs custom instructions:
System prompt for LLMs
What This Enables
- Intelligent facet exploration before deep searches
- Platform-aware result refinement suggestions
- Cross-search session continuity for better context
Without the prompt, searches still work but won't leverage faceted browsing patterns.
AGENTS.md
To get the most out of the MCP server, Agora recommends that you include an AGENTS.md or similar file in your repository, with instructions specific to the Agora Docs MCP Server. This file ensures that your agent always consults Agora docs to produce reliable, working code.
Add the following instructions to your own AGENTS.md file:
Markdown docs
Each page on the Agora docs site is available in Markdown format, optimized for pasting into AI assistants when you can't use MCP.
To access the Markdown version, modify the HTML page URL as follows:
-
Change
docs.agora.iotodocs-md.agora.io -
Replace any platform query parameter such as
?platform=webwith underscore suffixes like_web.md -
Add
.mdextension to the end of the path. For example:- HTML:
https://docs.agora.io/en/video-calling/get-started/get-started-sdk?platform=web - Markdown:
https://docs-md.agora.io/en/video-calling/get-started/get-started-sdk_web.md
- HTML:
You can also use the Markdown dropdown on the HTML page to copy, download or view the .md file. Choose Open in ChatGPT or Open in Claude to directly start a chat with the page context.
LLMs.txt
A Markdown-based index of the docs site is available at https://docs.agora.io/llms.txt. This file includes links to all product overview pages along with brief page descriptions. It also provides instruction on how to access LLM-friendly markdown versions of all documentation pages.
For more about how to use LLMs.txt files, see llmstxt.org.