Skip to main content
Glama

Maango MCP Server

CI License: MIT Python 3.10+ Docker (GHCR)

The permissions layer for AI agents on the web. Before your agent scrapes, summarises, trains on, or otherwise uses content from a website, ask Maango what's allowed. One call, canonical answer.

Why

Every site that publishes a robots.txt, ai.txt, llms.txt, TDM-Rep header, or AI-specific ToS clause is telling agents what they can and can't do. Today no one parses all eight standards. NYT, Reddit, and Stack Overflow are suing over training data; the EU AI Act now requires opt-out compliance. Building this gate from scratch is weeks of work per agent.

Maango aggregates 1,000,000+ domains × 8 AI-policy standards into one canonical answer. Your agent calls check_permission(domain, action) and gets back allowed: true/false + a structured reason. That's it.

Related MCP server: blackwall-mcp

Tools exposed

Tool

What it does

check_permission(domain, action, agent_id?)

Decide in one call whether an action is allowed. Returns allowed + reason code + explanation + stance + signals.

lookup_domain(domain)

Summary of a domain's AI policy — stance, use-cases, bots, signals.

lookup_domain_full(domain)

Full raw policy data including robots.txt, ai.txt, llms.txt, TDM-Rep, meta tags.

lookup_domain_conflicts(domain)

Cross-signal conflicts (e.g. robots.txt vs ToS).

search_domains(query, stance?, limit?, offset?)

Prefix search the registry with optional stance filter.

batch_check(domains[])

Compare policies across 2–25 domains side by side.

get_changelog(domain?, change_type?, limit?, offset?)

Policy change history.

Reason codes returned by check_permission

  • compliant — action explicitly permitted

  • action_blocked — the specific use-case (training/search/ai_input) is blocked

  • bot_blocked — the named agent_id is on the domain's blocked-bots list

  • stance_blocks_all — domain blocks all AI access site-wide

  • no_policy — no policy on file; conservative default is deny

  • unspecified — action or use-case not addressed by the policy

  • lookup_error — registry could not be reached

Installation

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "maango": {
      "url": "https://mcp.maango.io/sse"
    }
  }
}

Restart Claude Desktop. Ask: "Check if I can scrape nytimes.com for training data."

Cursor

Settings → MCP → Add new MCP Server:

{
  "maango": {
    "url": "https://mcp.maango.io/sse"
  }
}

Cline / Zed / any MCP client

Point them at https://mcp.maango.io/sse. No auth required for the hosted endpoint.

Local development (stdio)

git clone https://github.com/maango-io/maango-mcp.git
cd maango-mcp
uv venv && source .venv/bin/activate
uv pip install -e .
cp .env.example .env          # optionally add MAANGO_API_KEY for higher rate limits
maango-mcp                    # runs with stdio transport

Then in Claude Desktop:

{
  "mcpServers": {
    "maango": {
      "command": "maango-mcp"
    }
  }
}

Self-hosting

Any platform that can run a Python HTTP service works. Quick Docker path:

docker build -t maango-mcp .
docker run -p 8000:8000 \
  -e MAANGO_API_KEY=maango_sk_xxx \
  -e MAANGO_MCP_TRANSPORT=sse \
  maango-mcp

Environment variables:

Var

Default

Purpose

MAANGO_MCP_TRANSPORT

stdio

stdio | sse | streamable-http

MAANGO_MCP_HOST

0.0.0.0

Bind address (remote transports only)

MAANGO_MCP_PORT

8000

Bind port (remote transports only)

MAANGO_API_BASE_URL

https://api.maango.io

Maango REST API base URL

MAANGO_API_KEY

(none)

Optional bearer token for higher rate limits

How it works

┌────────────────┐     MCP (sse/streamable-http)     ┌─────────────────┐
│ Claude Desktop │ ◄───────────────────────────────► │  mcp.maango.io  │
│  Cursor, …     │                                   │  (this server)  │
└────────────────┘                                   └────────┬────────┘
                                                              │ HTTPS
                                                              ▼
                                                     ┌─────────────────┐
                                                     │  api.maango.io  │
                                                     │  (REST, 1M      │
                                                     │   domains)      │
                                                     └─────────────────┘

The MCP server is a thin wrapper. The real data lives in the Maango REST API. We normalise the response into MCP-friendly tool output and handle the action → use-case mapping (e.g. "scrape" → training policy check).

Observability

The server exposes two HTTP endpoints when running on sse or streamable-http transports (not stdio — there's no port to bind):

  • GET /health — cheap liveness probe, no upstream call. Used by Docker HEALTHCHECK, nginx, and uptime monitors.

  • GET /metrics — Prometheus exposition. Tracks maango_mcp_tool_requests_total{tool,status} and maango_mcp_tool_duration_seconds{tool} (histogram).

Logs are emitted as one JSON object per stderr line with a per-tool-call req_id that propagates through the client and decision-tree. Pipe stderr to your log shipper of choice (Loki / Datadog / CloudWatch).

Development

See CONTRIBUTING.md for the full workflow. Quick start:

uv sync --extra dev
uv run pytest -q
uv run maango-mcp                                # stdio
MAANGO_MCP_TRANSPORT=sse uv run maango-mcp       # SSE on :8000

Security disclosures: see SECURITY.md.

Roadmap (not in v0.1)

  • Web Bot Auth signature verification

  • Capability-token issuance (Biscuits / Macaroons)

  • Payment-required flow via x402

  • Receipt IDs with tamper-evident Merkle proof

  • Real-time policy negotiation (Phase 3)

The roadmap is shaped by what users actually need — see Issues for the live list.

Contributing

If you find this useful:

  • ⭐ Star the repo — that's how more agents find it.

  • 🐛 Open an issue for bugs, missing domains, or anything in a tool's output that surprised you. Include the req_id from the JSON log line if you have it.

  • 💡 Have a use case the current 7 tools don't cover? File an issue with a real example — that beats abstract feature requests every time.

  • 🛠 PRs welcome — see CONTRIBUTING.md for the dev workflow and PR checklist.

  • 🔒 Security disclosures: SECURITY.md. Email instead of opening an issue.

License

MIT — see LICENSE.

Available Tools

7 tools
batch_checkA

Compare AI policies across multiple domains using the Maango registry.

Looks up 2-25 domains at once and returns each domain's stance, use-case policies, and bot lists side-by-side.

Args: domains: List of 2-25 domains to compare (e.g. ["nytimes.com", "github.com"]).

Inputs: domains (required). Returns: result

check_permissionA

Check whether an AI agent is permitted to perform a specific action on a given domain.

Returns a structured compliance decision with allowed (bool), a reason code, a human-readable explanation, the domain's stance, and the signals that informed the answer. Use this before your agent scrapes, summarizes, trains, or searches content from a site.

Reason codes: compliant — action is explicitly permitted action_blocked — the specific use-case (training/search/ai_input) is blocked bot_blocked — the named agent is explicitly listed as blocked stance_blocks_all — the domain blocks all AI access site-wide no_policy — no policy is on file; treat as block per spec guidance unspecified — the action or use-case is not addressed by the policy lookup_error — the registry could not be reached

Args: domain: The domain to check (e.g. "nytimes.com"). action: One of: train, scrape, summarize, search, index, cache, inference, ai_input. agent_id: Optional self-reported agent name (e.g. "GPTBot", "ClaudeBot"). If provided and listed in the domain's blocked-bots list, the decision is bot_blocked.

Inputs: action (required), domain (required), agent_id. Returns: result

get_changelogA

Get AI policy change history from the Maango registry.

Returns recent policy changes across domains. Filter by domain and/or change type.

Args: domain: Optional domain to filter by (e.g. "nytimes.com"). Leave empty for all. change_type: Optional filter. One of: stance_changed, bots_changed, score_changed, signals_added, signals_removed, use_case_changed, new_policy, multiple_changes. Leave empty for all. limit: Results per page (1-200, default 50). offset: Pagination offset (default 0).

Inputs: limit, domain, offset, change_type. Returns: result

lookup_domainA

Look up a domain's AI policy summary from the Maango registry.

Returns the domain's overall AI stance (blocks_all_ai, selective, allows_all, no_policy), per-use-case policies (training, search, inference), blocked/allowed bot lists, signal presence (robots.txt, ai.txt, llms.txt), and site metadata.

Args: domain: The domain to look up (e.g. "nytimes.com").

Inputs: domain (required). Returns: result

lookup_domain_conflictsA

Get policy conflicts for a domain from the Maango registry.

Returns any conflicting signals between a domain's different policy files (e.g. robots.txt says one thing, ai.txt says another).

Args: domain: The domain to check for conflicts (e.g. "nytimes.com").

Inputs: domain (required). Returns: result

lookup_domain_fullA

Get full raw policy data for a domain from the Maango registry.

Returns all parsed policy fields including raw robots.txt rules, ai.txt content, llms.txt sections, TDM-Rep data, crawl rules, meta tags, and content signals. Much more detailed than lookup_domain.

Args: domain: The domain to look up (e.g. "nytimes.com").

Inputs: domain (required). Returns: result

search_domainsA

Search for domains in the Maango AI policy registry by prefix.

Returns matching domains with their stance and Tranco rank.

Args: query: Domain prefix to search for (e.g. "news", "google"). Min 2 chars. stance: Optional filter. One of: blocks_all_ai, selective, allows_all, no_policy, blocks_training. Leave empty for no filter. limit: Results per page (1-100, default 20). offset: Pagination offset (default 0).

Inputs: query (required), limit, offset, stance. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 7 tools

    Disambiguation4/5

    Tools are largely distinct with clear purposes, but the three lookup_domain variants (summary, full, conflicts) could be confused if descriptions are not read carefully. batch_check and check_permission are clearly separate from the lookup family.

    Naming Consistency4/5

    Most tools follow a verb_noun snake_case pattern (lookup_domain, get_changelog, check_permission, search_domains). batch_check deviates slightly as noun_verb, but the naming remains readable and predictable overall.

    Tool Count5/5

    Seven tools is well within the ideal range for a registry query service. Each tool fulfills a distinct query need with no unnecessary overlap or bloat.

    Completeness5/5

    The server covers the full spectrum of registry queries: single-domain summary, full raw data, conflicts, permission checking, batch comparison, domain search, and change history. There are no obvious gaps for a read-only policy registry.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      URL intelligence for AI agents. One URL in, structured security and data quality signals out across 7 dimensions. 13 tools, risk score 0-100 with 23 configurable weights.
      16
      55 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      A pre-action risk gate for AI agents. Your agent calls the forecast tool before any irreversible action — send email, run SQL, make a payment, delete a file — and gets a risk score (0–100) and a GO / CONFIRM / STOP verdict in a few seconds.
      1
      88 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A pre-action authorization server for AI agents that classifies tool calls into 14 intent categories, scores risk 0-100, and produces deterministic allow/deny/ask decisions with full audit trail.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      A containment layer for AI agents that go rogue. Guard mode wraps stdio MCP servers: calls to the tools you mark as risky wait for a person; if nobody decides in time, the call is blocked. No API key can decide a hold, including the agent’s own. Claimed accounts get Ed25519-signed session records you verify offline. Covers only the servers you wrap; detection is heuristic. Free tier, MIT client.
      23
      75 npm
      MIT