| Copyright | (C) 2025 Matthias Pall Gissurarson |
|---|---|
| License | MIT |
| Maintainer | mpg@mpg.is |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
MCP.Server.StdIO
Contents
Description
This module provides MCP server implementation for stdin/stdout streams.
Synopsis
- runServer :: MCPServer MCPServerM => ServerConfig -> IO ()
- data ServerConfig = ServerConfig {}
Server Runner
runServer :: MCPServer MCPServerM => ServerConfig -> IO () Source #
Run the MCP server with the given configuration
data ServerConfig Source #
Configuration for running an MCP server
Constructors
| ServerConfig | |
Instances
| Show ServerConfig Source # | |
Defined in MCP.Server Methods showsPrec :: Int -> ServerConfig -> ShowS # show :: ServerConfig -> String # showList :: [ServerConfig] -> ShowS # | |