Setup Mcp 标志

Setup Mcp

组织
deepgram
setup-mcp

Set up a Deepgram MCP server for your AI coding tool. Offers three paths: the Deepgram CLI MCP proxy (dg mcp), the standalone deepgram-mcp package, and the credential-free hosted documentation MCP. Use whenever someone wants to install Deepgram's agentic tools, set up the MCP server, or connect their editor to Deepgram.

概览

发布者deepgram
代码仓库skills
技能名称setup-mcp
星标数
28
复刻数
7
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 deepgram 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Setup Mcp AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/deepgram/skills/tree/main/skills/setup-mcp
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/deepgram/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/setup-mcp .claude/skills/setup-mcp
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Setup Mcp,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Setup Mcp。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Setup Mcp 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Install a Deepgram MCP Server

You are setting up Deepgram MCP integration for the user. Follow these steps.

Step 1: Pick a path

Three paths exist. Pick by whether the user has, or wants, a Deepgram API key.

PathServerCredentialsInstall footprint
ADeepgram CLI MCP proxy (dg mcp)Deepgram API key requiredFull CLI (deepctl)
BStandalone deepgram-mcpDeepgram API key requiredOne Python package
CHosted docs MCP (/_mcp/server)NoneNothing to install

Decision rule:

  • The user already has the CLI, or wants dg listen / dg speak / dg init too → Path A.
  • The user has an API key but wants only the MCP server, no CLI → Path B.
  • The user has no API key, or wants something working in one command → Path C.

A key-authenticated hosted variant of Paths A/B also exists at api.dx.deepgram.com/kapa/mcp, with nothing to install — see "The kapa endpoints are not credential-free" below.

Paths A and B are the same server: dg mcp wraps the deepgram-mcp package. Both proxy Deepgram's developer API and fetch their tool list from Deepgram at runtime, so new tools appear on reconnect without a package upgrade. As of this writing that list is a single documentation and knowledge-source search tool (search_deepgram_knowledge_sources) — check tools/list in the user's client for what is live rather than promising a tool set.

Paths A/B and Path C both answer Deepgram questions from documentation, so installing more than one is usually redundant. Path C is the only one that works with no credentials.

Step 2: Detect the environment

Determine which AI coding tool the user is running. Check for:

  • Claude Code — look for a .claude/ directory in the project or user home
  • Cursor — look for a .cursor/ directory in the project root
  • Windsurf — look for a .windsurf/ directory in the project root

If multiple are detected, or none are detected, ask the user which tool they want to configure.

Step 3: Ask about scope

Ask the user whether they want the MCP server configured:

  • For this project only (recommended for team repos)
  • Globally (available in all projects)

Path A — Deepgram CLI MCP proxy (dg mcp)

A1. Install the CLI

Check first: dg --version (or deepctl --version, or where dg on Windows). The package is deepctl and installs three interchangeable binaries — dg, deepctl, and deepgram.

sh
# macOS / Linux — Homebrew (also brings in ffmpeg and portaudio)
brew install deepgram/tap/deepgram

# macOS / Linux — install script
curl -fsSL https://deepgram.com/install.sh | sh

# pip / uv / pipx
pip install deepctl
uv tool install deepctl
pipx install deepctl
powershell
# Windows — PowerShell
iwr https://deepgram.com/install.ps1 -useb | iex

To upgrade, use the installer that put it there: pip install -U deepctl, uv tool upgrade deepctl, pipx upgrade deepctl, brew upgrade deepgram, or re-run the install script. dg update --check-only reports whether a newer release exists; on a pip install, bare dg update reports installation_method: null instead of upgrading.

The fully qualified Homebrew name matters: Homebrew 6 loads a third-party formula only after it is trusted, and brew install deepgram/tap/deepgram trusts that one formula, where brew tap deepgram/tap && brew install deepgram fails until a separate brew trust step. The tap formula pins deepctl-0.3.3; pip, uv, and pipx install 0.4.0.

A2. Authenticate — required

Upgrading to 0.4.0 from an earlier browser login (dg login without --api-key)? Run dg login once more; 0.4.0 stores credentials with an expiry and does not carry the old session over.

dg mcp will not start without credentials. Do this before configuring any editor:

sh
dg login                  # interactive; or dg login --api-key <KEY>
dg whoami                 # confirm: "authenticated": true

DEEPGRAM_API_KEY in the environment works instead of dg login. Get a key at https://console.deepgram.com.

A3. Configure the editor

Claude Code
sh
# Project scope
claude mcp add deepgram --scope project dg mcp

# User/global scope
claude mcp add deepgram dg mcp
Cursor

Write or merge into the project's .cursor/mcp.json:

json
{
  "mcpServers": {
    "deepgram": {
      "type": "stdio",
      "command": "dg",
      "args": ["mcp"]
    }
  }
}
Windsurf

Write or merge into the project's .windsurf/mcp.json, using the same object as Cursor above.

Without a permanent install

uvx and pipx run fetch deepctl on demand. Credentials still come from dg login or DEEPGRAM_API_KEY:

json
{
  "mcpServers": {
    "deepgram": {
      "command": "uvx",
      "args": ["deepctl", "mcp"]
    }
  }
}
Other tools
  • Transport: stdio
  • Command: dg
  • Args: ["mcp"]

dg mcp --transport sse --port 8000 serves SSE instead, for clients that need HTTP.


Path B — Standalone deepgram-mcp

The MCP server without the rest of the CLI. One package, one binary.

sh
pip install deepgram-mcp
export DEEPGRAM_API_KEY=your_key_here

deepgram-mcp is a PyPI package. The npm package of the same name is unrelated third-party code that also asks for DEEPGRAM_API_KEY, so do not run npx deepgram-mcp.

Claude Code
sh
claude mcp add deepgram -- deepgram-mcp
Cursor / Windsurf

Write or merge into .cursor/mcp.json or the Windsurf MCP config:

json
{
  "mcpServers": {
    "deepgram": {
      "command": "deepgram-mcp",
      "env": {
        "DEEPGRAM_API_KEY": "your_key_here"
      }
    }
  }
}

--api-key overrides the environment variable, and --transport sse --port 8000 serves SSE. Source: https://github.com/deepgram/mcp.


Path C — Hosted documentation MCP (no credentials)

Use https://developers.deepgram.com/_mcp/server. It answers unauthenticated, needs no API key, and exposes one tool, searchDocs, which returns documentation passages with source URLs.

It is not a plain liveness URL. HEAD returns 404, a GET with the MCP Accept: application/json, text/event-stream header returns 405, and a bare GET returns a JSON descriptor of the server rather than an MCP response. Only a POST initialize exercises the server; it answers 200 with serverInfo.name fern-docs-mcp-server:

sh
curl -s -X POST https://developers.deepgram.com/_mcp/server \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"probe","version":"0"}}}'
Claude Code
sh
# Project scope
claude mcp add deepgram-docs --scope project --transport http https://developers.deepgram.com/_mcp/server

# User/global scope
claude mcp add deepgram-docs --transport http https://developers.deepgram.com/_mcp/server
Cursor

Write or merge into the project's .cursor/mcp.json:

json
{
  "mcpServers": {
    "deepgram-docs": {
      "type": "http",
      "url": "https://developers.deepgram.com/_mcp/server"
    }
  }
}
Windsurf

Write or merge into the project's .windsurf/mcp.json, using the same object as Cursor above.

Other tools
  • Type: HTTP
  • URL: https://developers.deepgram.com/_mcp/server

The kapa endpoints are not credential-free

https://api.dx.deepgram.com/kapa/mcp and https://deepgram.mcp.kapa.ai both exist, and both reject an unauthenticated request with HTTP 401 plus a WWW-Authenticate: Bearer resource_metadata=... header, so a client that implements MCP's OAuth flow can connect to either. They differ in whether a Deepgram API key works:

  • api.dx.deepgram.com/kapa/mcp accepts a Deepgram API key. Send it as either Authorization: Token <KEY> or Authorization: Bearer <KEY> and initialize returns 200 from deepgram-mcp-relay; an invalid key gets 401. tools/list returns the same single search_deepgram_knowledge_sources tool as Paths A and B, so this is the hosted HTTP form of the same server — useful when the user has a key but cannot install anything. Pass the key as a header, or the client falls back to OAuth:

    sh
    claude mcp add deepgram-relay --transport http https://api.dx.deepgram.com/kapa/mcp \
      --header "Authorization: Token $DEEPGRAM_API_KEY"
  • deepgram.mcp.kapa.ai does not. A Deepgram API key gets 401 with either scheme. OAuth is the only way in.

Neither is the zero-setup option — use /_mcp/server for that.


Step 4: Confirm

  • Claude Code — run /reload-plugins to activate immediately, no restart needed.
  • Cursor / Windsurf / Other — the user may need to restart or reload their tool.

Then tell the user the server is configured, and check what it actually exposes before describing it — have the client list its tools rather than naming tools from memory.

For Path C, add:

Your tool can now search Deepgram's documentation directly — try asking about API parameters, voice agents, or model capabilities.

Link them to Deepgram Agentic Tools for more details. Its two kapa URLs, https://api.dx.deepgram.com/kapa/mcp and https://deepgram.mcp.kapa.ai, require credentials: an unauthenticated initialize returns 401. The Docs MCP server at https://developers.deepgram.com/_mcp/server is the credential-free path.

Troubleshooting

Error: DEEPGRAM_API_KEY is not set in the configuration file (...config.yaml) or environment variable. followed by Run deepctl login to configure the CLI with your Deepgram account. → Path A with no credentials. dg mcp exits 1 before serving anything. Run dg login, or set DEEPGRAM_API_KEY. Confirm with dg whoami.

Error: No API key. Set DEEPGRAM_API_KEY or use --api-key. → Path B with no credentials. Export DEEPGRAM_API_KEY, put it in the server's env block, or pass --api-key.

! Needs authentication in claude mcp list, or HTTP 401 {"status_code":401,"detail":"Authentication required"} / {"error":"invalid_token"} → You are pointed at a kapa endpoint with no credentials. Switch to https://developers.deepgram.com/_mcp/server, which needs none. To stay on api.dx.deepgram.com/kapa/mcp, add --header "Authorization: Token $DEEPGRAM_API_KEY" — that endpoint accepts a Deepgram API key. On deepgram.mcp.kapa.ai an API key does not work; let the client run its OAuth flow instead.

Server "deepgram-docs" is defined in multiple scopes with different endpoints → An earlier setup registered deepgram-docs at a kapa URL in user scope, and this one added a different URL in project scope. OAuth tokens are stored per endpoint, so authenticating one does not carry over. Keep one: claude mcp remove deepgram-docs -s user (or -s project). Check for a pre-existing entry with claude mcp get deepgram-docs before adding, and pick a distinct server name if the user wants to keep both.

ImportError mentioning streamablehttp_client on startup → An incompatible mcp package. deepgram-mcp imports streamablehttp_client from mcp.client.streamable_http, which mcp 2.0 removed. Install into a clean environment, or pin mcp>=1.0.0,<2.0.0. Installing deepctl pins this for you.

The server connects but exposes fewer tools than expected → Expected. Paths A and B fetch their tool list from Deepgram at runtime, so it reflects what the API serves right now, not what the package version implies. Reconnect to pick up new tools.

Anything else on Path A → Verify dg --version works and dg mcp runs in a terminal without errors, then dg update --check-only to see whether a newer release exists.

Sources

常见问题

Setup Mcp AI 技能有什么作用?

Set up a Deepgram MCP server for your AI coding tool. Offers three paths: the Deepgram CLI MCP proxy (dg mcp), the standalone deepgram-mcp package, and the credential-free hosted documentation MCP. Use whenever someone wants to install Deepgram's agentic tools, set up the MCP server, or connect their editor to Deepgram.

为什么在 TypingMind 中使用 Setup Mcp?

因为您只需安装一次,就能搭配任何模型使用。Setup Mcp 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Setup Mcp?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/deepgram/skills/tree/main/skills/setup-mcp。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Setup Mcp?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Setup Mcp 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Setup Mcp 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Setup Mcp AI 技能免费吗?

deepgram 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇