claude-code -management
Manage Claude Code MCP servers
claude mcp add --transport stdio intelligentcode-ai-claude-code-mcp-management npx -y @anthropic-ai/mcp-server-github \
--env GITHUB_PERSONAL_ACCESS_TOKEN="${GITHUB_TOKEN}"How to use
This MCP server manager provides a command-line interface to install and configure Claude Code MCP servers for your user and project contexts. It exposes a set of predefined servers (for example, memory and github) that you can add, sync, list, and remove. The tool leverages the MCP server packages published under @anthropic-ai, which run specific Claude Code integrations or utilities as MCP servers. Use the add command to register servers to your local or project scope, and then use sync to apply the configured state. You can also operate on remote hosts or per-project configurations with the provided project- and remote- commands. The available servers in the configuration example include memory and github, each installed via npx and requiring appropriate environment variables when necessary (e.g., a GitHub token for the github server).
How to install
Prerequisites:
- Node.js 18+ (for Claude CLI and npx usage)
- Python 3.8+ with Ansible (pip install ansible)
- Claude Code CLI installed globally: npm install -g @anthropic-ai/claude-code
Installation steps:
- Clone this repository: git clone https://github.com/your/repo.git cd repo
- Install Python dependencies (Ansible): pip install ansible
- Verify Claude CLI installation: claude --version
- Prepare configuration: cp mcp-servers.json.example mcp-servers.json
- Install/prepare MCP servers as needed via the manager commands (see Quick Start in README):
- Add servers: make add SERVERS=memory,github
- Sync all configured servers: make sync
- List installed servers: make list
Notes:
- The actual MCP server packages (memory and github in the example) are installed via npx using the @anthropic-ai/mcp-server-* packages. Ensure you have network access to fetch these packages from npm.
- For servers requiring credentials, set them in a .env file or export environment variables before running the commands.
Additional notes
Tips and considerations:
- Environment variable substitution uses the ${VAR_NAME} syntax. Ensure you provide or export these values (for example, GITHUB_TOKEN) in your environment or a .env file.
- If you manage remote hosts, you can use the remote commands (sync-remote, add-remote) to configure MCP servers on another machine via SSH.
- Use the dry-run option to preview changes before applying: dry-run shows what would be added or removed without making changes.
- Review ansible/configuration guidance in docs/ADVANCED.md for advanced usage or custom playbooks.
- Always keep mcp-servers.json in sync with the actual server definitions you intend to manage; the example shows the structure for memory and github servers.
Related MCP Servers
claude-talk-to-figma
A Model Context Protocol (MCP) that allows Claude Desktop and other AI tools (Claude Code, Cursor, Antigravity, etc.) to read, analyze, and modify Figma designs
easy
Absurdly easy Model Context Protocol Servers in Typescript
ollama
An MCP Server for Ollama
ask-user-questions
Better 'AskUserQuestion' - A lightweight MCP server/OpenCode plugin/Agent Skills + CLI tool that allows your LLMs ask questions to you. Be the human in the human-in-the-loop!
ZMCPTools
A custom TypeScript MCP Server intended to be used with Claude Code
claude-code-vm
Deploy Claude Code and additional tools to a VM for remote development