Duck Framework MCP
Official Duck Framework MCP server for AI-assisted development and project scaffolding.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http duck-framework-mcp 'https://duckframework.com/mcp'
{
"mcpServers": {
"duck-framework-mcp": {
"type": "http",
"url": "https://duckframework.com/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على 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؟
Official Duck Framework MCP server for AI-assisted development and project scaffolding.
كيف أثبّت Duck Framework MCP؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http duck-framework-mcp 'https://duckframework.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Duck Framework MCP إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Duck Framework MCP مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص BSD-3-Clause.
من يصون Duck Framework MCP؟
ينشره duckframework. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.