Click MCP Server

Extend Click applications with Model Context Protocol (MCP) support

Local serverstdioPython

What is the Click MCP Server?

Extend Click applications with Model Context Protocol (MCP) support

What the server does

A Python library that extends Click applications with Model Context Protocol (MCP) support, allowing AI agents to interact with CLI tools.

click-mcp provides a simple decorator that converts Click commands into MCP tools. This enables AI agents to discover and interact with your CLI applications programmatically.

  • Simple @click_mcp decorator syntax
  • Automatic conversion of Click commands to MCP tools
  • Support for nested command groups
  • Support for positional arguments
  • Stdio-based MCP server for easy integration

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Click MCP Server

{
  "mcpServers": {
    "click": {
      "command": "uvx",
      "args": ["click-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Click to Setup.”
  • “Use Click to Testing.”
  • “Use Click to Linting.”

Frequently asked questions

Extend Click applications with Model Context Protocol (MCP) support Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.