MCP.so
ログイン

MCP-Haskell (hs-mcp)

@buecking

MCP-Haskell (hs-mcp) について

Haskell server/client for MCP (Model Context Protocol)

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

haskell

トランスポート

stdio

公開者

buecking

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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.

コメント

「その他」の他のコンテンツ