MCP·F57E88
Y

fresh-bash-mcp

By yannbam·Visit Source
Secure bash command execution for AI assistants
April 17, 2025
3 months ago
3 Clicks
About fresh-bash-mcp

Secure bash command execution for AI assistants. 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.

What is this MCP

This MCP is a TypeScript application that provides a secure interface for AI assistants (like Claude) to execute bash commands with multiple security safeguards including command whitelisting, directory restrictions, and output sanitization.

How to use this MCP

The MCP can be used either as a library for direct integration or as an MCP server. For library usage, import and call the executeCommand function. For server usage, start the MCP server with npm commands and connect via MCP clients.

What this MCP can be used for

This MCP enables safe bash command execution from AI assistants, useful for development workflows, system administration tasks, and AI-powered automation while maintaining security through configurable restrictions and session management.

Repository Info
Stars:
-
Forks:
-
Watchers:
-
Last Updated: -

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

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.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.