cli MCP server
cli bridge
Pretty much a remix of the demo notes app.
Components
Resources
The server implements a simple system for working with arbitrary clis with:
- Custom cli:// URI scheme for accessing individual notes
- Each cli resource has a name, help menu subtree, and text/plain mimetype
Tools
The server implements one tool:
- add (cmd): Recursively parses cli help menu subtrees and stores definition
- Takes "cmd"
- Updates server state and notifies clients of resource changes
- help (cmd): Return subtrees definition
- run (cmd, cmd_args | None): Run a known command
Quickstart
Install
Claude Desktop
Note: I had to use /opt/homebrew/bin/uv instead of just uv in the command field in this json:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{"mcpServers": {
"cli": {
"command": "uv",
"args": [
"run",
"--directory",
"\<path to repo folder\>",
"cli"
]}
}
}
By design, you have to explicitly 'add' a command before it can be run.
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory <path to repo> run cli
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Metadata
Release files for iflow-mcp_mlaugharn-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_mlaugharn_cli-0.1.0.tar.gz | 7.1 kB | Without provenance | Details for iflow_mcp_mlaugharn_cli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_mlaugharn_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_mlaugharn_cli-0.1.0-py3-none-any.whl |
Total release size: 15.2 kB
Release files / iflow_mcp_mlaugharn_cli-0.1.0.tar.gz
| Download URL | iflow_mcp_mlaugharn_cli-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48e10dba2bc8987815924f60a9551f7630a537dd666b5a6223d4766843011e5c
|
|
BLAKE2b-256 checksum How to use checksums |
da13a71ba3d532456beb5aa58246dc3231e64628955df5179eeff925b1e9e6d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / iflow_mcp_mlaugharn_cli-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_mlaugharn_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93b45fea86fb07bc697fc1838a76d82e155ccb6457262bed1c57ec0d97ab8349
|
|
BLAKE2b-256 checksum How to use checksums |
8e76891cb7026696b402cdc7a4f1654169bec961b88111339e304d2bd0ef3652
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for iflow-mcp_mlaugharn-cli 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.