hs-mcp-0.1.1.0: Library with tools for creating an MCP server implementation.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.MCP.Server.Types

Synopsis

Documentation

data Server Source #

Server type with resources, tools, prompts and handlers

Constructors

Server 

Fields

type ServerHandler = Server -> Value -> IO Value Source #

Server handler for message processing

type ToolCallHandler = CallToolRequest -> IO CallToolResult Source #

Tool call handler type