mcp-gate402
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GATE402_API_KEY | No | Use a funded account instead of the free tier. | |
| GATE402_BASE_URL | No | Override the gateway (self-hosting / testing). | https://gate402.app |
| GATE402_CONFIG_DIR | No | Where the cached free key is stored. | ~/.gate402-mcp |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gate402_scrapeA | Fetch any public URL, render client-side JS, strip nav/ads, and return clean LLM-ready Markdown. Pay-per-call ($0.002) via Gate402; free tier on first runs. |
| gate402_scrape_stealthA | Hardened headless fetch for JS-heavy or lightly bot-protected pages. Use when gate402_scrape is blocked or returns little content. Pay-per-call ($0.05). |
| gate402_minifyA | Compress text to cut downstream LLM token spend (~40%): strips filler, collapses JSON, densifies prose. Pay-per-call ($0.005/10k tokens). |
| gate402_dedupA | Semantic vector-cache lookup: exact-match then 0.88 cosine similarity. Returns a cache hit/miss for a query, sub-10ms. Pay-per-call ($0.001 hit / $0.003 miss). |
| gate402_token_countB | FREE. Estimate the token count of a string (cl100k/o200k tokenizer). Use to budget context windows. No payment required. |
| gate402_html_to_mdA | FREE. Convert an HTML string you already have into clean Markdown. (To FETCH a live page instead, use gate402_scrape.) No payment required. |
| gate402_json_repairA | FREE. Coerce malformed / LLM-mangled JSON (trailing commas, single quotes, unquoted keys) into valid JSON. No payment required. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: dedup for cache lookup, html_to_md for conversion, json_repair for fixing JSON, minify for compression, scrape for general scraping, scrape_stealth for hardened scraping, and token_count for token counting. The only potential overlap is between scrape and scrape_stealth, but their descriptions explicitly differentiate them by use case, so no ambiguity.
All tools share the 'gate402_' prefix, which is consistent. However, suffixes vary: some are single verbs (dedup, minify, scrape), others are compound with underscores (html_to_md, json_repair, token_count), and one is a phrase (scrape_stealth). This mixed pattern is minor but prevents a perfect score.
With 7 tools, the server covers a well-scoped set of utilities: caching, conversion, repair, minification, scraping (two variants), and token counting. Each tool addresses a distinct need without redundancy, and the count feels appropriate for a utility-focused MCP server.
The tool set covers core text processing and web scraping tasks, but there are minor gaps such as the lack of a general format converter (e.g., CSV to JSON) or PDF extraction. However, the existing tools form a coherent set for the advertised functionalities, and no critical operations are missing for the apparent scope.