griffithsbs/mcpipe
Decorate stdio MCP servers with debugging and other capabilities
Platform-specific configuration:
{
"mcpServers": {
"mcpipe": {
"command": "npx",
"args": [
"-y",
"mcpipe"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://www.npmjs.com/package/mcpipe) [](https://www.npmjs.com/package/mcpipe)
A wrapper for stdio-based MCP servers that adds debugging, tool name prefixing, and environment management.
# Debug MCP communication
npx mcpipe --debug your-mcp-server
# Avoid tool name conflicts
npx mcpipe --name myserver your-mcp-server
# Load environment variables
npx mcpipe --env-file .env your-mcp-server
# Combine features
npx mcpipe --debug --name myserver --env-file .env your-mcp-serverPrefix your server command with mcpipe.
_Before_:
{
"my_server": {
"command": "npx",
"args": ["my-mcp-server", "--config", "path/to/config"]
}
}_After (with debugging and tool prefixing)_:
{
"my_server": {
"command": "npx",
"args": ["mcpipe", "--debug", "--name", "myserver", "npx", "my-mcp-server", "--config", "path/to/config"]
}
}Debug Logging (`--debug`)
Tool Name Prefixing (`--name prefix`)
foo will be exposed to your client under the name <prefix>_foo insteadEnvironment Loading (`--env-file path`)
.env files--debug, -d: Enable debug logging to stderr--name <prefix>, -n <prefix>: Add prefix to tool names --env-file <path>, -e <path>: Load environment file[2024-01-15 10:30:01.125] [myserver_CLIENT→SERVER] {"Loading reviews...