Provides tools for searching and retrieving Agora documentation, including RTC and RTM services, enabling AI agents to access information about implementing voice/video calls and real-time messaging in various platforms including TypeScript, Android, and C++.
Allows access to documentation about Agora's Real-Time Messaging (RTM) services, enabling AI agents to provide implementation guidance for RTM in different programming languages and platforms.
Provides access to documentation about implementing Agora services in TypeScript, enabling AI agents to guide users through TypeScript-specific integration of RTC and other Agora services.
Supports implementation of demos using Vite as suggested in example prompts, providing access to documentation about integrating Vite with Agora services.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Doc Serversearch for RTC integration documentation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server (Doc)
基于文档站的 MCP 服务器,支持对官网文档的关键字搜索和内容获取。
Getting Started
Tools
search-docslist-docsget-doc-content
search-docs
Example Request
{
"query": "rtc"
}Example Response
{
"data": [
{
"text": "流程总览",
"category": "default",
"uri": "docs://default/analytics/general/rtc/call-search/overview"
},
{
"text": "查看通话详情 本文介绍如何查看通话详情页面的三个子页面。",
"category": "default",
"uri": "docs://default/analytics/general/rtc/call-search/call-detail"
},
{
"text": "案例:常见问题排查 本文结合案例介绍如何排查常见的通话质量问题。 信息异常的指标数据均用红色表示。",
"category": "default",
"uri": "docs://default/analytics/general/rtc/call-search/troubleshooting"
}
]
}list-docs
Example Response
{
"categories": ["shared", "default", "api-reference", "faq", "basics"],
"total": 8033,
"docs": [
{
"path": "doc/rtm2/android/user-guide/setup/account-and-billing",
"name": "account-and-billing",
"category": "default",
"depth": 6,
"uri": "docs://default/rtm2/android/user-guide/setup/account-and-billing",
"localPath": "default/rtm2/android/user-guide/setup/account-and-billing"
},
{
"path": "doc/rtm2/cpp/user-guide/setup/account-and-billing",
"name": "account-and-billing",
"category": "default",
"depth": 6,
"uri": "docs://default/rtm2/cpp/user-guide/setup/account-and-billing",
"localPath": "default/rtm2/cpp/user-guide/setup/account-and-billing"
}
]
}get-doc-content
Example Request
{
"uri": "docs://default/analytics/general/rtc/call-search/call-detail"
}Example Response
---
title: 查看通话详情
displayed_sidebar: analytics_general_usecase_sidebar
ag_product: analytics
ag_product_label: 水晶球
ag_platform: general
ag_platform_label: 控制台
ag_usecase: usecase
last_update_date: 2023/09/19 10:48:49
ag_file_path: default/analytics/general/rtc/call-search/call-detail.mdx
---
本文介绍如何查看通话详情页面的三个子页面。
## 通话详情主页
...Related MCP server: @sanderkooger/mcp-server-ragdocs
接入
接入点
LOCAL http://localhost:3000/mcp
Public https://doc-mcp.shengwang.cn/mcp
接入方式
VS Code & Copilot
根据官方文档接入 MCP Server。
Example .vscode/mcp.json
{
"servers": {
"my-mcp-server-7b6dc6ec": {
"url": "https://doc-mcp.shengwang.cn/mcp"
}
}
}可以在 Agent Mode 下使用井号键(#)来调用 MCP Server 的工具。
比如:
提问:如何在 TS 中集成 RTC。
#search-docs #get-doc-content 通过search-docs搜索有关 rtc 的文档,通过get-doc-content工具获取文档内容,并告诉我如何在TS中集成RTC。实现一个基于 RTC 的 1v1 的纯语音互动 demo。
#search-docs #get-doc-content
> 你可以通过search-docs搜索有关javascript的 rtc sdk 的文档,通过get-doc-content工具获取文档内容。
帮我实现一个1v1的纯语音互动,要求是一个页面(用tailwindcss@3),有个表单(appID, token, channel name, userID),有个加入 和 离开 按钮。
请你使用vite来初始化并创建/运行该项目。
目录就在当前项目下,叫 agora-voice-demo。
要求有人加入的时候立刻订阅他,以实现纯语音通话Cursor
Example .cursor/mcp.json
{
"mcpServers": {
"server-name": {
"url": "https://doc-mcp.shengwang.cn/mcp"
}
}
}可以在 Agent Mode 下,由 agent 自己判断并调用 MCP Server 的工具。
比如:
通过search-docs搜索有关 rtc 的文档,通过get-doc-content工具获取文档内容,并告诉我如何在TS中集成RTC。Development
推荐使用 Bun 进行开发。
Install
bun installInitiate docs
bun run doc:downloadStart server
bun run dev:watchStart Inspector
bun inspectThen input https://doc-mcp.shengwang.cn/mcp in the inspector.
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.