Claude-Code-MCP-Server-Selector
Verified Safeby henkisdabro
Overview
Optimizes Claude Code context windows by interactively enabling/disabling MCP servers and managing plugins through a TUI or CLI.
Installation
npx @henkisdabro/mcp-selectorEnvironment Variables
- CLAUDE_SESSION_ID
- CLAUDE_CODE
- MCP_SERVER_NAME
- MCP_QUIET
- MCP_INSTALL_NONINTERACTIVE
- GREPTILE_API_KEY (example for managed MCP server config)
Security Notes
The project demonstrates robust security practices for its domain, including atomic writes, automatic backups, and file locking to prevent configuration corruption during file system operations. External command execution (`claude mcp list`, `claude` binary launch) is central to its functionality, with command arguments passed through by the user. Input validation for adding new servers (`!/^[a-zA-Z0-9_-]+$/.test(name)`) mitigates potential command injection risks for server names. Plugin installation fetches from local marketplace directories, not arbitrary network URLs. No hardcoded secrets or 'eval' usage are present. The primary security considerations are the integrity of the Claude Code CLI and the user's system environment.
Similar Servers
codebadger
A containerized Model Context Protocol (MCP) server providing static code analysis using Joern's Code Property Graph (CPG) technology.
niro-mcp-servers
Retrieves Confluence page content and page tree structures, converting them into a clean Markdown format optimized for AI agent consumption and knowledge management.
mcp-server-tools
Provides utilities for managing or extending a Minecraft server.
nerve
This project acts as an intercepting proxy for Minecraft Protocol (MCP) traffic, allowing for custom logic or modifications between a Minecraft client and server.