RAQ (Ryft Authorization Quality) — MCP Connector Docs
Public documentation. Intended URL: https://ryftapi.com/mcp
RAQ is a remote MCP connector that runs an API-authorization quality gate from Claude. It returns a clear PASS / FAIL / NOT-ASSESSABLE verdict with evidence, and the hosted server never calls your API itself (zero SSRF / open-proxy exposure). Run it two ways:
- Passive — upload an API collection, two identities, and a recorded session (HAR); RAQ grades it.
- Active — RAQ hands your Claude the exact requests to run; your Claude executes them against your API (even localhost / internal / IP-restricted — it is local to you), and RAQ judges the responses. Same deterministic gate; the hosted server still sends nothing.
What the tool does
The connector exposes four read-only tools (none of them makes an outbound request):
quality_gate(collection, identity_a, identity_b, capture?) — "Run API authorization quality gate" — the passive tool.
Given an API collection and two distinct test identities, it evaluates whether one identity can reach another's objects or actions, and surfaces injection-shaped and unauthenticated-access issues. It judges only the data you provide; it never calls your API.
plan_probe(collection, base_url, identity_a, identity_b, max_requests?) — "Plan an active probe" — returns the exact requests to actively test the API (each endpoint as identity A, as identity B, unauthenticated, and with a mutated input). The server sends nothing — your Claude runs these requests against your API. Every URL is host-locked to base_url, so a crafted collection cannot steer your AI at another host.
judge_probe(collection, identity_a, identity_b, exchanges) — "Judge an active probe" — takes the request/response pairs your Claude collected and scores them with the same deterministic gate as quality_gate. Also no outbound.
gate_requirements() — "Quality gate input requirements" — a read-only helper that takes no arguments and returns a static description of what each check needs for a conclusive verdict (and the no-vacuous-pass rule). It touches no caller data and makes no outbound requests.
Checks performed:
- BOLA / IDOR — Broken Object Level Authorization (OWASP API1:2023). Can identity A read or act on identity B's objects?
- Injection-shaped inputs — unsafe parameters surfaced in the collection.
- Unauthenticated / broken-auth access — endpoints reachable without a valid identity.
How to connect
- In Claude, open Customize → Connectors → Add custom connector (or Settings → Connectors).
- Paste the connector URL:
https://mcp.ryftapi.com/mcp - For Authentication, choose "No sign-in" — RAQ uses an API key, not OAuth — then add a request header named
x-api-keyset to your key (the server also accepts the key asAuthorization: Bearer <key>). A missing or invalid key returns 401. - Get a key at https://ryftapi.com (see Pricing below). Each user supplies their own key.
- In a chat, ask Claude to run the gate, e.g.:
"Run the Ryft authorization quality gate on this Postman collection with identity A, identity B, and this HAR capture." — then paste the collection JSON, the two identities, and the HAR.
Claude will invoke quality_gate and return the verdict.
Active workflow — your AI drives the traffic
When RAQ cannot reach your API (it is on localhost, an internal network, or an IP-restricted host), run it actively — your Claude is local to you, so it reaches what the hosted server cannot:
- Ask Claude to actively test your API. Claude calls
plan_probewith your collection, thebase_urlto test, and two identities, and gets back the exact list of requests to run. - Claude executes those requests against your API using its own tools — it sends the traffic; the RAQ server does not — recording each response.
- Claude calls
judge_probewith the responses; RAQ scores them and returns the same PASS / FAIL / NOT-ASSESSABLE verdict as the passive path.
The hosted server makes no outbound request at any step — it only computes the plan and judges the responses. You supply base_url instead of a HAR capture; everything else matches the passive inputs below.
Heads-up — match the host.plan_probeonly plans requests whose host matches yourbase_url; it skips any endpoint on a different host. If your collection listslocalhostbut you pass127.0.0.1asbase_url(or vice-versa), they count as different hosts and the plan comes back empty. Use the same host in the collection andbase_url— or write the collection's requests as paths that resolve againstbase_url.
Only test systems you own or are authorized to assess.plan_probehost-locks every request to yourbase_url, and the requests carry your own test identities.
Pricing
- 10 free endpoint-checks per month, per account — no card required.
- $0.10 per endpoint-check beyond the free tier, billed from prepaid credits, with a hard stop at a zero balance (no surprise overage). One
quality_gaterun consumes one check per endpoint assessed. - Get your key at https://ryftapi.com.
Input formats
collection (required)
A Postman Collection v2.1 export (JSON), as text. This is the list of API requests — methods, URLs, headers, and bodies — that defines the surface to assess.
- Export from Postman: Collection → ⋯ → Export → Collection v2.1.
- A raw JSON list of request objects (
[{"method","url","headers","body"}, …]) is also accepted if you don't use Postman. - OpenAPI and HAR-only inputs may be accepted in future revisions; v1 is tuned for Postman v2.1.
identity_a and identity_b (required)
Two distinct principals — different users/roles whose access should be isolated from each other. Each identity may be supplied as:
- a bearer token / JWT (string), or
- a header block (e.g.
Authorization: Bearer …,Cookie: …), or - a Postman environment JSON that resolves the collection's auth variables.
The two identities must be different principals. If you pass the same identity twice, BOLA cannot be assessed and the verdict for that check will be NOT-ASSESSABLE.
capture (optional input, but required for a conclusive verdict)
A HAR capture of a real session (exported from browser DevTools → Network → "Save all as HAR") recording both identities' traffic. The gate's active dimensions are judged against this recorded evidence. The argument is technically optional — the call still succeeds without it — but without a capture every dimension is NOT-ASSESSABLE, so the overall verdict is BLOCKED (never a PASS/FAIL). Supply a HAR of both identities to get a conclusive result.
Reading the verdict
The tool returns a per-check result. Each check is one of three verdicts:
| Verdict | Meaning | What to do |
|---|---|---|
| PASS | The uploaded evidence shows the check is satisfied — e.g. identity A was correctly denied identity B's objects. | Safe on this check, for the assessed surface. |
| FAIL | The evidence shows a real authorization problem — e.g. identity A reached identity B's object. | Fix before shipping; the evidence field names the offending call. |
| NOT-ASSESSABLE | There is not enough evidence in the upload to judge this check — e.g. only one identity's traffic is present, or no object-scoped endpoint was exercised. | Not a pass. Add the missing identity/traffic (or a HAR capture) and re-run. |
NOT-ASSESSABLE is deliberate and first-class: RAQ never guesses a PASS. Treat it as "come back with more evidence," not "good to go."
Example shape (the real response schema — per-dimension status, not verdict):
{
"gate": "api-authz-quality",
"mode": "uploaded-capture-analysis (no outbound)",
"verdict": "FAIL",
"exit_code": 1,
"identities_distinct": true,
"dimensions": [
{ "id": "bola", "label": "BOLA / broken object authorization", "status": "FAIL",
"findings": [ { "title": "Cross-user object read (BOLA / IDOR)", "severity": "high",
"confidence": "firm", "owasp_api": "API1:2023", "cwe": "CWE-639",
"evidence": "The per-object resource /orders/1001 returned HTTP 2xx to BOTH identity A and identity B — object-level authorization is not enforced." } ] },
{ "id": "injection", "status": "NOT_ASSESSABLE",
"reason": "The captured session contains no mutated/injection inputs — injection was not exercised; cannot certify." }
],
"notes": ["No outbound requests were made; analysis is over the uploaded data only."]
}
The per-dimension field isstatuswith valuesPASS/FAIL/NOT_ASSESSABLE(underscore), and the overall field isverdict(PASS/FAIL/BLOCKED). The JSON block above shows the real response shape.
The no-outbound guarantee
The hosted server never sends a request — in either workflow. Every tool (quality_gate, plan_probe, judge_probe, gate_requirements):
- makes no outbound call to your API or your network — there is no
socket/http/requests/httpximport in the server's request path; - is annotated read-only (
readOnlyHint: true) in the MCP tool schema.
In the active workflow the live requests are sent by your own Claude (local to you), never by the hosted server — so RAQ reaches localhost / internal / IP-restricted APIs while the hosted server keeps zero SSRF / open-proxy exposure. This is why the connector is safe to run against production-shaped data.
Limits
- Evidence-bound: the gate judges only what the upload contains. Endpoints not present in the collection (and not in the optional HAR) are not assessed.
- Two identities per run: BOLA is evaluated between exactly
identity_aandidentity_b. Multi-role matrices require multiple runs. - Postman v2.1 is the supported collection format for v1.
- No persistence guarantee: inputs are analyzed to produce the verdict; see the privacy policy at https://ryftapi.com/legal/mcp-privacy for data handling and retention.
- Not a certification: a PASS is a verdict on the assessed surface, not a warranty or a compliance attestation.
Support
- Docs: https://ryftapi.com/mcp
- Privacy: https://ryftapi.com/legal/mcp-privacy
- Terms: https://ryftapi.com/legal/mcp-terms
- Email: support@ryftapi.com