Skip to content

CommandServerConfig

Base classes

Name Children Inherits
ExternalServerBase
mcp_server_llmling.server_federation
Base configuration for external MCP server.

⋔ Inheritance diagram

graph TD
  3027089039["server_federation.CommandServerConfig"]
  122671150["server_federation.ExternalServerBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  122671150 --> 3027089039
  3879467795 --> 122671150
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ExternalServerBase

Configuration for starting and connecting to an MCP server via command.

Source code in src/mcp_server_llmling/server_federation.py
class CommandServerConfig(ExternalServerBase):
    """Configuration for starting and connecting to an MCP server via command."""

    type: Literal["command"] = Field("command", init=False)
    command: str
    args: list[str] = Field(default_factory=list)
    env: dict[str, str] = Field(default_factory=dict)

:fa-brands-github: Show source on GitHub