dpella-mcp

★ 7.5 · documentation

dpella-mcp is a Claude Code skill that provides a reference for the dpella/mcp Haskell library — types, handler shapes, transports, and the conventions used in Emanote. The library ships as two packages: `mcp-types` (pure types, minimal deps) and `mcp` (a Servant-based server supporting HTTP + JWT, Simple HTTP, and Stdio transports), targeting MCP protocol version `2025-06-18` and GHC 9.6–9.12. The skill covers `initMCPServerState` signature, `ServerCapabilities` and `ProcessHandlers` records, `ToolHandler` construction via `withToolHandlers`, `ProcessResult` variants, logging configuration, and the `DuplicateRecordFields` language extension requirement. Load it before implementing MCP resources, tools, or subscriptions to avoid re-discovering the API through WebFetch.