Model Context Protocol for AI interoperability
Expose DevDuck as an MCP server for Claude Desktop, or load external MCP servers to extend capabilities. Full bidirectional protocol support.
Expose DevDuck's tools via MCP protocol for Claude Desktop or other clients
Import tools from external MCP servers into DevDuck's toolset
Run DevDuck as an MCP server so Claude Desktop or other MCP clients can use its tools.
# Start in MCP stdio mode
devduck --mcp
Add to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"devduck": {
"command": "uvx",
"args": ["devduck", "--mcp"]
}
}
}
# Start MCP HTTP server
mcp_server(action="start", transport="http", port=8000)
# Access at: http://localhost:8000/mcp
# Start MCP server with full agent access
mcp_server(
action="start",
transport="http", # or "stdio"
port=8000,
expose_agent=True, # Expose full DevDuck agent
agent=devduck.agent
)
# Check status
mcp_server(action="status")
# Stop server
mcp_server(action="stop")
Import tools from external MCP servers to extend DevDuck's capabilities.
# Set MCP_SERVERS with JSON configuration
export MCP_SERVERS='{
"mcpServers": {
"strands-docs": {
"command": "uvx",
"args": ["strands-agents-mcp-server"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "your-token"
}
}
}
}'
devduck
| Transport | Config Keys | Example |
|---|---|---|
| Stdio | command, args, env |
Local CLI tools, uvx packages |
| SSE | url (with /sse) |
Server-sent events endpoints |
| HTTP | url, headers |
Streamable HTTP endpoints |
# Load strands-agents documentation
export MCP_SERVERS='{
"mcpServers": {
"strands-docs": {
"command": "uvx",
"args": ["strands-agents-mcp-server"],
"prefix": "strands-docs"
}
}
}'
devduck
# Now use the tools:
🦆 strands-docs_search_docs(query="how to use bedrock")
Run DevDuck as an MCP server for Claude Desktop integration.
Load tools from any MCP-compatible server into DevDuck.
Stdio, HTTP, and SSE transports supported.
Imported tools get prefixed to avoid naming conflicts.
MCP servers auto-load from MCP_SERVERS env var on startup.
Agent handles MCP client lifecycle automatically.
| Variable | Description |
|---|---|
MCP_SERVERS |
JSON config for auto-loading MCP servers |
DEVDUCK_ENABLE_MCP |
Enable MCP HTTP server on startup (default: false) |
DEVDUCK_MCP_PORT |
MCP HTTP server port (default: 8000) |
{
"mcpServers": {
"server-name": {
// Stdio transport
"command": "executable",
"args": ["arg1", "arg2"],
"env": {"KEY": "value"},
// OR HTTP/SSE transport
"url": "http://localhost:8000/mcp",
"headers": {"Authorization": "Bearer token"},
// Optional
"prefix": "custom-prefix" // Default: server-name
}
}
}
Load Strands docs MCP for instant framework documentation.
Load GitHub MCP server for repo management tools.
Use DevDuck's tools from within Claude Desktop.
Access the growing MCP tool ecosystem from DevDuck.