MCP-Haskell (hs-mcp)

by buecking

24 stars
333 downloads
Not rated
GitHub

About

Haskell server/client for MCP (Model Context Protocol)

Details

Author
buecking
GitHub stars
24
Downloads
333
Categories
Other

- Full implementation of the MCP protocol
- StdIO transport for local process communication
- JSON‑RPC messaging
- Support for resources, tools, and prompts
- Comprehensive test suite

Clone the repository, then build with cabal build (or use Nix with nix develop). A simple server is created by defining an Implementation, ServerCapabilities, registering resources and tools with handlers, and starting the server via runServerWithSTDIO. An example echo server can be run with cabal run mcp-echo-server and tested with the MCP Inspector or Claude Desktop.

MCP-Haskell (hs-mcp)

A Haskell implementation of the Model Context Protocol (MCP).

Overview

MCP-Haskell (hs-mcp) provides a Haskell implementation of the Model Context Protocol, allowing Haskell applications to expose tools, resources, and prompts to MCP-compatible clients like Claude.

Key features:

- Full implementation of MCP protocol
- StdIO transport for local process communication
- JSON-RPC messaging
- Support for resources, tools, and prompts
- Comprehensive test suite

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.