Skip to main content
Glama
sgaluza

api-to-mcp

by sgaluza

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API2MCP_API_KEYNoAPI key → header name from securitySchemes
API2MCP_BASE_URLNoOverride base URL from spec's servers[0].url
API2MCP_PASSWORDNoPassword for JWT password auth
API2MCP_SPEC_URLNoOpenAPI spec URL or file path (alternative to positional argument)
API2MCP_USERNAMENoUsername for JWT password auth
API2MCP_AUTH_TYPENoAuth type — currently supports jwt-password
API2MCP_AUTH_TOKENNoRaw Authorization header value
API2MCP_BEARER_TOKENNoBearer token → Authorization: Bearer <token>
API2MCP_AUTH_LOGIN_URLNoJWT login endpoint URL
API2MCP_AUTH_TOKEN_PATHNoPath to JWT in login response (default: token)
API2MCP_AUTH_REFRESH_URLNoJWT refresh endpoint URL
API2MCP_AUTH_PASSWORD_FIELDNoRequest body field for password (default: password)
API2MCP_AUTH_USERNAME_FIELDNoRequest body field for username (default: username)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/sgaluza/api-to-mcp'

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