- Flesh out docs/index.md, docs/config.md, docs/features/mcp.md, docs/features/kanban.md with full content and aligned tables - Fix .markdownlint-cli2.mjs config (rules were outside 'config' key) - Add packages/mcp as a standalone MCP server package - Update all pubspec descriptions - Implement DewCommand + CommandRegistry in core - Implement KanbanCommand and McpCommand stubs with registerCommands() - Wire CLI entry point using CommandRunner + CommandRegistry - Add 'melos run dew' script for running the CLI from workspace root - Update tests across core, kanban, mcp packages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1.1 KiB
1.1 KiB
Dew Model Context Protocol (MCP) Server
The Dew Model Context Protocol (MCP) Server is a feature that allows AI agents to interact with your project. This enables you to integrate AI capabilities into your project management workflow, such as automated task creation, progress tracking, and more.
Package structure
The MCP feature is split across two packages to keep concerns separate:
packages/coredefines theMcpToolProviderinterface. Any feature package that wants to expose tools to AI agents implements this interface — without needing to depend on the MCP server itself.packages/mcpimplements the actual server. It collects all registeredMcpToolProviderimplementations and serves them over the configured host and port. Only theclipackage depends onpackages/mcp; feature packages likekanbanremain decoupled from the transport layer.
Configuration
The MCP server is configured under the mcp key in .project/dew.yaml. By default it runs on localhost at port 8080.
dew:
mcp:
host: "localhost"
port: 8080
See the Configuration documentation for full details.