MCPShim is an open source daemon and command-line interface designed to expose remote Model Context Protocol (MCP) tools as standard shell commands. It allows AI agents and developers to interact with MCP servers as if their tools were native CLI commands, eliminating the need for SDKs or manual wrapper code. By translating CLI flags into MCP tool parameters, the tool provides a streamlined way to invoke remote capabilities directly from scripts, agents, or pipelines.
The platform is built to support command-native MCP workflows, with a daemon that manages dynamic discovery, authentication, and capability management. Users register remote MCP servers via a YAML configuration file, specifying server URLs, authentication headers, aliases, and environment variables. The daemon, once started, connects to all configured servers and exposes their tools through a single Unix socket. The CLI then surfaces each remote tool as a callable command, with parameters mapped to familiar shell flags. Authentication methods such as OAuth, API keys, and header-based auth are centralized within the daemon, so individual commands do not require separate authentication handling.
MCPShim is particularly suited for AI agents that need to orchestrate tools or manage context budgets efficiently. It allows agents to discover and invoke only the tools they require, without loading extensive MCP schemas into their model context. The system maintains a persistent call history and stores OAuth tokens using SQLite, while supporting hot-reloadable configuration for server registration. Wrapper scripts can be generated for short command aliases, and communication between the daemon and CLI uses a JSON IPC protocol over a Unix domain socket.
The tool is agent-agnostic, meaning any AI agent capable of executing shell commands or interacting via a Unix socket can use it to access MCP servers. This includes compatibility with agents such as Copilot, Claude, Gemini, Codex, and others, as long as they support command execution. MCPShim is implemented in Go and distributed under an open source license, with its source code and development activity available on GitHub.
MCPShim is a CLI tools & terminal project. It focuses on enabling AI agents and developers to use remote MCP tools as native shell commands without extra SDKs. MCPShim is an open-source project aimed at AI agent developers, automation engineers. MCPShim is open source under the Open Source license. It runs on the command line, and it can be self-hosted.
MCPShim first shipped in 2026. Development happens publicly on GitHub with 61 stars. Among its 5 catalogued features are MCP to CLI bridge, dynamic tool discovery, and config-driven registration. It exposes integrations via an MCP server.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do