DM

dometrain/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 0 forks 质量 65 趋势 18MIT

Official Dometrain MCP server plugin — ground your coding agent in Dometrain courses

概览

Connect your coding agent to Dometrain course content. The Dometrain MCP server lets agents like Claude Code, Codex, GitHub Copilot, and OpenCode search Dometrain video-course lessons and pull curated lesson documents — summaries, cleaned lesson notes, and the exact code shown on screen, each with a timestamped deep link into the video — so your agent implements things the way your courses teach them. - https://mcp.dometrain.com/mcp (streamable HTTP) - Dometrain account API key as a Bearer token - requires an active Dometrain Pro subscription - https://dometrain.com/.well-known/mcp/server-card.json 1. Sign in at dometrain.com and open Account settings. 2. In , create a key and copy it (it is shown exactly once). 3. Export it where your agent runs: Or install the plugin (adds the server a skill that teaches Claude when to consult Dometrain and how to cite lessons): Add to ~/.config/opencode/opencode.

README

以下为原文 README 节选,完整内容请查看原文。

Dometrain MCP Server

Connect your coding agent to Dometrain course content. The Dometrain MCP server lets agents like Claude Code, Codex, GitHub Copilot, and OpenCode search Dometrain video-course lessons and pull curated lesson documents — summaries, cleaned lesson notes, and the exact code shown on screen, each with a timestamped deep link into the video — so your agent implements things the way your courses teach them.

1. Get an API key

  1. Sign in at dometrain.com and open Account settings.
  2. In MCP API keys, create a key and copy it (it is shown exactly once).
  3. Export it where your agent runs:
export DOMETRAIN_API_KEY="dmt_live_..."

2. Install

Claude Code

Quickest — add the server directly:

claude mcp add --scope user --transport http dometrain https://mcp.dometrain.com/mcp \
  --header "Authorization: Bearer ${DOMETRAIN_API_KEY}"

Or install the plugin (adds the server plus a skill that teaches Claude when to consult Dometrain and how to cite lessons):

claude plugin marketplace add dometrain/mcp
claude plugin install dometrain@dometrain

Codex

Add to ~/.codex/config.toml:

[mcp_servers.dometrain]
url = "https://mcp.dometrain.com/mcp"
bearer_token_env_var = "DOMETRAIN_API_KEY"

GitHub Copilot (VS Code)

Run MCP: Open User Configuration and add to your user mcp.json:

{
  "servers": {
    "dometrain": {
      "type": "http",
      "url": "https://mcp.dometrain.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:DOMETRAIN_API_KEY}"
      }
    }
  }
}

OpenCode

Add to ~/.config/opencode/opencode.json:

{
  "mcp": {
    "dometrain": {
      "type": "remote",
      "url": "https://mcp.dometrain.com/mcp",
      "headers": {
        "Authorization": "Bearer {env:DOMETRAIN_API_KEY}"
      }
    }
  }
}

Tools

Tool What it does
search_dometrain(query, tech?, max_results?) Search lessons for implementation guidance; hybrid keyword + semantic ranking, so conceptual queries work well — ranked excerpts with deep links (a note flags partial-term or semantic-only matches)
search_code(query, language?, max_results?) Search the code shown on screen in lessons; snippets with a deep link to the exact moment the code appears
get_lesson(lesson_id) Full curated lesson document: summary, key concepts, notes, on-screen code
get_course(course_id_or_slug) Course overview + chapter/lesson tree
list_courses(topic?) Published courses, optionally filtered by topic
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →