Skip to main content
Glama
@prosodyai/mcp-docs

@prosodyai/mcp-docs

Official
by ProsodyAI

@prosodyai/mcp-docs

MCP 服务器,旨在向 AI 编码代理提供 ProsodyAI 文档、SDK 参考、REST API 参考(OpenAPI)以及精选的实现方案。

构建此项目的目的是让外部编码代理(例如 AureliaStudio)能够一次性正确实现 ProsodyAI 集成,而无需抓取网站或猜测 API 结构。

在单个 TypeScript 代码库中附带了两种传输方式:

  • stdio — 适用于本地代理(Cursor、Claude Code、Cline 等)

  • HTTP (Streamable HTTP) — 适用于远程/托管代理

公开的工具

工具

用途

search_docs

一次调用即可搜索文档、SDK README、方案和 OpenAPI

list_docs

按部分(docs、sdks、recipes、api)浏览所有内容

read_doc

通过 ID 获取文档 / README / 方案的全文内容

list_recipes

列出端到端的实现指南

list_endpoints

从捆绑的 OpenAPI 规范中列出 REST 端点,可按标签过滤

get_endpoint

获取单个端点的完整 OpenAPI 操作对象

get_openapi

获取完整的捆绑 OpenAPI 3 规范

get_overview

单页介绍 — 开始集成时请先阅读此内容

对于偏好资源而非工具的客户端,每个条目也作为 MCP 资源在 prosodyai://<section>/<id> 下公开。

Related MCP server: openai-agents-sdk-mcp

附带的方案

  • recipes/sdk-typescript-quickstart — 将 ProsodyAI 添加到 Node / Next.js / 浏览器应用

  • recipes/livekit-realtime-agent — 具有韵律驱动自适应能力的实时语音代理

  • recipes/langchain-agent — 将 Prosody 用作 LangChain 工具

  • recipes/browser-streaming — 从浏览器流式传输麦克风音频

  • recipes/kpi-flow — 定义自定义 KPI 并闭环反馈

  • recipes/rest-api-integration — 无需 SDK 的直接 REST 集成

本地运行

npm install
npm run build         # syncs content/ from the monorepo, then compiles
npm run start:stdio   # for stdio MCP clients
npm run start:http    # http on localhost:3333/mcp

npm run build:content 会从父级 monorepo 重建 content/。它通过 PROSODYAI_REPO_ROOT 或从当前包目录向上查找来定位 monorepo(当作为 packages/mcp-docs 挂载在父级 monorepo 中时有效)。

从 AureliaStudio(或任何 MCP 客户端)使用

Stdio (本地)

添加到客户端的 mcp.json 中:

{
  "mcpServers": {
    "prosodyai-docs": {
      "command": "npx",
      "args": ["-y", "@prosodyai/mcp-docs"]
    }
  }
}

或者从检出目录运行:

{
  "mcpServers": {
    "prosodyai-docs": {
      "command": "node",
      "args": ["/abs/path/to/mcp-docs/dist/stdio.js"]
    }
  }
}

HTTP (远程)

部署后(见下文),将客户端指向公共 URL:

{
  "mcpServers": {
    "prosodyai-docs": {
      "url": "https://prosodyai-docs.vercel.app/mcp"
    }
  }
}

部署

HTTP 入口点是一个简单的 express 应用,监听 PORT(默认为 3333)的 /mcp 路径。它适用于任何 Node 主机:

  • Vercel / Cloud Run / Fly / Railway:部署为 Node 服务,使用 npm run build 作为构建步骤,使用 npm run start:http 作为启动命令。

  • Docker:参见 Dockerfile(单阶段 Node 20-slim 镜像)。

/healthz 为容器编排器返回 JSON 心跳。

更新内容

每当父级 monorepo 的文档、SDK README 或 OpenAPI 规范发生更改时:

cd packages/mcp-docs    # or wherever this is mounted
npm run build:content
git add content/ && git commit -m "Sync docs from monorepo"

下一次部署将提供新内容。(ProsodyAI/prosodyai 的 master 分支上的 CI 应自动运行此操作 — 如果存在,请参阅 .github/workflows/sync.yml。)

许可证

MIT

Available Tools

8 tools
get_endpointGet a REST endpointA

Get the full OpenAPI operation object (parameters, request body, responses, security) for a single REST endpoint.

Inputs: method (required), path (required).

get_openapiGet the full OpenAPI specA

Return the full bundled OpenAPI 3 spec for the ProsodyAI REST API. Use sparingly — prefer list_endpoints + get_endpoint for targeted lookups.

Inputs: no named parameters.

get_overviewPlatform overviewA

Return a single-page overview of the ProsodyAI platform: what it is, what to use, and how the SDKs/API/recipes relate. Read this first when starting an integration.

Inputs: no named parameters.

list_docsList all docsA

List every document in this server. Useful for browsing without a search query.

Inputs: section.

list_endpointsList REST endpointsA

List ProsodyAI REST API endpoints from the bundled OpenAPI spec. Optional filters by tag or path substring.

Inputs: tag, pathContains.

list_recipesList implementation recipesA

List curated end-to-end implementation recipes for common ProsodyAI integration tasks (e.g. add prosody to a LiveKit agent, stream from a browser, wire the LangChain tool, define KPIs).

Inputs: no named parameters.

read_docRead a docA

Fetch the full content of a doc, SDK README, recipe, or other entry by id (as returned by search_docs or list_docs).

Inputs: id (required).

search_docsSearch ProsodyAI docsA

Search ProsodyAI docs, SDK READMEs, recipes, and OpenAPI metadata. Returns a ranked list of matches with snippets and stable ids. Follow up with read_doc to fetch full content.

Inputs: query (required), section, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: getting specific endpoint details, full spec, overview, listing various resources, searching, and reading. No overlap or ambiguity.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (e.g., get_endpoint, list_docs, search_docs) with underscores, making them predictable and easy to use.

    Tool Count5/5

    8 tools are appropriate for a documentation server: they cover browsing (list), searching, and reading, with specialized tools for API details and overview. No redundancy or inadequacy.

    Completeness5/5

    The tool surface is complete for the domain: it allows listing all resources, searching, and retrieving full content, plus targeted access to API spec and overview. No dead ends for typical documentation workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to search, read, and traverse documentation bundles in Open Knowledge Format via MCP tools.
      771 npm
      74
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides RAG (Retrieval Augmented Generation) access to technical documentation through MCP, enabling LLMs to search and retrieve relevant documentation on-demand.
      5
      MIT