{"id":35252266,"url":"https://github.com/deemkeen/shell-mcp","last_synced_at":"2026-04-07T15:31:53.022Z","repository":{"id":288665559,"uuid":"964221710","full_name":"deemkeen/shell-mcp","owner":"deemkeen","description":"serve your MCP tools with the power of bash!","archived":false,"fork":false,"pushed_at":"2025-04-28T20:30:47.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T21:30:46.598Z","etag":null,"topics":["bash","cli","mcp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deemkeen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-10T21:56:26.000Z","updated_at":"2025-04-28T20:30:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a0369ac-30b0-4a96-af4a-54ebf6a45944","html_url":"https://github.com/deemkeen/shell-mcp","commit_stats":null,"previous_names":["deemkeen/shell-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deemkeen/shell-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemkeen%2Fshell-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemkeen%2Fshell-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemkeen%2Fshell-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemkeen%2Fshell-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deemkeen","download_url":"https://codeload.github.com/deemkeen/shell-mcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deemkeen%2Fshell-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","mcp"],"created_at":"2025-12-30T07:00:25.535Z","updated_at":"2026-04-07T15:31:53.017Z","avatar_url":"https://github.com/deemkeen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell MCP (Model Control Protocol)\n\nA lightweight Bash implementation of an MCP server that allows creating and using custom command-line tools via a JSON-RPC interface.\n\n## Overview\n\nShell MCP provides a simple framework to create, manage, and use custom command-line tools. The server loads tools from the `tools` directory and makes them available through a standardized interface.\n\n## Getting Started\n\n### Running the Server\n\nTo start the MCP server with the default configuration:\n\n```bash\n./mcp-server.sh\n```\n\nThe server will load all tools from the `tools` directory and begin listening for commands via stdin.\n\n## Adding New Tools\n\nShell MCP includes a CLI option to easily create new tools.\n\n### Command Line Options\n\n```bash\n# Create a new tool\n./mcp-server.sh --add-tool NAME DESCRIPTION \"PARAM1:TYPE,PARAM2:TYPE\"\n\n# Show help information\n./mcp-server.sh --help\n```\n\n### Example: Creating a New Tool\n\n```bash\n# Create a new multiplication tool\n./mcp-server.sh --add-tool multiply \"Multiplies two numbers\" \"num1:int,num2:int\"\n```\n\nThis will generate a new tool file at `tools/multiply.tool.sh` with a basic implementation template.\n\n### Contributing Your Own Tools\n\nWe welcome contributions from the community! You can create your own general-purpose tools and submit them as pull requests.\n\nGuidelines for contributing tools:\n\n1. Tools should be general-purpose and useful to a wide audience\n2. Follow the existing pattern for tool implementation\n3. Include clear documentation within your tool file\n4. Make sure your tool works correctly before submitting\n5. Submit a pull request with your tool added to the `tools` directory\n\n### Tool Structure\n\nEach tool consists of:\n\n1. A function that implements the tool's logic\n2. A call to `register_tool` to make the tool available to the server\n\nHere's an example of a simple tool implementation:\n\n```bash\n#!/usr/bin/env bash\n\n# Addition tool implementation\n\n# Function that performs the addition\naddition_impl() {\n    local num1=$1\n    local num2=$2\n    \n    # Calculate the sum\n    local sum=$((num1 + num2))\n    echo \"sum of two numbers is $sum\"\n}\n\n# Register the tool with the server\nregister_tool \\\n    \"addition\" \\\n    \"addition of two numbers\" \\\n    \"num1:int,num2:int\" \\\n    \"addition_impl\"\n```\n\n## Important Notes for Tool Development\n\n1. Each tool function should accept parameters in the order they are defined\n2. Tools must use a single `echo` statement at the end to return their result\n3. Parameter types are for documentation only - all parameters are passed as strings\n4. Make the tool file executable with `chmod +x` after creating it manually\n\n## Project Structure\n\n```\nshell-mcp/\n├── mcp-server.sh       # Main server script\n├── tools/              # Directory containing all tools\n│   ├── addition.tool.sh    # Example tool\n│   ├── bmi_calculator.tool.sh  # Example tool\n│   └── pokemon_fetcher.tool.sh # Example tool\n└── mcp_server.log     # Server log file (created when server runs)\n```\n\n## Protocol\n\nThe server implements a simplified JSON-RPC interface with the following methods:\n\n- `initialize`: Initializes the server and returns its capabilities\n- `tools/list`: Lists all available tools with their descriptions and parameters\n- `tools/call`: Calls a specific tool with the provided arguments\n- `resources/list`: Lists available resources (not implemented)\n- `prompts/list`: Lists available prompts (not implemented)\n\n## Requirements\n\n- Bash 4.0 or higher\n- `jq` for JSON processing\n\n## License\n\nThis project is open source and available under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeemkeen%2Fshell-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeemkeen%2Fshell-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeemkeen%2Fshell-mcp/lists"}