Skip to main content
Glama

OpenAPI REST MCP Server

by SaraNazeer27

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
X_GROUPNoOptional. If your EMPI API requires the x-group header, set a default here. The MCP server will inject this header on every request unless explicitly provided in a tool call.
X_HOSPITALNoOptional. If your API requires the x-hospital header, set a default here. The MCP server will inject this header on every request unless explicitly provided in a tool call.
SERVER_NAMENoOptional. Name to display for the MCP server. Default: fast_mcp_serverfast_mcp_server
API_BASE_URLNoBase URL of your EMPI service. Example: http://localhost:8080
CONTEXT_PATHNoOptional. If your service runs under a servlet context-path, set it here (e.g., /csi-api/empi-api/api). It will be prefixed before OPENAPI_PATH when fetching the spec.
OPENAPI_PATHNoPath to the OpenAPI JSON. Common Spring path: /v3/api-docs
DEFAULT_X_GROUPNoOptional. If your EMPI API requires the x-group header, set a default here. The MCP server will inject this header on every request unless explicitly provided in a tool call.
OPENAPI_FULL_URLNoOptional. If set, this full URL will be used directly to fetch the OpenAPI spec (overrides the previous two). Example: http://localhost:3008/csi-api/empi-api/api/v3/api-docs
DEFAULT_X_HOSPITALNoOptional. If your API requires the x-hospital header, set a default here. The MCP server will inject this header on every request unless explicitly provided in a tool call.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SaraNazeer27/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server