● INFRA // MCP · TRL 8

Glama-MCP — AI Gateway MCP Server

A dependency-free MCP server exposing the Glama OpenAI-compatible AI gateway as four tools: list models, chat, stream and request status.

PYTHON MCP LLM JOSS

Overview

A Models Context Protocol (MCP) server that exposes the Glama AI gateway (https://gateway.glama.ai/v1, an OpenAI-compatible endpoint for 100+ models) as MCP tools. Standard library only, Python 3.9+, no model downloads.

MCP clients (Claude Desktop, Cursor, and a growing list of agent runtimes) each expect an MCP server per capability. When a research project needs to call language models across many providers — openai/..., anthropic/..., google/..., and dozens more — wiring every client to every provider is a tangle of credentials and bespoke plugins. Glama centralizes provider access behind one OpenAI-compatible API, but it does not, by itself, hand a model to an MCP client.

glama-gateway-mcp closes exactly that seam. It is a thin, dependency-free MCP server that fronts the gateway: an agent (or IDE, or personal assistant) talks MCP to this one server and gains openai/gpt-4o, anthropic/claude-2, and any other gateway model through four tools — listing models, chat completion, streaming completion, and request-status lookup. One API key, one credential, one endpoint for every connected application.

At a glance

CategoryINFRA // MCP
Repositoryglama-mcp
TRL8/9
Licensesee repository

Capabilities

Run it

Clone the repository and follow the commands below. Full setup, configuration and API keys are documented in the project README.

$ pip install .
# development:
pip install -e ".[dev]"

Validation & provenance

  • Automated tests
  • CI on every push
  • Tagged release
  • Container build
  • Open license
  • Live deployment