MCP·7892E4
C

mcp-cli

By chrishayuk·Visit Source
用于与模型上下文提供器(MCP)服务器交互的命令行界面
2025年4月17日
2 months ago
3 Clicks
About mcp-cli

用于与模型上下文提供器(MCP)服务器交互的命令行界面. mcp-cli is a Model Context Protocol (MCP) server maintained by chrishayuk. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 2 tools, including list_tables and read_query, that an agent can call directly. It is categorized under Tool/CLI and AI/LLM.

什么是MCP

这是一个用于与模型上下文提供器(MCP)服务器交互的命令行界面(CLI)工具,通过CHUK-MCP协议实现与大型语言模型(LLM)的无缝通信。它支持多种操作模式和提供器,以实现灵活的LLM交互。

如何使用MCP

通过pip安装,在server_config.json中配置服务器连接,然后使用mcp-cli chat进入对话模式或mcp-cli cmd进入脚本模式。该工具提供交互式命令,用于工具使用、会话管理和服务器操作。

MCP的用途

MCP CLI通过各种模式(聊天、交互式、命令行)促进LLM交互,支持自动化工具使用、会话管理、可编写脚本的自动化以及直接服务器操作等功能。对于构建基于LLM的应用程序和工作流的开发者非常有用。

Repository Info
Stars:
1951
Forks:
298
Watchers:
1951
Last Updated: 2 months ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the mcp-cli MCP server?

mcp-cli is a Model Context Protocol server from chrishayuk. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect mcp-cli to my AI client?

Add mcp-cli to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does mcp-cli provide?

mcp-cli provides 2 tools: list_tables and read_query.

Is mcp-cli free to use?

mcp-cli is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.