mcp
This library provides a complete server implementation of the Model Context Protocol (MCP) for Haskell, built on Servant with JWT authentication via servant-auth-server. It re-exports the core protocol types from mcp-types for convenience. MCP is a protocol that enables seamless communication between AI models and external tools, resources, and services. This implementation supports MCP protocol version 2025-06-18 with full compatibility for resources, tools, prompts, completions, elicitation, and all standard MCP message types. The server uses HTTP transport with streaming SSE responses at the /mcp endpoint. An extensible handler framework (ProcessHandlers, ToolHandler) allows implementing custom MCP servers with minimal boilerplate.
hackage.haskell.org
0.3.0.1
1 day ago
5
67 total
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
Repository
| Stars | 14 on GitHub |
| Forks | 6 on GitHub |