{"id":29360088,"url":"https://github.com/developit/mcp-cmd","last_synced_at":"2026-05-19T04:36:55.589Z","repository":{"id":302495449,"uuid":"1012684601","full_name":"developit/mcp-cmd","owner":"developit","description":"CLI for calling successive MCP Server tools","archived":false,"fork":false,"pushed_at":"2025-07-02T18:05:37.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-02T18:11:37.211Z","etag":null,"topics":["mcp","mcp-client","mcp-tools"],"latest_commit_sha":null,"homepage":"https://npm.im/mcp-cmd","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-02T18:02:30.000Z","updated_at":"2025-07-02T18:09:30.000Z","dependencies_parsed_at":"2025-07-02T18:11:38.600Z","dependency_job_id":"82934acb-b1f5-46c4-aef8-2402395a50f1","html_url":"https://github.com/developit/mcp-cmd","commit_stats":null,"previous_names":["developit/mcp-cmd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developit/mcp-cmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fmcp-cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fmcp-cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fmcp-cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fmcp-cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developit","download_url":"https://codeload.github.com/developit/mcp-cmd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2Fmcp-cmd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264411163,"owners_count":23603804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mcp","mcp-client","mcp-tools"],"created_at":"2025-07-09T07:09:51.033Z","updated_at":"2026-05-19T04:36:50.550Z","avatar_url":"https://github.com/developit.png","language":"JavaScript","funding_links":[],"categories":["📚 Projects (2474 total)"],"sub_categories":["MCP Servers"],"readme":"# mcp-cmd\n\nA simple Node.js-based command line MCP Client that exposes commands for listing and calling MCP tools and prompts.\n\n### Why?\n\nThere are other command line MCP Clients out there, but all of them spawn the referenced MCP Servers for every tool call.\n\n**`mcp-cmd` is different:** you use its CLI to start and stop MCP servers, and the servers run **in the background**. That means successive tool calls to an MCP Server are handled by the same running instance of that server.\n\n### Usage\n\nFirst, start a server by giving it a name and the command + args, then interact with it, then stop it.\n\n```sh\n# Start an MCP server\nmcp-cmd start \u003cservername\u003e \u003c...url-or-commands\u003e\n\n# List server tools\nmcp-cmd tools \u003cservername\u003e\n\n# List server prompts\nmcp-cmd prompts \u003cservername\u003e\n\n# Call a tool provided by the server\nmcp-cmd call \u003cservername\u003e \u003ctoolname\u003e --arg1=value1 --arg2=value2\n\n# Call a prompt provided by the server\nmcp-cmd prompt \u003cservername\u003e \u003cpromptname\u003e --arg1=value1 --arg2=value2\n\n# Stop the MCP server\nmcp-cmd stop \u003cservername\u003e\n```\n\n### Example\n\n```sh\n# start server\nmcp-cmd start puppeteer npx -y @modelcontextprotocol/server-puppeteer\n\n# list tools\nmcp-cmd tools puppeteer\n\n# navigate to a page, log the title, then take a screenshot\nmcp-cmd tools puppeteer navigate --url=https://example.com\nmcp-cmd tools puppeteer execute --code=document.title\nmcp-cmd tools puppeteer screenshot --name=example\n\n# stop the server\nmcp-cmd stop puppeteer\n```\n\n### Implementation Details\n\n- dead simple CLI built using [sade](https://www.npmjs.com/package/sade)\n- based on the official `@modelcontextprotocol/sdk` package\n- only supports starting and stopping MCP servers, listing and calling tools (no resources)\n- stderr from the tool during the call is forwarded to stderr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fmcp-cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopit%2Fmcp-cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fmcp-cmd/lists"}