Skip to main content
Glama

AgentQL MCP 서버

기본 URL: https://api.agentql.com

카테고리

개발자 도구

도구

4

인증

API 키


설치

빠른 시작 (권장)

API_KEY=YOUR_API_KEY \
uvx mcparmory-agentql

pip 사용

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

MCP 클라이언트 구성

MCP 클라이언트 구성(예: Claude Desktop, Cursor, Codex)에 추가하세요:

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

Related MCP server: web-extractor

자격 증명

다음 환경 변수를 설정하세요(MCP 클라이언트 env 구성, 셸 export 또는 .env 파일을 통해):

  • API_KEY — API 키 인증 (X-API-Key) 자격 증명을 버전 관리에 커밋하지 마십시오.


로컬 실행

먼저, .env에 자격 증명을 구성하세요(위의 자격 증명 참조).

pip install -r requirements.txt
python server.py

MCP 클라이언트 연결

.mcp.json을 편집하고 <SERVER_DIR>을 이 디렉토리의 절대 경로로 바꾼 다음 MCP 클라이언트 구성에 추가하세요.

예시 (서버가 /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

소스에서 빌드

먼저, .env에 자격 증명을 구성하세요(위의 자격 증명 참조).

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

실행 전, 8000번 포트가 비어 있는지 확인하세요.### MCP 클라이언트 구성 (Docker)

Docker의 경우, MCP 클라이언트 구성에서 SSE 전송을 사용하세요:

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

파일

  • .env - 자격 증명 및 서버 구성

  • .mcp.json - MCP 클라이언트 구성 템플릿

  • Dockerfile - 컨테이너 빌드

  • LICENSE - 이 생성된 코드에 대한 MIT 라이선스

  • requirements.txt - Python 의존성

  • README.md - 이 파일

  • server.py - MCP 서버 진입점

  • _auth.py - 인증 핸들러

  • _models.py - 요청/응답 모델

  • _validators.py - 입력 유효성 검사

참고: .으로 시작하는 파일은 macOS/Linux에서 기본적으로 숨겨져 있습니다. 터미널에서 ls -a를 사용하거나 파일 관리자에서 "숨김 파일 표시"를 활성화하여 .env 및 .mcp.json을 확인하세요.


Available Tools

4 tools
create_browser_sessionA

Creates a new Tetra browser session with configurable user agent, profile, proxy, and lifecycle settings. Returns session details needed to connect and interact with the browser.

Inputs: browser_ua_preset, browser_profile, shutdown_mode, inactivity_timeout_seconds, +2 more.

get_usageA

Retrieves current API key usage statistics and subscription details for the authenticated account. Useful for monitoring consumption limits and understanding remaining quota.

Inputs: no named parameters.

list_session_usageA

Retrieve a paginated list of Tetra browser session usage records for the authenticated user, with optional filtering by user, session, time range, and status.

Inputs: sub_user_id, session_id, start_after, end_before, +3 more.

query_webpage_dataB

Extracts structured data from a webpage using an AgentQL query or a natural language prompt. Accepts either a live URL or raw HTML as the data source.

Inputs: content-type (required), query, prompt, url, +7 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct functionality: browser session creation, API usage statistics, session usage records, and webpage data extraction. No overlap in purposes.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern (create_browser_session, get_usage, list_session_usage, query_webpage_data).

    Tool Count4/5

    4 tools is slightly below average but reasonable for the focused domain of browser automation and data extraction. Could benefit from additional lifecycle management tools.

    Completeness3/5

    Missing session deletion/closure (only create is provided) and session updating. Usage tracking is well covered, and webpage querying is present, but lifecycle is incomplete.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables natural language web data extraction into structured JSON via browser automation, supporting field-based and goal-based modes with optional vision.
      1
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to browse websites, extract information, fill forms, interact with pages, and execute multi-step web tasks autonomously.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents in Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI and Codex to scrape web pages into Markdown, text, HTML, JSON or PDF, extract structured data with selectors or autoparse, capture screenshots and PDFs the model can see, drive pages with typed browser actions, keep logged-in persistent browser sessions, and batch-scrape thousands of URLs as async jobs. It also exposes usage, request-log and documentation tools so agents can check costs, diagnose failures and look up parameters without leaving the chat.
      25
      Apache 2.0