Skip to content

ExternalServerBase

Sub classes

Name Children Inherits
URLServerConfig
mcp_server_llmling.server_federation
Configuration for connecting to an existing MCP server via URL.
    CommandServerConfig
    mcp_server_llmling.server_federation
    Configuration for starting and connecting to an MCP server via command.

      Base classes

      Name Children Inherits
      BaseModel
      pydantic.main
      !!! abstract "Usage Documentation"

      ⋔ Inheritance diagram

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

      🛈 DocStrings

      Bases: BaseModel

      Base configuration for external MCP server.

      Source code in src/mcp_server_llmling/server_federation.py
      class ExternalServerBase(BaseModel):
          """Base configuration for external MCP server."""
      
          type: str = Field(init=False)
          name: str
          transport: Literal["http"] = "http"
      

      :fa-brands-github: Show source on GitHub