What is the Model Context Protocol (MCP)?
MCP is an open standard for AI agents to interact with tools and applications in a structured way.
@crowecawcaw
基本信息
Turn click CLIs into MCP servers with one line of code
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"click-mcp": {
"command": "python",
"args": [
"my_app.py",
"mcp"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
click-mcp is a Python library that extends Click applications with Model Context Protocol (MCP) support, allowing AI agents to discover and interact with CLI tools programmatically. It provides a simple decorator that converts Click commands into MCP tools.
Install via pip (pip install click-mcp), then decorate your Click group with @click_mcp(). Run the MCP server using python my_app.py mcp (or a custom command name if configured). The decorator automatically converts Click commands into MCP tools with named parameters and dot‑notation for nested groups.
@click_mcp decorator syntaxMCP is an open standard for AI agents to interact with tools and applications in a structured way.
click-mcp requires Python and the Click library. The README assumes a standard Python environment.
Use the `command_name` parameter in the `@click_mcp` decorator, e.g. `@click_mcp(command_name="start-mcp")`.
When a Click command raises an exception, click-mcp captures the error and returns it as part of the MCP response, enabling AI agents to handle errors gracefully.
Nested commands use dot notation (e.g., `users.create`).
Painless E2E Automation for Mobile and Web

Model Context Protocol Servers
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
评论