mcp_servers
MCP server configuration definitions.
This module defines configuration objects used to describe individual MCP
servers. It currently provides MCPServerConfig, a dataclass for specifying
transport type, connection details, launch command information, descriptive
metadata, and the Python executable used for stdio-based server startup.
MCPServerConfig
dataclass
Configuration for an individual MCP server.
Attributes:
| Name | Type | Description |
|---|---|---|
transport |
str
|
Transport method ('streamable-http' or 'stdio') |
url |
Optional[str]
|
URL for streamable-http transport |
command |
Optional[str]
|
Command to launch server for stdio transport |
description |
Optional[str]
|
Human-readable description of the server |
python_executable |
str
|
Path to Python executable (used for stdio transport). |