MCP Claude Shell Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Claude Shell Serverrefactor the database connector to use a connection pool with sonnet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Claude Shell Server (Node.js)
A Node.js implementation of an MCP (Model Context Protocol) server that wraps the Claude Code CLI, enabling parallel execution of Claude AI requests.
Features
Parallel Execution: Multiple requests are processed concurrently using Promise-based async handling
Retry Logic: Automatic retry with configurable attempts and timeouts
Model Selection: Support for Haiku, Sonnet, and Opus models
JSON Validation: Built-in JSON response validation for structured outputs
Full Claude CLI Options: Support for all Claude CLI parameters including system prompts, tool permissions, and more
Installation
npm install
npm run buildUsage
As MCP Server
Add to your Claude Code configuration:
claude mcp add --transport stdio claude-shell -- node /path/to/mcp-claude-node/dist/index.jsOr manually add to ~/.claude.json:
{
"mcpServers": {
"claude-shell": {
"type": "stdio",
"command": "node",
"args": ["/path/to/mcp-claude-node/dist/index.js"]
}
}
}Development
# Run in development mode
npm run dev
# Build for production
npm run build
# Run tests
npx tsx test-client.tsAvailable Tools
Tool | Description |
| Generate code or text with retry and model selection |
| Edit files with retry and model selection |
| Refactor code with retry and model selection |
| Generate JSON response with validation |
| Edit with JSON response validation |
Tool Parameters
All tools support these parameters:
Parameter | Type | Default | Description |
| string | required | The prompt to send to Claude |
| string | "haiku" | Model: haiku, sonnet, opus |
| number | 660 | Timeout in seconds |
| number | 3 | Maximum retry attempts |
| number | - | Maximum agent turns |
| string | "json" | Output format: text, json, stream-json |
| string | - | Replace default system prompt |
| string | - | Append to default system prompt |
| string[] | - | Additional tools to allow |
| string[] | - | Tools to disallow |
| string[] | - | Additional directories to access |
| boolean | false | Enable verbose logging |
Architecture
src/
├── index.ts # Entry point
├── server.ts # MCP Server main logic
├── claude-cli.ts # Claude CLI wrapper with retry
├── tools.ts # Tool definitions
├── types.ts # TypeScript types
└── utils.ts # Utility functionsLicense
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sunalamye/mcp-claude-node'
If you have feedback or need assistance with the MCP directory API, please join our Discord server