v0.2.0-alpha.12 · World
tools-resources-prompts-completion-provider
Implements the COMPLETION capability
Exports
I
completion
IProvides a standardized way for servers to offer argument autocompletion suggestions for prompts and resource URIs https://modelcontextprotocol.io/specification/2025-06-18/server/utilities/completion The COMPLETION capability https://modelcontextprotocol.io/specification/2025-06-18/server/utilities/completion
prompts
IPrompts 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 The PROMPTS capability https://modelcontextprotocol.io/specification/2025-06-18/server/prompts
resources
IResources allow servers to share data that provides context to language models, such as files, database schemas, or application-specific information. Each resource is uniquely identified by a URI. https://modelcontextprotocol.io/specification/2025-06-18/server/resources The RESOURCES capability. https://modelcontextprotocol.io/specification/2025-06-18/server/resources
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
tools-list
ITools enable models to interact with external systems, such as querying databases, calling APIs, or performing computations. Each tool is uniquely identified by a name and includes metadata describing its schema. https://modelcontextprotocol.io/specification/2025-06-18/server/tools
tools-call
The TOOLS capability https://modelcontextprotocol.io/specification/2025-06-18/server/tools
Imports
I
mcp-types
ICore type definitions for the Model Context Protocol, shared by other interfaces.
lifecycle-types
IType definitions for the MCP lifecycle
tools-types
IType definitions for tools
resources-types
IType definitions for resources
prompts-types
IType definitions for prompts
completion-types
Type definitions for completion