MCP.so
Sign In

MCP-Haskell (hs-mcp)

@buecking

About MCP-Haskell (hs-mcp)

Haskell server/client for MCP (Model Context Protocol)

Basic information

Category

Other

License

MIT

Runtime

haskell

Transports

stdio

Publisher

buecking

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP-Haskell (hs-mcp)?

MCP-Haskell (hs-mcp) is a Haskell implementation of the Model Context Protocol (MCP). It allows Haskell applications to expose tools, resources, and prompts to MCP‑compatible clients such as Claude. This library is intended for Haskell developers building MCP servers.

How to use MCP-Haskell (hs-mcp)?

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.

Key features of MCP-Haskell (hs-mcp)

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

Use cases of MCP-Haskell (hs-mcp)

  • Expose Haskell functions as MCP tools for AI clients
  • Serve static or dynamic resources to MCP‑compatible applications
  • Build custom MCP servers in Haskell (e.g., an echo server)
  • Integrate Haskell backends with Claude Desktop or MCP Inspector

FAQ from MCP-Haskell (hs-mcp)

What is MCP-Haskell (hs-mcp)?

It is a Haskell implementation of the Model Context Protocol, enabling Haskell programs to act as MCP servers.

What are the build dependencies?

The project requires GHC and Cabal. Optionally, Nix (and direnv) can be used for development. Run cabal build or nix develop to set up the environment.

Which transport protocol is supported?

Only StdIO transport is implemented for local process communication.

Is MCP-Haskell compatible with Claude Desktop?

Yes, it is compatible with Claude Desktop, the MCP Inspector, and other clients that follow the MCP specification.

What license does MCP-Haskell use?

The project is licensed under the BSD‑3‑Clause License.

Comments

More Other MCP servers