Duck Framework MCP
Official Duck Framework MCP server for AI-assisted development and project scaffolding.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- LOWget_blueprint_locations에서
- LOWget_project_structure에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"duckframework-mcp": {
"url": "https://duckframework.com/mcp"
}
}
}원격 엔드포인트
https://duckframework.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (13)
🟢fetch_ai_guide(guide)
Fetch an official Duck Framework AI guide. Use this after get_ai_guides() to retrieve the full guide content for AI-assisted Duck Framework development. Always read the relevant guide before generating code instead of relying on memory.
입력 스키마
{
"type": "object",
"properties": {
"guide": {
"type": "string"
}
},
"required": [
"guide"
]
}🟢get_ai_guides
List available Duck Framework AI guides. Use this to discover available guides before fetching one with fetch_ai_guide(). Returns guide identifiers and their descriptions.
입력 스키마
{
"type": "object",
"properties": {},
"required": []
}🟢get_blueprint_locations
Explain where Duck Framework blueprints can be located. Describes the supported blueprint layouts and when each organization approach is appropriate.
입력 스키마
{
"type": "object",
"properties": {},
"required": []
}🟢get_blueprint_structure
Return the standard internal structure of a Duck Framework blueprint. Use this before generating a new blueprint or adding files to an existing one to understand where components, pages, templates, automations, and views belong.
입력 스키마
{
"type": "object",
"properties": {},
"required": []
}🟢get_component_api(component_name)
Look up a built-in Duck Framework component API. Returns the confirmed import path, container type, and supported keyword arguments for a component without requiring the full HTML components guide to be loaded. Use this before using any component that has not already been confirmed. Returns close-name suggestions when the component does not exist.
입력 스키마
{
"type": "object",
"properties": {
"component_name": {
"type": "string"
}
},
"required": [
"component_name"
]
}🟢get_project_structure
Return the standard Duck Framework project directory structure. Use this before creating or modifying projects to understand where files and directories belong.
입력 스키마
{
"type": "object",
"properties": {},
"required": []
}🟢lint_component_code(code)
Check Duck Framework component or page code for common mistakes. Detects known patterns such as incorrect component imports, invalid page imports, incorrect Heading usage, leading-underscore method names, and separator comments. This is a pattern check for known issues, not a complete correctness validator. An empty result only means no known issues were detected. Run this on generated component code before presenting it as final.
입력 스키마
{
"type": "object",
"properties": {
"code": {
"type": "string"
}
},
"required": [
"code"
]
}🟢list_doc_categories(version)
List all Duck Framework documentation categories and their pages. Use this when browsing available documentation without a specific search query.
입력 스키마
{
"type": "object",
"properties": {
"version": {
"type": "string"
}
},
"required": []
}🟡plan_feature(request, version)
Analyze a Duck Framework feature request and create an implementation plan. Returns relevant documentation to read and a suggested order of operations before writing code. Use this before implementing non-trivial Duck Framework features.
입력 스키마
{
"type": "object",
"properties": {
"request": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"request"
]
}⚪reindex_docs(version)
Rebuild the Duck Framework documentation index. Crawls the live documentation sitemap for a given version and merges the result in: curated tags/summary/category are preserved, new pages are added, and pages no longer in the sitemap are removed. Requires the admin scope.
입력 스키마
{
"type": "object",
"properties": {
"version": {
"type": "string"
}
},
"required": []
}🟡scaffold_blueprint(blueprint_name, urlpatterns, enable_template_dir, enable_static_dir, prepend_name_to_urls)
Scaffold a new Duck Framework blueprint. Generates a blueprint structure containing blueprint.py, views.py, and optional UI, template, and static directories following the documented Duck blueprint conventions. Returns generated file contents and the settings configuration needed to register the blueprint. This tool does not write files.
입력 스키마
{
"type": "object",
"properties": {
"blueprint_name": {
"type": "string"
},
"urlpatterns": {
"type": "string"
},
"enable_template_dir": {
"type": "string"
},
"enable_static_dir": {
"type": "string"
},
"prepend_name_to_urls": {
"type": "string"
}
},
"required": [
"blueprint_name"
]
}🟡scaffold_project(project_name, features)
Scaffold a new Duck Framework project. Returns the required CLI commands and generated file contents for supported features with confirmed APIs. Unsupported features return documentation guidance instead of generated code to avoid guessing framework APIs. This tool does not write files. It only returns generated content for the calling client to add to the user's project directory.
입력 스키마
{
"type": "object",
"properties": {
"project_name": {
"type": "string"
},
"features": {
"type": "string"
}
},
"required": [
"project_name"
]
}🟢search_docs(query, top_k, category, version)
Fuzzy-search the Duck Framework documentation. Use this whenever the correct documentation page for a feature is unknown. Returns ranked matches containing title, URL, category, summary, and relevance score.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"top_k": {
"type": "string"
},
"category": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"query"
]
}커뮤니티
증거