fresh-bash-mcp
为AI助手提供安全的bash命令执行方案. fresh-bash-mcp is a Model Context Protocol (MCP) server maintained by yannbam. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 6 tools, including executeCommand, initBashMCP, createSession, executeCommandInSession, sendInputToSession and closeSession, that an agent can call directly. It is categorized under AI/Integration and Tool/TypeScript.
什么是MCP
本MCP是一个TypeScript应用程序,为AI助手(如Claude)提供安全的bash命令执行接口,包含命令白名单、目录限制和输出净化等多重安全防护机制。
如何使用MCP
MCP可作为库直接集成或作为MCP服务器使用。库使用方式:导入并调用executeCommand函数;服务器使用方式:通过npm命令启动MCP服务器,并通过MCP客户端连接。
MCP的用途
该方案支持从AI助手安全执行bash命令,适用于开发工作流、系统管理任务和AI驱动的自动化场景,同时通过可配置的限制和会话管理保障安全性。
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the fresh-bash-mcp MCP server?
fresh-bash-mcp is a Model Context Protocol server from yannbam. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect fresh-bash-mcp to my AI client?
Add fresh-bash-mcp to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does fresh-bash-mcp provide?
fresh-bash-mcp provides 6 tools: executeCommand, initBashMCP, createSession, executeCommandInSession, sendInputToSession and closeSession.
Is fresh-bash-mcp free to use?
fresh-bash-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
