Duck Python web frameworkを使用して、AIアシスタントによるAI支援開発とプロジェクトのスキャフォールディングを可能にします。
別名 duckframework/duck, duck
- スター
- 46
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.2.0
- 最終コミット
- 2026年11月14日
- ライセンス
- BSD-3-Clause
Duck Framework MCPとは
Duck Python web frameworkを使用して、AIアシスタントによるAI支援開発とプロジェクトのスキャフォールディングを可能にします。
プロジェクトのREADMEから生成された概要
Duck Framework MCP server について
Duck Framework MCPを使用すると、AIアシスタントがDuck Python web frameworkを用いたWebアプリケーション開発に参加できるようになります。このMCP serverは、AIクライアントによるプロジェクトのスキャフォールディングやAI支援開発タスクの実行を可能にします。これは、個別のJavaScriptスタックや複雑なフロントエンドフレームワークを管理することなく、サーバーサイドのリアクティブなWebアプリケーションを構築したい開発者向けに設計されています。
ユーザーはフレームワークと対話して、duck makeprojectコマンドを使用して新しいプロジェクトを初期化したり、ローカル開発環境を管理したりできます。フレームワーク自体はPython 3.10以上を必要とするオープンソースのPythonツールです。組み込みのリアクティブUIエンジンとリアルタイムWebSocketサポートを備えており、高パフォーマンスなアプリケーションに適しています。セットアップには、pip経由でのduckframeworkパッケージのインストールと、python web/main.pyまたはduck runserverコマンドによるwebserverの起動が必要です。
できること
- 1新しいWebプロジェクトのスキャフォールディングコマンドラインを使用して、新しいDuckプロジェクトの構造を初期化するようAIに依頼します。
- 2ローカル開発サーバーの起動AIにwebserverを起動させ、localhost:8000でアプリケーションを確認できるように指示します。
- 3リアクティブなWebインターフェースの開発組み込みのUIエンジンを使用して、サーバーサイドのリアクティブアプリケーションの構築をAIに支援させます。
- 4既存のDjangoアプリとの統合AIを使用して、Djangoプロジェクトにセキュリティ機能やHTTP/2機能を追加します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Duck Framework MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにDuck Framework MCPをインストール
$ claude mcp add --transport http duck https://duckframework.com/mcpCursorにDuck Framework MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"duck": {
"url": "https://duckframework.com/mcp"
}
}
}VS CodeにDuck Framework MCPをインストール
.vscode/mcp.json
{
"servers": {
"duck": {
"type": "http",
"url": "https://duckframework.com/mcp"
}
}
}VS Code CLIにDuck Framework MCPをインストール
$ code --add-mcp '{"name":"duck","type":"http","url":"https://duckframework.com/mcp"}'CodexにDuck Framework MCPをインストール
$ codex mcp add duck --url https://duckframework.com/mcpCodex config.tomlにDuck Framework MCPをインストール
~/.codex/config.toml
[mcp_servers.duck] url = "https://duckframework.com/mcp"
Gemini CLIにDuck Framework MCPをインストール
$ gemini mcp add -s user --transport http duck https://duckframework.com/mcpGemini settings.jsonにDuck Framework MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"duck": {
"url": "https://duckframework.com/mcp",
"type": "http"
}
}
}自動チェック
実行日 2026年11月13日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能合格
- オープンソースライセンス (OSI)合格
- 過去1年以内にコミットまたはリリースあり合格
- パッケージ名が有名なパッケージに酷似していない未チェック
- リモートエンドポイントがHTTPSを使用合格
- 破壊的なツールがラベル付けされている未チェック
- モデルへの隠れた指示がない合格
- パッケージおよびその依存関係に重大な勧告なし未チェック
README
GitHubで見る
Duck Framework is an open-source Python web framework and web server with a built-in reactive UI engine and real-time WebSocket support.
Build high-performance, flexible, scalable, server-side reactive web applications — without a separate frontend framework or a complex JavaScript stack.
(More badges — security, performance, integrations — on the Features page.)
Quickstart
# Install Duck Framework
pip install duckframework
# Create a project
duck makeproject myproject
# Change directory to myproject
cd myproject
# Run the webserver
python web/main.py # Optionally use duck runserver
Visit http://localhost:8000 — you're running Duck. For the full walkthrough (install options, project types, what gets generated), see Getting Started.
HTML & Lively Components
Duck includes everything you need to build your UI, while Quirl, the official component library, provides modern, reusable HTML and Lively components for building richer interfaces and interactions.
Documentation
New to Duck? Start with Getting Started, then Understanding the Project. You'll have everything you need to build your first app. Explore the other guides as your project grows.
1. Start Here
- Getting Started — install Duck, create a project, and start the server.
- Understanding the Project — understand
main.py,urls.py, views, pages, components, templates, and static files.
2. Build with Duck
- Native Apps — get started with Duck Native and native app development.
- Django Integration — add Duck's HTTP/2, HTTPS, and security features to an existing Django project.
- Features — explore Duck's capabilities and planned features.
3. Resources
- AI Guidelines — use Duck with AI assistants and AI-assisted development.
- About & Links — discover real-world apps, useful links, and fun facts.
- Contributing — learn about contributing, reporting issues, sponsorship, and premium components.
- Official Documentation — explore the full documentation.
Duck is updated regularly — check the repo for improvements and bug fixes.
Duck Framework MCPのよくある質問
Duck Framework MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http duck https://duckframework.com/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Duck Framework MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Duck Frameworkとは何ですか?
Duck Frameworkは、組み込みのリアクティブUIエンジンとリアルタイムWebSocketサポートを備えた、オープンソースのPython webフレームワークおよびwebサーバーです。
Duckで新しいプロジェクトを作成するにはどうすればよいですか?
pip経由でフレームワークをインストールした後、duck makeproject myprojectコマンドを実行することで、新しいプロジェクトを作成できます。