Tutorial
This tutorial walks you through using mcpd from setup to making requests to a running MCP server.
1. Install mcpd via Homebrew
brew tap mozilla-ai/tap
brew install mcpd2. Initialize the Project
mcpd init3. Add an MCP Server
Add the latest version of the time server:
You can also restrict access to allow only specific tools:
4. Set Startup Arguments
Configure any startup flags for the server, in this case --local-timezone is optional, but let's set it:
5. Start the Daemon
Start mcpd, which launches MCP servers and exposes the HTTP API:
6. Query Running Servers
List all running servers:
7. Call a Tool on a Server
Make a request to a tool on a specific MCP server:
8. Use mcpd in your Agentic Python application
For examples on using mcpd with agents in Python, please refer to the Python SDK documentation.
Last updated