Skip to content

MCP server for coding agents

The problem. A coding agent writes a speech-to-text integration from what it remembers, and what it remembers is often an older API, another vendor’s parameters, or a guess. The result looks right and fails at the first session.

What it does. Gladia’s MCP server gives your agent the current Gladia documentation as tools it calls on its own: it searches the pages, reads the one it needs with its code examples, and cites the links it used. MCP (the Model Context Protocol) is the open standard coding agents use to call outside tools.

  • No API key: the documentation tools read public pages only.
  • Always current: it reads the pages this site publishes, the API reference included, and follows them as they change.
  • Read-only: no tool changes anything, so your agent can call them without asking you each time.
  • Any MCP client: the server speaks Streamable HTTP, the transport every current client supports.

The server’s address: https://eu1.docs.gladia.io/mcp.

Terminal window
claude mcp add --transport http gladia https://eu1.docs.gladia.io/mcp

Then ask your agent something that needs the docs, for example: “Add live transcription to this app with the Gladia Python SDK, with speaker diarization.” It calls search_docs first: your client shows the call.

tool what it does
search_docs Finds the sections that answer a question (query, up to 500 characters), best first, one per page: each with its title, URL and a snippet. limit: 1 to 20 results, 5 by default.
read_doc Reads one page as Markdown, its code examples included. path: an address from search_docs (/live/endpointing/) or a page’s URL.
list_docs Lists every page with its description; section keeps one section (live, text-to-speech…).

The tools cover every page of this site: the guides and the API reference of each endpoint and WebSocket message (search_docs finds POST /v2/live or transcript message). The same pages are here as plain text for any LLM: /llms.txt (the index) and /llms-full.txt (every page).

  • Your agent still needs your API key to run what it wrote. The MCP server helps it write the code; the code calls the API with your key (see Authentication). Never paste a key into a prompt: keep it in an environment variable.
  • A client that only runs local servers (stdio): put an MCP proxy such as mcp-remote in front of the URL.
  • Nothing found? Ask with the API’s own words (endpointing, custom_vocabulary, POST /v2/live) or read the section’s index with list_docs.