Duck Framework MCP — Claude Code MCP server: how to install
Remote MCP server for building Python web apps with Duck Framework. Helps AI assistants scaffold project trees, wire routing, and set up reactive UI components.
claude mcp add --transport http duckframework-mcp https://duckframework.com/mcpWhat Duck Framework MCP does
This MCP server connects AI coding assistants to the Duck Framework toolset. Duck bundles its own web server and reactive engine with real-time WebSocket communication, removing the need for a separate frontend JavaScript stack. The server gives your agent context on file layouts, view logic, and component trees.
You can draft starter projects, build interfaces using Lively and Quirl components, or connect Duck features to Django for HTTP/2 support. Running the generated applications requires Python 3.10 or newer. Because the MCP endpoint lives at https://duckframework.com/mcp, setup does not require building local packages.
What it helps with
- Scaffold new Duck Framework project structures
- Configure application routes in
urls.pyand view handlers - Implement Lively and Quirl reactive UI components
- Add HTTP/2 and HTTPS features to an existing Django codebase
Example prompts for the agent
- Scaffold a new Duck project with initial templates and routing
- Build a reactive Lively component that updates data over WebSocket
- Integrate Duck HTTP/2 security capabilities into an existing Django app
How to install Duck Framework MCP
Platform CLI: remote server
claude mcp add --transport http duckframework-mcp https://duckframework.com/mcpPlatform CLI: remote server
codex mcp add duck-framework-mcp --url https://duckframework.com/mcpConfig file
{
"mcpServers": {
"duck-framework-mcp": {
"url": "https://duckframework.com/mcp"
}
}
}Config file
{
"servers": {
"duck-framework-mcp": {
"type": "http",
"url": "https://duckframework.com/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http duck-framework-mcp https://duckframework.com/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Duck Framework MCP
How do I install Duck Framework MCP in Claude Code?
Run claude mcp add --transport http duckframework-mcp https://duckframework.com/mcp in your command line. The command links Claude Code directly to the remote HTTP server.
What does Duck Framework MCP do?
It equips your AI assistant with guidelines and scaffolding rules for Duck web development. You can generate full projects, configure real-time components, and manage views without manual setup.
What are the system requirements for Duck Framework?
Projects generated with Duck require Python 3.10 or higher. The MCP server itself runs remotely over HTTP, so you only need network access to configure it.