{"id":22481466,"url":"https://github.com/mlaugharn/cli-mcp","last_synced_at":"2025-08-02T16:30:47.052Z","repository":{"id":264946935,"uuid":"894738227","full_name":"mlaugharn/cli-mcp","owner":"mlaugharn","description":"expose clis over model context protocol","archived":false,"fork":false,"pushed_at":"2024-12-04T23:03:47.000Z","size":36,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-05T00:18:29.849Z","etag":null,"topics":["mcp","model-context-protocol"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlaugharn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-26T22:36:14.000Z","updated_at":"2024-12-04T23:03:51.000Z","dependencies_parsed_at":"2024-11-26T23:37:27.637Z","dependency_job_id":null,"html_url":"https://github.com/mlaugharn/cli-mcp","commit_stats":null,"previous_names":["mlaugharn/cli-mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fcli-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fcli-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fcli-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fcli-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlaugharn","download_url":"https://codeload.github.com/mlaugharn/cli-mcp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228491965,"owners_count":17928719,"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","model-context-protocol"],"created_at":"2024-12-06T16:13:12.287Z","updated_at":"2024-12-06T16:13:12.811Z","avatar_url":"https://github.com/mlaugharn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cli MCP server\n\ncli bridge\n\n\u003cimg width=\"870\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a7b78531-c681-40fc-bd65-044980547629\"\u003e\n\nPretty much a remix of the demo notes app.\n\n## Components\n\n### Resources\n\nThe server implements a simple system for working with arbitrary clis with:\n- Custom cli:// URI scheme for accessing individual notes\n- Each cli resource has a name, help menu subtree, and text/plain mimetype\n\n### Tools\n\nThe server implements one tool:\n- add (cmd): Recursively parses cli help menu subtrees and stores definition\n  - Takes \"cmd\" \n  - Updates server state and notifies clients of resource changes\n- help (cmd): Return subtrees definition\n- run (cmd, cmd_args | None): Run a known command\n## Quickstart\n\n### Install\n\n#### Claude Desktop\nNote: I had to use `/opt/homebrew/bin/uv` instead of just `uv` in the command field in this json:\n\nOn MacOS: `~/Library/Application\\ Support/Claude/claude_desktop_config.json`\n\nOn Windows: `%APPDATA%/Claude/claude_desktop_config.json`\n\n\n\n```\n{\"mcpServers\": {\n  \"cli\": {\n    \"command\": \"uv\",\n    \"args\": [\n      \"run\",\n      \"--directory\",\n      \"\\\u003cpath to repo folder\\\u003e\",\n      \"cli\"\n    ]}\n  }\n}\n```\n\n\nBy design, you have to explicitly 'add' a command before it can be run.\n\n### Debugging\n\nSince MCP servers run over stdio, debugging can be challenging. For the best debugging\nexperience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).\n\n\nYou can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:\n\n```bash\nnpx @modelcontextprotocol/inspector uv --directory \u003cpath to repo\u003e run cli\n```\n\n\nUpon launching, the Inspector will display a URL that you can access in your browser to begin debugging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlaugharn%2Fcli-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlaugharn%2Fcli-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlaugharn%2Fcli-mcp/lists"}