Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_HOSTNoHTTP bind host for the MCP server when using HTTP transport.
MCP_HTTP_PATHNoMCP endpoint path, such as '/mcp', for HTTP transport.
MCP_HTTP_PORTNoHTTP port for the MCP server when using HTTP transport.
MCP_TRANSPORTNoTransport mode for the MCP server, either 'stdio' or 'http'.stdio
OPENAPI_BACKENDSNoJSON array of backend configurations.
DEFAULT_BACKEND_IDNoDefault backend ID; if unset, uses 'swagger-petstore'.swagger-petstore
MCP_HTTP_STATELESSNoSet to 'true' for stateless HTTP mode.
OPENAPI_CACHE_TTL_MSNoIn-memory spec cache TTL in milliseconds.
OPENAPI_BACKENDS_FILENoPath to a backend config JSON file.
OPENAPI_FETCH_TIMEOUT_MSNoFetch timeout for spec loading in milliseconds.
OPENAPI_ENABLE_SWAGGER_UI_SCRIPT_EXTRACTIONNoOpt in to strict JSON object extraction from static Swagger UI scripts; fetched JavaScript is never executed.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_backendsB

List configured backend targets available for OpenAPI tools.

load_openapi_specA

Load or refresh OpenAPI spec from a URL. Use this first if tools fail because docs path changed.

list_api_endpointsC

List endpoints from the currently loaded OpenAPI document.

get_endpoint_contractA

Return full contract for one endpoint: params, request schema, response schema, and referenced DTO names.

generate_typescript_dtoB

Generate TypeScript DTO type declarations from OpenAPI components schema. Includes referenced nested DTO types.

propose_new_endpointB

Create a best-effort endpoint + DTO proposal aligned with deterministic patterns found in the current OpenAPI spec.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: generate_typescript_dto creates TypeScript types, get_endpoint_contract retrieves endpoint details, list_api_endpoints lists endpoints, list_backends lists backends, load_openapi_spec loads specs, and propose_new_endpoint proposes new endpoints. The descriptions make it easy to differentiate their functions.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern using snake_case: generate_typescript_dto, get_endpoint_contract, list_api_endpoints, list_backends, load_openapi_spec, and propose_new_endpoint. This uniformity makes the tool set predictable and easy to navigate.

Tool Count5/5

With 6 tools, the count is well-scoped for an OpenAPI-focused server, covering core operations like loading specs, listing endpoints and backends, generating types, and proposing new endpoints. Each tool earns its place without feeling excessive or insufficient.

Completeness4/5

The tool set provides strong coverage for OpenAPI workflows, including loading specs, listing endpoints/backends, generating DTOs, and proposing new endpoints. A minor gap exists in lacking direct update or delete operations for endpoints or backends, but agents can work around this given the server's focus on analysis and generation.

Maintenance

ActivityInactive
ResponsivenessNo issues