setup-mcp

作者: deepgram

你正在为用户设置 Deepgram MCP 集成。请按照以下步骤操作:

npx skills add https://github.com/deepgram/skills --skill setup-mcp

Install the Deepgram MCP Server

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

Step 1: Check for the Deepgram CLI

Run dg --version (or deepctl --version, or where dg on Windows) to check if the Deepgram CLI is installed.

  • If found: use the local CLI MCP (dg mcp) — this gives full access to Deepgram tools including transcription, text-to-speech, project management, and more.
  • If not found: use the hosted documentation MCP and offer to install the CLI.

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)

Step 4: Install


If the Deepgram CLI (dg) IS installed — use the local CLI MCP

Claude Code

# 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:

{
  "mcpServers": {
    "deepgram": {
      "command": "dg",
      "args": ["mcp"]
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "deepgram": {
      "command": "dg",
      "args": ["mcp"]
    }
  }
}

Other tools

Provide the MCP server command and let them configure manually:

  • Transport: stdio
  • Command: dg
  • Args: ["mcp"]

If the Deepgram CLI is NOT installed — use the hosted docs MCP

Tell the user:

The Deepgram CLI isn't installed. You can either:

  1. Install the CLI (pipx install deepctl) for full Deepgram tool access, then re-run /deepgram:setup-mcp
  2. Use the hosted MCP for documentation queries right now

If they choose the hosted MCP (or want it alongside the CLI):

Claude Code

# Project scope
claude mcp add deepgram-docs --scope project --transport http https://api.dx.deepgram.com/kapa/mcp

# User/global scope
claude mcp add deepgram-docs --transport http https://api.dx.deepgram.com/kapa/mcp

Cursor

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

{
  "mcpServers": {
    "deepgram-docs": {
      "type": "http",
      "url": "https://api.dx.deepgram.com/kapa/mcp"
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "deepgram-docs": {
      "type": "http",
      "url": "https://api.dx.deepgram.com/kapa/mcp"
    }
  }
}

Other tools

Provide the MCP server details and let them configure manually:

  • Type: HTTP
  • URL: https://api.dx.deepgram.com/kapa/mcp

Step 5: Confirm

After installation:

  • 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 Deepgram MCP server is now configured.

If using the CLI MCP (dg mcp), add:

Available tools include transcription, text-to-speech, project management, and usage queries. Try asking to transcribe an audio file or convert text to speech.

If using the hosted docs MCP, add:

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

Link them to Deepgram Agentic Tools for more details.

Troubleshooting

If the MCP server fails to connect:

  1. For the CLI MCP: verify dg --version works and dg mcp runs without errors. Update with pipx upgrade deepctl or pip install --upgrade deepctl.
  2. For the hosted MCP: verify the URL https://api.dx.deepgram.com/kapa/mcp is accessible.
  3. To install the CLI: pipx install deepctl

来自 deepgram 的更多技能

deepclaw-voice
deepgram
使用Deepgram Voice Agent API设置对OpenClaw的电话呼叫
official
deepgram-js-audio-intelligence
deepgram
在编写或审查此仓库中调用 Deepgram 音频
official
deepgram-dotnet-audio-intelligence
deepgram
Use when writing or reviewing C# code in this repo that enables Deepgram intelligence overlays on Speech-to-Text requests. Covers `PreRecordedSchema` analytics…
official
deepgram-dotnet-management-api
deepgram
Use when writing or reviewing C# code in this repo that calls Deepgram Management APIs for projects, models, keys, members, invitations, usage, balances, and…
official
deepgram-dotnet-text-intelligence
deepgram
Use when writing or reviewing C# code in this repo that calls Deepgram Text Intelligence / Read (`/read`) for sentiment, summarization, topic detection, and…
official
deepgram-dotnet-text-to-speech
deepgram
Use when writing or reviewing C# code in this repo that calls Deepgram Text-to-Speech. Covers `ClientFactory.CreateSpeakRESTClient()` with `ToStream` /…
official
deepgram-dotnet-voice-agent
deepgram
Use when writing or reviewing C# code in this repo that builds an interactive Deepgram Voice Agent over WebSocket. Covers…
official
deepgram-go-audio-intelligence
deepgram
在编写或审查此仓库中的Go代码时使用,这些代码涉及摘要(summaries)、主题(topics)、意图(intents)、情感(sentiment)、语言检测(language detection)、说话人分离(diarization)、文本编辑(redaction)或实体(entity)…
official