Skip to main content
Glama
waldur

Waldur MCP Server

Official
by waldur

query

Execute read-only SQL queries to retrieve data from Waldur instances through the MCP server for integration and management tasks.

Instructions

Run a read-only SQL query

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes

Implementation Reference

  • Handler function for the MCP 'query' tool. Decorated with @mcp.tool(), it accepts an SQL string and executes it via the Waldur API client using api_query.asyncio.
    @mcp.tool() async def query(sql: str) -> list[Any]: """Run a read-only SQL query""" return await api_query.asyncio(client=client, body=QueryRequest(query=sql))

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/waldur/waldur-mcp-server'

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