Skip to main content
Glama

AgentQL MCP Server

Base URL: https://api.agentql.com

Category

Developer Tools

Tools

4

Auth

API Key


Install

API_KEY=YOUR_API_KEY \
uvx mcparmory-agentql

With pip

pip install mcparmory-agentql
API_KEY=YOUR_API_KEY \
mcparmory-agentql

MCP Client Configuration

Add to your MCP client config (e.g. Claude Desktop, Cursor, Codex):

{
  "mcpServers": {
    "agentql": {
      "command": "uvx",
      "args": ["mcparmory-agentql"],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Credentials

Set the following environment variables (via MCP client env config, shell export, or .env file):

  • API_KEY — API Key Authentication (X-API-Key) Do not commit credentials to version control.


Run Locally

First, configure your credentials in .env (see Credentials above).

pip install -r requirements.txt
python server.py

Connect MCP Client

Edit .mcp.json and replace <SERVER_DIR> with the absolute path to this directory, then add to your MCP client configuration.

Example (if server is at /home/user/mcp-servers/agentql):

{
  "mcpServers": {
    "agentql": {
      "command": "python",
      "args": ["/home/user/mcp-servers/agentql/server.py"]
    }
  }
}

Docker

docker run -p 8000:8000 \
  -e API_KEY=YOUR_API_KEY \
  ghcr.io/mcparmory/agentql:latest

Build from source

First, configure your credentials in .env (see Credentials above).

docker build -t agentql .
docker run -p 8000:8000 --env-file .env agentql

Before running, make sure ports 8000 are free.### MCP client config (Docker)

For Docker, use SSE transport in your MCP client config:

{
  "mcpServers": {
    "agentql": {
      "type": "sse",
      "url": "http://localhost:8000/sse"
    }
  }
}

Files

  • .env - Credentials and server configuration

  • .mcp.json - MCP client config template

  • Dockerfile - Container build

  • LICENSE - MIT license for this generated code

  • requirements.txt - Python dependencies

  • README.md - This file

  • server.py - MCP server entry point

  • _auth.py - Authentication handlers

  • _models.py - Request/response models

  • _validators.py - Input validation

Note: Files starting with . are hidden by default on macOS/Linux. Use ls -a in terminal or enable "Show hidden files" in your file manager to see .env and .mcp.json.


Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/mcparmory/registry'

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