YG

yaniv-golan/mcp-bash-framework

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 2 forks 质量 84 趋势 32MIT

Portable Bash-only framework for building stdio Model Context Protocol (MCP) servers with zero dependencies.

概览

mcp-bash-framework  •  mcp-bash Read llms.txt (compact) or llms-full.txt (detailed) for agent-optimized context — includes a step-by-step Quick Start, critical allowlist requirement, and CLI wrapper patterns. /plugin install mcp-bash --marketplace yaniv-golan/mcp-bash-framework installs a skill with the workflow and common traps for building mcp-bash servers. On older Claude Code: /plugin marketplace add yaniv-golan/mcp-bash-framework, then /plugin install mcp-bash@mcp-bash. Tools, resources, prompts, elicitation, roots, progress, cancellation—the full spec, no runtimes beyond your shell. - Runs on Bash 3.2+ (macOS/Linux stock). No Node, no Python, no containers. - Handles concurrency, timeouts, and cancellation the way production systems need. - You write the tools. The framework stays out of your way. - Tools shouldn’t need another runtime to talk to AI. - Everything must be inspectable. No magic. - If it’s not needed in production, it isn’t in the framework.

README

以下为原文 README 节选,完整内容请查看原文。

mcp-bash

Repository: mcp-bash-framework  •  CLI/Binary: mcp-bash

For AI agents: Read llms.txt (compact) or llms-full.txt (detailed) for agent-optimized context — includes a step-by-step Quick Start, critical allowlist requirement, and CLI wrapper patterns.

Claude Code skill: /plugin install mcp-bash --marketplace yaniv-golan/mcp-bash-framework installs a skill with the workflow and common traps for building mcp-bash servers. On older Claude Code: /plugin marketplace add yaniv-golan/mcp-bash-framework, then /plugin install mcp-bash@mcp-bash.

Contents

The most complete MCP implementation in pure Bash. Tools, resources, prompts, elicitation, roots, progress, cancellation—the full spec, no runtimes beyond your shell.

  • Runs on Bash 3.2+ (macOS/Linux stock). No Node, no Python, no containers.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

"mcpServers": { "mcp-bash": { "command": "/Users/you/.local/bin/mcp-bash", "env": { "MCPBASH_PROJECT_ROOT": "/Users/you/my-mcp-server", "MCPBASH_TOOL_ALLOWLIST": "*" } } }