Skip to main content

Module mcp_server

Module mcp_server 

Source
Expand description

MCP server implementation

Module provides the main MCP server implementation that handles client connections, manages resources, tools, and prompts, and processes JSON-RPC requests according to the Model Context Protocol specification.

§Plugin System Feature

To use the plugin system, enable the plugin feature in Cargo.toml:

[dependencies]
prism-mcp-rs = { version = "3", features = ["plugin"] }

This enables dynamic tool loading and plugin management capabilities.

Structs§

McpServer
MCP Server implementation
ServerConfig
Configuration for the MCP server

Enums§

ServerState
Internal server state