Search / io.github.nwjnjjj/smart-token-guard
SmartTokenGuard
not classifiedStop burning credits on broken AI video: check every render before you pay for the next one.
v1.2.2 · active · repository · website · descriptor JSON · versions
Search / io.github.nwjnjjj/smart-token-guard
Stop burning credits on broken AI video: check every render before you pay for the next one.
v1.2.2 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"smart-token-guard": {
"type": "http",
"url": "https://stg-agent-560636228350.asia-east1.run.app/mcp",
"headers": {
"Authorization": "Bearer ${SMART_TOKEN_GUARD_TOKEN}"
}
}
}
}claude mcp add --transport http smart-token-guard https://stg-agent-560636228350.asia-east1.run.app/mcp --header "Authorization: Bearer ${SMART_TOKEN_GUARD_TOKEN}"[mcp_servers.smart-token-guard]
url = "https://stg-agent-560636228350.asia-east1.run.app/mcp"
bearer_token_env_var = "SMART_TOKEN_GUARD_TOKEN"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"smart-token-guard": {
"type": "remote",
"url": "https://stg-agent-560636228350.asia-east1.run.app/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer {env:SMART_TOKEN_GUARD_TOKEN}"
}
}
}
}{
"mcpServers": {
"smart-token-guard": {
"type": "http",
"url": "https://stg-agent-560636228350.asia-east1.run.app/mcp",
"headers": {
"Authorization": "Bearer ${SMART_TOKEN_GUARD_TOKEN}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=smart-token-guard&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vc3RnLWFnZW50LTU2MDYzNjIyODM1MC5hc2lhLWVhc3QxLnJ1bi5hcHAvbWNwIiwiaGVhZGVycyI6eyJBdXRob3JpemF0aW9uIjoiQmVhcmVyICR7U01BUlRfVE9LRU5fR1VBUkRfVE9LRU59In19"
}{
"servers": {
"smart-token-guard": {
"type": "http",
"url": "https://stg-agent-560636228350.asia-east1.run.app/mcp",
"headers": {
"Authorization": "Bearer ${SMART_TOKEN_GUARD_TOKEN}"
}
}
}
}{
"mcpServers": {
"smart-token-guard": {
"httpUrl": "https://stg-agent-560636228350.asia-east1.run.app/mcp",
"headers": {
"Authorization": "Bearer ${SMART_TOKEN_GUARD_TOKEN}"
}
}
}
}extensions:
"smart-token-guard":
enabled: true
name: "smart-token-guard"
type: streamable_http
uri: "https://stg-agent-560636228350.asia-east1.run.app/mcp"
headers:
"Authorization": "Bearer ${SMART_TOKEN_GUARD_TOKEN}"
timeout: 300
Placeholders to fill from your own secret store: ${SMART_TOKEN_GUARD_TOKEN}. The registry never accepts secret values.
protocol.modernsupports 2026-07-28 (server/discover)protocol.statelessanswers without a sessionprotocol.transportstreamable HTTPprotocol.list_ttltools/list carries no ttlMs, so clients re-fetch itauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: stg_pricing (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); stg_account (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); stg_inspect_media_url (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …tools.token_costabout 696 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changes, stability.rug_pulltool history not recorded yetdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website -unreachable(13 failures) ~updated-36d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://stg-agent-560636228350.asia-east1.run.app/mcp streamable-http | none | no (13 failures) | 19% | 645 ms | 2026-07-28 | 2026-09-21 |
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
https://github.com/nwjnjjj/smart-token-guard/releases/download/v1.2.2/smart-token-guard-1.2.2.mcpb | mcpb | 1.2.2 | – | STG_LICENSE_KEY |
stg_account | The license's plan, checks used and checks remaining this month. |
stg_inspect_media_url | Measure a rendered image or video at a public https URL (max 32 MB / 60 s / 1080p): blur, exposure, black and frozen frames, flicker, cuts, impacts and colour/lighting drift against reference_image_url. Uses 1 check. Returns a JSON report plus review frames to check for anatomy/identity defects before calling stg_qa_gate. |
stg_pricing | Plans, prices and checkout links for SmartTokenGuard. No license needed. |
stg_qa_gate | PASS / NEEDS_VISUAL_REVIEW / RETRY_SAME_MODEL / SWITCH_TO_FALLBACK / HALT / HALT_BUDGET with concrete fixes. Stateless: pass earlier attempts for this shot in shot_history (each result's record_this_attempt). Free. |
Schemas: list_tools.
{
"name": "io.github.nwjnjjj/smart-token-guard",
"title": "SmartTokenGuard",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://stg-agent-560636228350.asia-east1.run.app/mcp",
"type": "streamable-http",
"headers": [
{
"name": "Authorization",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "Bearer <license key from your Polar receipt>"
}
]
}
],
"version": "1.2.2",
"packages": [
{
"version": "1.2.2",
"transport": {
"type": "stdio"
},
"fileSha256": "37939af2c93120ec88f0686b7e5b37672b3a465b52a6790981dcc676c762133e",
"identifier": "https://github.com/nwjnjjj/smart-token-guard/releases/download/v1.2.2/smart-token-guard-1.2.2.mcpb",
"registryType": "mcpb",
"environmentVariables": [
{
"name": "STG_LICENSE_KEY",
"format": "string",
"isSecret": true,
"isRequired": true,
"description": "License key from your Polar receipt (Starter or Pro plan)."
}
]
}
],
"repository": {
"url": "https://github.com/nwjnjjj/smart-token-guard",
"source": "github"
},
"websiteUrl": "https://nwjnjjj.github.io/smart-token-guard/",
"description": "Stop burning credits on broken AI video: check every render before you pay for the next one."
}