Mcpdのロゴ

Mcpd

組織
mozilla-ai

Declaratively define and run required tools across environments, from local development to containerized cloud deployments.

公開者mozilla-ai
リポジトリmcpd
言語Go
フォーク
25
スター
182
利用可能なツール
0
通信方式stdio
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Mcpdは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには182件のスターと25件のフォークがあります。

Built by Mozilla AI

📚 mcpd official docs


mcpd is a daemon that manages your MCP servers via declarative configuration, exposing them as clean HTTP endpoints. This bridges the gap between your agents and your infrastructure, handling the messy work of lifecycle management, secret injection, and environment promotion so you don't have to.

⚙️ How it Works

Under the hood, mcpd spawns MCP servers as STDIO subprocesses and proxies requests over HTTP.

🚀 Quick Start

Prerequisites

Install the mcpd binary first, then install the runtime(s) used by the MCP servers you want to run:

  • uv for servers whose package starts with uvx::
  • Node.js / npx for servers whose package starts with npx::, and for mcpd inspector
  • Docker for servers whose package starts with docker::, or if you plan to run mcpd in Docker

The quick start below uses the time server via uvx, so uv is required for that example.

Optional helpers used in some docs examples:

  • curl to call the HTTP API
  • jq to pretty-print JSON responses

If you are building mcpd from source or contributing, you will also need Go (v1.27.1+ required).

Installation

via Homebrew

(Works for both macOS and Linux)

Add the Mozilla.ai tap:

bash
brew tap mozilla-ai/tap

Then install mcpd:

bash
brew install mcpd

Or install directly from the cask:

bash
brew install --cask mozilla-ai/tap/mcpd

Please read our docs to install via GitHub releases or local Go Binary build.

Using mcpd

bash
# Initialize a new project and create a new .mcpd.toml file
mcpd init

# Add an MCP server to .mcpd.toml
mcpd add time

# Set the local timezone for the MCP server
mcpd config args set time -- --local-timezone=Europe/London

# Start the daemon in dev mode with debug logging
mcpd daemon --dev --log-level=DEBUG --log-path=$(pwd)/mcpd.log

Now that the daemon is running, let's call the get_current_time tool provided by the time MCP server

bash
# Check the time
curl -s --request POST \
  --url http://localhost:8090/api/v1/servers/time/tools/get_current_time \
  --header 'Accept: application/json, application/problem+json' \
  --header 'Content-Type: application/json' \
  --data '{
  "timezone": "Europe/Warsaw"
}'

API docs will be available at http://localhost:8090/docs.

💡 Why mcpd?

Engineering teams build agents that work locally, then struggle to make them production-ready across environments. mcpd bridges this gap with declarative configuration and secure secrets management.

  • Declarative & reproducible – .mcpd.toml defines your tool infrastructure
  • Language-agnostic – Python, JS, Docker containers via unified HTTP API
  • Dev-to-prod ready – Same config works locally and in containers

🏗️ Built for Dev & Production

Development WorkflowProduction Benefit
mcpd daemon runs everything locallySame daemon runs in containers
.mcpd.toml version-controlled configsDeclarative infrastructure as code
Local secrets in ~/.config/mcpd/Secure secrets injection via control plane
mcpd config export exports version-control safe snapshot of local configurationSanitized secrets config and templates for CI/CD pipelines

📦 SDKs

mcpd SDKs

LanguageRepositoryStatus
Pythonmcpd-sdk-python✅
JavaScriptmcpd-sdk-javascript✅

mcpd plugin SDKs

Plugin SDKs are built using the mcpd plugin Protocol Buffers specification.

LanguageRepositoryStatus
Gomcpd-plugins-sdk-go✅
.NETmcpd-plugins-sdk-dotnet✅
Pythonmcpd-plugins-sdk-python✅

💻 Development

If you are developing mcpd, you will need:

  • Go (v1.27.1+ required)

Build local code:

bash
make build

Run tests:

bash
make test

Validate Mozilla AI registry (when modifying registry files):

bash
make validate-registry

Run the local documentation site (requires uv), dynamically generates command line documentation:

bash
make docs

🧩 The Mozilla.ai Stack

mcpd is the "Tooling Layer" of the Mozilla.ai ecosystem. These tools are designed to work together or standalone.

LayerToolFunction
ComputellamafileLocal LLM inference server
Interfaceany-llmUnified Python library for LLM inference
Logicany-agentOrchestration and agent loops
Toolsmcpd(You are here) Tool sandbox & router
Safetyany-guardrailInput/Output validation

🤝 Contributing

Please see our Contributing to mcpd guide for more information.

📄 License

Licensed under the Apache License 2.0.

McpdのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Mcpdに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Mcpdをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. McpdのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "mcpd": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMcpdのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. McpdのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Mcpdを使ってこのタスクを手伝ってもらえますか?
Mcpd
はい、読みました。
Mcpdで調べた結果をお伝えします。

よくある質問

Mcpd MCPサーバーは何に使いますか?

Mcpdは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMcpd MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMcpdを利用できます。

TypingMindでMcpd MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Mcpdを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Mcpd MCPをTypingMindに接続するにはどうすればよいですか?

McpdはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMcpd MCPのどのようなツールを利用できますか?

McpdはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Mcpd MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Mcpdで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇