Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wong2/mcp-cli
A CLI for the Model Context Protocol
https://github.com/wong2/mcp-cli
Last synced: about 2 months ago
JSON representation
A CLI for the Model Context Protocol
- Host: GitHub
- URL: https://github.com/wong2/mcp-cli
- Owner: wong2
- Created: 2024-12-05T04:21:46.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T04:37:52.000Z (about 2 months ago)
- Last Synced: 2024-12-05T05:21:33.915Z (about 2 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mcp-servers - mcp-cli
README
# mcp-cli
A CLI inspector for the Model Context Protocol
![demo](demo.gif)
## Usage
### Run without config file
```bash
npx @wong2/mcp-cli
```This will use the config file of Claude Desktop.
### Run with a config file
```bash
npx @wong2/mcp-cli -c config.json
```The config file has the same format as the Claude Desktop config file.
### Run servers from NPM
```bash
npx @wong2/mcp-cli npx
```### Run locally developed server
```bash
npx @wong2/mcp-cli node path/to/server/index.js args...
```## Features
- Run MCP servers from various sources
- List Tools, Resources, Prompts
- Call Tools, Read Resources, Read Prompts## Related
- [LiteMCP](https://github.com/wong2/litemcp) - A TypeScript library that simplifies MCP server development
- [mcpservers.org](https://mcpservers.org) - A curated list of MCP servers