# Duck Framework MCP server

> Enables AI assistants to perform AI-assisted development and project scaffolding using the Duck Python web framework.

- Repository: https://github.com/duckframework/duck
- Page: https://hostedmcp.org/servers/duckframework/duck
- Transport: remote
- Stars: 46
- License: BSD-3-Clause
- Latest version: 1.2.0

## Install

### Claude Code

```sh
claude mcp add --transport http duck https://duckframework.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "duck": {
      "url": "https://duckframework.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "duck": {
      "type": "http",
      "url": "https://duckframework.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"duck","type":"http","url":"https://duckframework.com/mcp"}'
```

### Codex

```sh
codex mcp add duck --url https://duckframework.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.duck]
url = "https://duckframework.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http duck https://duckframework.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "duck": {
      "url": "https://duckframework.com/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### What is Duck Framework?

Duck Framework is an open-source Python web framework and web server featuring a built-in reactive UI engine and real-time WebSocket support.

### How do I create a new project with Duck?

You can create a new project by running the command 'duck makeproject myproject' after installing the framework via pip.
