The official Svelte MCP server providing docs and autofixing tools for Svelte development
Fetch a public web page, JSON API response, raw log or doc by URL and return a token-optimized version: HTML is reduced to its visible text, JSON is compacted losslessly, runs of near-identical lines are folded (first, last and value ranges kept). Deterministic, no summarizing model; code, URLs and quoted strings come back byte-for-byte. Use level=lossless when every line must survive. Pass `quest
A call is made on an account: it counts against an allowance and the publisher sees it, which is why this one asks who you are first.
What it does
Folds repetitive log lines, compacts JSON and turns web pages into clean text before Claude reads them. Code, URLs and quoted strings stay exact. Works in claude.ai web, mobile and any MCP client. Exact token counts included.
Quickstart
# 1 — sign in once: npx mcprush@latest login
# it asks for a key from mcprush.com/dashboard#access
# 2 — install
npx mcprush@latest add kathanmodh259/latentgate-mcp
# 3 — the plan is chosen at checkout, in the browser
# 4 — ask your agent for something these tools do
# fetch_url_optimized, optimize_text, count_tokens
Windows PowerShell says 'running scripts is disabled on this system'? Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, or type npx.cmd instead of npx (codex.cmd, gemini.cmd, grok.cmd likewise). PowerShell 7 needs neither.
You are on the Free tier: 300 calls a month, and call 301 returns a normal MCP error rather than an invoice.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine — this server runs on infrastructure we host behind our gateway, and what you install is the connection to it.
Claude Code has its own MCP command, and the key rides on it as a header — the gateway refuses a call that carries none. Claude Code reads MCPRUSH_KEY each time it connects, so the key stays out of its config: export your key from Access in your shell profile (macOS, Linux), or run setx MCPRUSH_KEY <your key> and open a new terminal (Windows). Or let npx mcprush@latest add kathanmodh259/latentgate-mcp write the entry with the key for you; --scope user makes it available in every project. The first connection after a quiet spell starts the server, which takes up to a minute: if your client says it failed to connect, reconnect after that (/mcp in Claude Code).
claude mcp add --transport http --scope user latentgate-mcp https://mcprush.com/gw/latentgate-mcp/mcp --header 'Authorization: Bearer ${MCPRUSH_KEY}'Reconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry pointing at the gateway. The server itself runs on infrastructure we host, so nothing from this listing executes on your machine.
3 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Fetch a public web page, JSON API response, raw log or doc by URL and return a token-optimized version: HTML is reduced to its visible text, JSON is compacted losslessly, runs of near-identical lines are folded (first, last and value ranges kept). Deterministic, no summarizing model; code, URLs and quoted strings come back byte-for-byte. Use level=lossless when every line must survive. Pass `quest
| Parameter | Type | Required | Notes |
|---|---|---|---|
| url | string | yes | http(s) URL |
| question | string | no | What you're looking for (focuses sentence selection) |
| level | string | no | lossless = meaning unchanged; balanced = also folds log runs and removes filler; aggressive = also keeps only the most relevant sentences (~50%) |
| max_tokens | integer | no | Token budget for the result (0 = no budget) |
Deterministically shrink text before passing it on (e.g. to another tool or model): lossless JSON/whitespace/duplicate folding, log-run folding, filler removal, optional question-aware selection under a token budget. Same input always gives the same output. No Ollama or API key required.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| text | string | yes | — |
| question | string | no | — |
| level | string | no | lossless = meaning unchanged; balanced = also folds log runs and removes filler; aggressive = also keeps only the most relevant sentences (~50%) |
| max_tokens | integer | no | — |
Count tokens in text (tiktoken o200k_base when installed, else an estimate).
| Parameter | Type | Required | Notes |
|---|---|---|---|
| text | string | yes | — |
- 300 calls a month, included
- 10 calls a minute at peak
- Every tool the listing has
- No card needed — call 301 returns a limit error rather than a bill
- Upgrade at any point, prorated to the day
- 3,000 calls a month, included
- 30 calls a minute at peak
- Every tool the listing has
- Cancel any time — the unused days are credited
- Runs behind the gateway, so cancelling stops it
- 15,000 calls a month, included
- 120 calls a minute at peak
- Every tool the listing has
- Cancel any time — the unused days are credited
- Runs behind the gateway, so cancelling stops it
- 60,000 calls a month, included
- 300 calls a minute at peak
- Every tool the listing has
- Cancel any time — the unused days are credited
- Runs behind the gateway, so cancelling stops it
What counts against the 300 calls a month on Free
| Tool | Unit | Calls used | Out of the monthly allowance |
|---|---|---|---|
| fetch_url_optimized | call | 1 | 0.3333% |
| optimize_text | call | 1 | 0.3333% |
| count_tokens | call | 1 | 0.3333% |
Failed calls, timeouts and anything the gateway rejects never count. When the allowance runs out the gateway returns an error naming the plan limit — nothing is billed beyond the subscription, ever.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | high | capability blast radius (high) — client exposure if the model is manipulated | −6 |
| verification-discount | repo | publisher verification (public source) — no provenance, but the source is public and inspectable | −1 |
| coverage-honesty | source | inspection depth (source) — how much of the target the scan could see | −0 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
Tools were statically extracted from the published source (9 recovered), not enumerated from a running server. Tool-poisoning, Unicode-smuggling, capability and toxic-flow analysis ran on this inferred surface, but a mis-parsed registration could be missed or mis-attributed, so tool-derived findings are capped below “confirmed”. To grade the real runtime surface, scan the running server: --command "npx -y <package>".
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. high is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| read_file_optimized | sensitive-source | sensitive-source: keyword "read_file" |
| fetch_url_optimized | untrusted-input | untrusted-input: keyword "fetch_url" |
| optimize_text | no tags | |
| count_tokens | no tags | |
| compress_image | no tags | |
| compress_text | no tags | |
| compress_conversation | no tags | |
| compress_documents | no tags | |
| get_stats | no tags |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
The public result for this release does not print the flow graph, so there is nothing to show here. That is not the same as "no paths were found": what the scan did read is above, under coverage.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
The gateway serves every install the publisher’s current release, so a release cannot be pinned or rolled back to here yet. The history below is for reading; the current release on file is 0.1.0.
- The version this listing went live with, after review.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish LatentGate can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.