Bunnyshell Platform
STDIOMCP server implementation for interfacing with Bunnyshell platform through CLI.
MCP server implementation for interfacing with Bunnyshell platform through CLI.
A Model Context Protocol (MCP) server implementation for interfacing with the Bunnyshell platform through its CLI.
This project creates an MCP server that enables AI assistants (like Claude) to interact with the Bunnyshell platform using the Bunnyshell CLI (bns
). The server provides a set of tools for managing your Bunnyshell resources through natural language commands.
bns
) installed and configuredgit clone https://github.com/bunnyshell/bns-mcp.git cd bns-mcp
./setup.sh
git clone https://github.com/bunnyshell/bns-mcp.git cd bns-mcp
./docker-setup.sh
token: YOUR_API_TOKEN
You can ask Claude to:
.
├── src/
│ ├── tools.ts # Tool implementations
│ ├── utils.ts # Utility functions
│ └── index.ts # Server entry point
├── .cursor/
│ └── mcp.json # Cursor MCP configuration
├── setup.sh # Local setup script
├── docker-setup.sh # Docker setup script
└── README.md # Documentation
The .cursor/mcp.json
file contains the configuration for the MCP server in Cursor:
{ "mcpServers": { "bunnyshell-mcp": { "command": "node", "args": ["dist/index.js"], "env": { "BNS_API_KEY": "YOUR_API_TOKEN_HERE" } } } }
For Docker setup, use:
{ "mcpServers": { "bunnyshell-mcp": { "command": "docker", "args": ["exec", "-i", "bns-mcp-server", "node", "dist/index.js"], "env": { "BNS_API_KEY": "YOUR_API_TOKEN_HERE" } } } }
Note: By adding your Bunnyshell API token to the env
section, the MCP server will automatically use it for authentication without requiring you to provide it for each command. The code already checks for the BNS_API_KEY
environment variable. This is especially useful for development and personal use. For shared environments, it's recommended to omit the token from configuration files and provide it during the conversation instead.
npm install npm run build
npm test