v0.2.0-alpha.20 · World
tools-transport
World definitions for MCP transports and capabilities
This file defines paired worlds for different capability combinations:
- Each transport world has a corresponding provider world
- Transports import the capabilities they support
- Providers export the capabilities they implement
- This allows providers to only implement what they need Serves 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
lifecycle
IA lifecycle for client-server connections that ensures proper capability negotiation and state management. Initialization: Capability negotiation and protocol version agreement Operation: Normal protocol communication Shutdown: Graceful termination of the connection
authorization-types
IType definitions for authentication and authorization
authorization
IAuthorization capabilities are provided at the transport level, enabling MCP clients to make requests to restricted MCP servers on behalf of resource owners.
tools-types
IType definitions for tools
tools
Tools 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.