MCP CLI
MCP tools for developers · Free
A command-line utility for exploring MCP servers: listing tools, resources, and prompts, calling tools, and checking responses without a full AI client.
Also known as: wong2/mcp-cli

What you can use for free
You can use the code under the stated license; servers, APIs, and compute must be provided separately.
Paid features and costs
Remote APIs, connected tools, and LLMs have their own pricing.
Access and limitations
You can use the code under the stated license; servers, APIs, and compute must be provided separately. Remote APIs, connected tools, and LLMs have their own pricing.
Use cases
- Connect the server transport and request the tool and resource lists.
- Call a safe test tool with valid and invalid arguments.
Example workflow
A possible workflow; this is not a report of hands-on testing.
A command-line utility for exploring MCP servers
Before you start
- A test MCP server configuration.
Steps
- Connect the server transport and request the tool and resource lists.
- Call a safe test tool with valid and invalid arguments.
- Compare the result with the workflow's goal; after changing the project, run its standard checks.
Check your result
- The argument schema is followed; errors are clear and correctly returned to the client.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.
Choosing MCP CLI
Connect the server transport and request the tool and resource lists.
Choose this when
- Connect the server transport and request the tool and resource lists.
- Call a safe test tool with valid and invalid arguments.
Requirements
- When run without arguments, the CLI uses the Claude Desktop configuration; pass a custom file with -c.
Things to consider
- Costs and limits of free use: Remote APIs, connected tools, and LLMs have their own pricing.
- Terms of use: GPL-3.0 for the CLI code.
Frequently asked questions
What can you use for free in MCP CLI?
You can use the code under the stated license; servers, APIs, and compute must be provided separately.
What additional costs might arise with MCP CLI?
Remote APIs, connected tools, and LLMs have their own pricing.
What terms of use matter for MCP CLI?
GPL-3.0 for the CLI code.
How do you get started with MCP CLI?
Connect the server transport and request the tool and resource lists. Call a safe test tool with valid and invalid arguments. Compare the result with the workflow's goal; after changing the project, run its standard checks.
Is the CLI suitable for automated workflows without a dialogue?
In addition to interactive server exploration, call-tool, read-resource, and get-prompt commands accept JSON arguments. Servers from npm, local execution, SSE, and Streamable HTTP are supported; OAuth is specified for network transports. The purge command deletes saved data, including OAuth tokens.
License
GPL-3.0 for the CLI code.
GPL 3.0 — open-source code with copyleft
You can run, modify, and sell the program. When distributing a GPL program or a derivative product based on it, recipients must receive the corresponding source code and GPL rights; GPL-covered code cannot be made closed-source. Ordinary use of a tool does not make your project or the independent outputs it creates subject to GPL.
License termsTechnologies and topics
- MCP CLI
- wong2
- MCP