-
Notifications
You must be signed in to change notification settings - Fork 7
[MCP] E2E tests, docs, and migration from external addon #623
Copy link
Copy link
Open
Labels
area:mcpModel Context Protocol (MCP) server: protocol, profiles, stdio CLIModel Context Protocol (MCP) server: protocol, profiles, stdio CLIdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestfeature:mcp-v1Rollout of native MCP server v1 (HarperFast/harper#465). Removed when v1 closes.Rollout of native MCP server v1 (HarperFast/harper#465). Removed when v1 closes.testsMostly focused on tests, testing infrastructure, etc.Mostly focused on tests, testing infrastructure, etc.
Milestone
Metadata
Metadata
Assignees
Labels
area:mcpModel Context Protocol (MCP) server: protocol, profiles, stdio CLIModel Context Protocol (MCP) server: protocol, profiles, stdio CLIdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestfeature:mcp-v1Rollout of native MCP server v1 (HarperFast/harper#465). Removed when v1 closes.Rollout of native MCP server v1 (HarperFast/harper#465). Removed when v1 closes.testsMostly focused on tests, testing infrastructure, etc.Mostly focused on tests, testing infrastructure, etc.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Scope. Final v1 PR: end-to-end test suite using an off-the-shelf MCP SDK, user-facing documentation, sample MCP client configs, and the deprecation path for the external
HarperFast/mcp-serveraddon.Design reference. Sections "Verification", "Migration from the external addon", and "Client Configuration & Invocation" in #465.
Acceptance criteria
test/integration/mcp/driven by@modelcontextprotocol/sdk(TypeScript SDK).initialize→tools/list→tools/callfordescribe_all,add_user,create_schema, with varied roles.get_*,search_*,create_*,update_*,delete_*on a seeded table.search_*.tools/list_changedfires afteralter_rolein another session.harper mcpstdio (UDS) connections exercised.harper mcpCLI usage, Claude Desktop / Cursor / Zed config examples, and the migration mapping from the external addon.HarperFast/mcp-serverrepo: deprecation README pointing to the native integration; archive the repo on this PR's merge.npm run test:integration:mcpregistered as a script and added to the integration shard rotation in CI.Out of scope. Shipping defaults that auto-enable MCP (
static/defaultConfig.yamlcontinues to omit themcp:block — MCP stays opt-in via block presence). v1.1 work: OAuth, scoped MCP tokens, rate-limit telemetry.Stacks on. #617, #618, #619, #620, #621, #622 (all v1 functional work).
Branch & PR conventions
feat/mcp-e2e-docs-migrationmain(after the rest of v1 merges).Smoke test
Tracking. Part of #465. Sub-issue #11 of 11. Final v1 PR.