INNER CODE UNIT · Python
from_openapi
concierge-hq/concierge · __init__.py:154
def from_openapi(
cls,
openapi_spec: dict,
*,
name: str = "OpenAPI Server",
config: Optional[Config] = None,
**kwargs,
) -> "Concierge":
"""Create a Concierge server from an OpenAPI specification.
Requires the `fastmcp` package: pip install concierge-sdk[openapi]
Args:
openapi_spec: OpenAPI schema as a dictionary
name: Name for the MCP server
config: Concierge config (provider type, etc.)
**kwargs: Additional kwargs passed to Concierge()
"""