Anthropic MCP Client

April 5, 2025 ยท View on GitHub

A command-line interface (CLI) tool that allows users to interact with the Anthropic MCP (Model Context Protocol) by connecting to multiple servers and executing tools.

Installation

npm install
echo "ANTHROPIC_API_KEY=<your key here>" > .env

Create a servers.json file:

{
  "mcpServers": {
    "filesystem-mcp": {
      "command": "npx",
      "args": [
        "@shtse8/filesystem-mcp"
      ],
      "name": "Filesystem (npx)"
    },
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

Usage

npm run build
npm start

DEMO

https://github.com/user-attachments/assets/7178c8ad-f991-4a06-a4f6-f37cd7a4b655