Copyright | (C) 2025 Matthias Pall Gissurarson |
---|---|
License | MIT |
Maintainer | mpg@mpg.is |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
MCP.Server.HTTP
Description
This module provides MCP server implementation for HTTP communication.
Synopsis
- runServerHTTP :: MCPServer MCPServerM => HTTPServerConfig -> IO ()
- data HTTPServerConfig = HTTPServerConfig {}
- defaultDemoOAuthConfig :: OAuthConfig
Server Runner
runServerHTTP :: MCPServer MCPServerM => HTTPServerConfig -> IO () Source #
Run the MCP server as an HTTP server
data HTTPServerConfig Source #
Configuration for running an MCP HTTP server
Constructors
HTTPServerConfig | |
Fields |
Instances
Show HTTPServerConfig Source # | |
Defined in MCP.Server.HTTP Methods showsPrec :: Int -> HTTPServerConfig -> ShowS # show :: HTTPServerConfig -> String # showList :: [HTTPServerConfig] -> ShowS # |
Demo Configuration Helpers
defaultDemoOAuthConfig :: OAuthConfig Source #
Default demo OAuth configuration for testing purposes