Logo vun Mcpd

Mcpd

Organisatioun
mozilla-ai

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

Editeurmozilla-ai
Repositorymcpd
SproochGo
Forks
25
Stären
182
Disponibel Tools
0
Transporttypstdio
LizenzApache-2.0
Linken
  • Tools mat KI-Workflows verbannen

    Mcpd stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    182 Stären an 25 Forks aus dem verlinkte Repository.

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 mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Mcpd verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Mcpd als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Mcpd an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "mcpd": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Mcpd. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Mcpd.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Mcpd?
Mcpd
Jo. Ech hunn et gelies.
Dat hunn ech mat Mcpd fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Mcpd benotzt?

Mcpd ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Mcpd MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Mcpd mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Mcpd MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Mcpd verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Mcpd MCP mat TypingMind?

Mcpd leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Mcpd MCP an TypingMind zur Verfügung?

Mcpd stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Mcpd MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Mcpd eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇