home / mcp / claude agents mcp server
Provides centralized Claude agent management via MCP for HTTP and stdio access with live updates across sessions.
Configuration
View docs{
"mcpServers": {
"dev-brewery-claude-agents-mcp": {
"url": "http://localhost:8765",
"headers": {
"API_PORT": "8765",
"NODE_ENV": "development",
"CONFIG_DATA_PATH": "/absolute/path/to/claude-agents-mcp/data"
}
}
}
}You deploy and manage Claude agent definitions, configurations, and custom commands from a centralized MCP server. This setup lets you update many Claude sessions in real time without file lock conflicts, keeps agent data in a SQLite database, and provides a reliable HTTP API and local stdio interface for your Claude Code instances to consume.
Connect your Claude Code instance to the MCP server to manage agents, global config, commands, and project context from one place. You can run the MCP server locally for development, or deploy it with Docker for a shared environment. Use the HTTP API or the stdio integration to perform create, read, update, and delete operations on agents, commands, and configurations.
Prerequisites you need before installing the MCP server:
Follow these concrete steps to set up the MCP server in local development mode:
# Install dependencies
npm install
# Run migration to import existing configs
npm run migrate -- --source "G:/Nextcloud"
# Start development server (stdio mode)
npm run devYou can run the server in two ways: via stdio for Claude Code integration or via HTTP for remote API access.
{
"mcpServers": {
"claude-agents": {
"command": "node",
"args": ["/absolute/path/to/claude-agents-mcp/dist/index.js"],
"env": {
"CONFIG_DATA_PATH": "/absolute/path/to/claude-agents-mcp/data"
}
}
}
}Alternatively enable HTTP access to the MCP server using a network URL:
{
"mcpServers": {
"claude-agents": {
"url": "http://localhost:8765"
}
}
}If you prefer containerized deployment, you can run the MCP server with Docker. Build and run the services in detached mode, then monitor logs to ensure the server starts correctly.
# Build and start containers in detached mode
docker-compose up -d
# View logs for the MCP server
docker-compose logs -f claude-agents-mcpList all agents, optionally filtered by category
Retrieve a specific agent definition
Create or update an agent
Remove an agent
Search agents by name or content
Get CLAUDE.md, session_init, or constraints
Update global configuration
List all custom slash commands
Retrieve a command definition
Create or update a command
Remove a command
Get project-specific settings
Save project context
View recent changes