v0.2.0-alpha.10 · World
prompts-transport
Prompts allow servers to provide structured messages and instructions for interacting with language models. Clients can discover available prompts, retrieve their contents, and provide arguments to customize them. https://modelcontextprotocol.io/specification/2025-06-18/server/prompts Serves the PROMPTS capability over the Streamable HTTP transport
Imports
I
mcp-types
ICore type definitions for the Model Context Protocol, shared by other interfaces.
lifecycle-types
IType definitions for the MCP lifecycle
lifecycle
ILifecycle for client-server connections that ensures proper capability negotiation and state management. https://modelcontextprotocol.io/specification/2025-06-18/basic/lifecycle Handles connection lifecycle events https://modelcontextprotocol.io/specification/2025-06-18/basic/lifecycle
prompts-types
IType definitions for prompts
prompts
The PROMPTS capability https://modelcontextprotocol.io/specification/2025-06-18/server/prompts