Structs§
- Bearer
Token - Per-request extension carrying the raw inbound bearer (the
<token>fromAuthorization: Bearer <token>). Inserted byauth_middlewareonly afterjwt::validatesucceeds, so an expired/forged token never leaks into this extension. Consumed by handlers building aGenContextso an auth_generator can forward the calling sandbox’s identity to an upstream MCP via${JWT_TOKEN}(issue #115). - Call
Request - Call
Response - Health
Response - Help
Request - Help
Response - Proxy
State - Shared state for the proxy server.
- Skill
AtiCatalog Query - Skill
AtiFile Query - Skill
AtiResources Query - Skill
Bundle Batch Request - Skill
Detail Query - Skill
Resolve Request - Skills
Query - Tools
Query - Upstream
Allow Entry - One parsed allowlist entry. Allowlist CSV entries are operator-authored
URL templates like
https://parcha-tools-*.grep.ai/mcp. We parse them into (scheme, host_label_patterns, path) at load time so per-request validation can match each component separately:
Functions§
- build_
router - run
- Start the proxy server.
Type Aliases§
- Lazy
Schema Cache - Type alias for the issue #135 lazy-schema cache. Keyed by
(provider_name, upstream_url). The value isOption<map>so the negative result (dial failed / list failed) can be cached too — avoids retrying a known-bad upstream on every subsequent request. Named so clippy’stype_complexitylint doesn’t fire on the field.