Expand description
MCP (Model Context Protocol) server domain types.
These types represent MCP servers in the system, independent of any infrastructure concerns (database, process management, etc.).
§Design
McpServer- A persisted MCP server with IDNewMcpServer- An MCP server to be inserted (no ID yet)McpServerConfig- Execution configuration (exe_path, args, URL,path_extra)McpServerType- Connection type (stdio or SSE)McpServerStatus- Runtime status (stopped, starting, running, error)McpEnvEntry- Environment variable entryMcpTool- Tool exposed by an MCP serverMcpToolResult- Result of a tool invocation
Modules§
- types 🔒
- MCP server domain types.
Structs§
- McpEnv
Entry - Environment variable entry for MCP servers.
- McpServer
- An MCP server that exists in the system with a database ID.
- McpServer
Config - Execution configuration for an MCP server.
- McpTool
- Tool definition from an MCP server.
- McpTool
Result - Result of a tool call.
- NewMcp
Server - An MCP server to be inserted into the system (no ID yet).
- Update
McpServer - Request for updating an existing MCP server.
Enums§
- McpServer
Status - Runtime status of an MCP server.
- McpServer
Type - Type of MCP server connection.