McPico (also written as MCPico) is a lightweight MCP (Model Context Protocol) client for the terminal. It is designed to let users run LLM prompts, attach files, and have discussions with MCP servers through a command-line interface. The tool supports multiple LLMs, including local models.
Purpose
McPico is mainly used to interact with LLMs in a terminal environment and to connect to external tools or servers via the MCP protocol. It is suitable for users who need to quickly call LLMs, attach files, and conduct conversational operations, especially developers who prefer a command-line workflow.
Main capabilities
- Run LLM prompts: Users can directly enter prompts in the terminal and get LLM responses.
- File attachments: Supports attaching files (marked as 🐛, there may be unresolved issues).
- MCP server support: Supports stdio-based MCP servers (marked as ✅ available); http-based MCP servers are marked as 🐛 (may have bugs).
- Multiple LLM support: Verified to work with Anthropic, Groq, and LM Studio with r2mcp (all marked as ✅).
- Multiple MCP support: Marked as ❔ (to be tested), not yet confirmed.
Usage
- In
~/.config/mcpico/config.jsonconfigure the API key and URL. You can refer tomcpico.pyfor the default configuration, and see the project link for more information. - Start via the command
python3 mcpico.py. - Use
/helpto view various commands.
Applicable scenarios
- Quickly interacting with LLMs in the terminal, especially in scenarios where files need to be attached or MCP servers need to be used.
- Users who need to use multiple LLMs at the same time (including local models such as LM Studio).
- Developers who prefer command-line tools over graphical interfaces.
Limitations
- Support for http-based MCP servers has bugs (🐛).
- Multiple MCP support has not yet been tested (❔).
- The file attachment feature is marked as 🐛 and may be unstable.
- Most of the code was written by AI, but it is said to run well.
- Only tested on Linux.
- Users need to configure the API key and URL themselves.
- More details regarding platform support, fees, pricing, performance, etc. are not yet provided.