MCP Doc Server

MCP Doc Server

A document-based MCP server that supports keyword searching and content retrieval from official website documentation.

Category
Visit Server

README

MCP Server (Doc)

基于文档站的 MCP 服务器,支持对官网文档的关键字搜索和内容获取。

Getting Started

Tools

  • search-docs
  • list-docs
  • get-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

---

本文介绍如何查看通话详情页面的三个子页面。

## 通话详情主页

...

接入

接入点

  • 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 的工具。

比如:

  1. 提问:如何在 TS 中集成 RTC。
#search-docs #get-doc-content 通过search-docs搜索有关 rtc 的文档,通过get-doc-content工具获取文档内容,并告诉我如何在TS中集成RTC。
  1. 实现一个基于 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 进行开发。

参考 MCP Server TypeScript SDK

Install

bun install

Initiate docs

bun run doc:download

Start server

bun run dev:watch

Start Inspector

bun inspect

Then input https://doc-mcp.shengwang.cn/mcp in the inspector.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured