-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
priority/criticalP0: Must fix - blocks core contracts or has security implicationsP0: Must fix - blocks core contracts or has security implications
Description
Problem
@outfitter/mcp is not implemented. Blocks building any MCP-based tools. Core to the dual-transport (CLI + MCP) architecture.
Required
Per SPEC.md and PLAN.md:
createMcpServer(options)- Factory for MCP serverdefineTool<I, O, E>()- Type-safe tool registrationdefineResource()- Resource registration- Pagination adapter for cursor-based results
- Error translation (TaggedError → MCP error responses)
- Transport-agnostic handler invocation
Dependencies
@modelcontextprotocol/sdk@outfitter/contracts@outfitter/logging
Acceptance Criteria
- McpServer wraps @modelcontextprotocol/sdk
- Tools invoke handlers with HandlerContext
- Errors translated to MCP error format
- Pagination cursors work across MCP calls
- Integration test with CLI harness
Metadata
Metadata
Assignees
Labels
priority/criticalP0: Must fix - blocks core contracts or has security implicationsP0: Must fix - blocks core contracts or has security implications