MCP Server Integration
MCP Server Integration
The Model Context Protocol (MCP) connects AI assistants (Cursor, Claude, ChatGPT, Windsurf) to three documentation layers:
| Layer | MCP tool | Content |
|---|---|---|
| Onboarding | get_integration_guide | Your tenant step-by-step guide (essential APIs, copy-paste curls, IBEX test proofs) |
| JWT reference | get_api_reference type=jwt | Official IBEXFIAPI_ENDPOINTS_v1.2.md — personalized (your rpId, Origin, API host, x-api-key in examples) |
| Admin reference | get_api_reference type=admin | Official IBEXFIAPI_ENDPOINTS_ADMIN_v1.2.md (tenant x-api-key) when enabled — personalized |
Authentication (required):
| Field | Value |
|---|---|
| Login | your tenant rpId |
| Password | your domain x-api-key |
Changelog (all tenants): subscribe to https://passkeys-productionv2.ibex.fi/docs/changelog.rss (Slack/email RSS bridge).
Language: All MCP tool responses (get_integration_guide prose is already English; analyze_integration_issue, errors, and analyst summaries) are English only — even if your team asks questions in French.
Remote MCP — recommended (Streamable HTTP)
URL: https://passkeys-productionv2.ibex.fi/mcp/sse (Streamable HTTP — POST, same host path Cursor probes)
Canonical alternate: https://passkeys-productionv2.ibex.fi/mcp
Use HTTP Basic Auth: username = rpId, password = x-api-key.
Cursor / Claude (Streamable HTTP)
Claude Code CLI:
Replace passkeys-testnet.ibex.fi with your environment host (passkeys-prat1.ibex.fi, passkeys-productionv2.ibex.fi, …).
Legacy SSE (still supported)
URL: https://passkeys-productionv2.ibex.fi/mcp/sse with GET (long-lived SSE stream + POST /mcp/message).
Use when your IDE only supports --transport sse.
ChatGPT (custom GPT + MCP)
- Explore GPTs → Create → Configure → Add action → MCP
- URL:
https://passkeys-productionv2.ibex.fi/mcp/sse(Streamable HTTP) or legacy SSEGETif required by the client - Authentication: Basic — username = your
rpId, password = yourx-api-key
Alternative — public OpenAPI index (no tenant onboarding)
For generic OpenAPI exploration only (no personalized onboarding), you can still use:
This does not include tenant onboarding guides or injected credentials.
MCP tools reference
| Tool | Description |
|---|---|
get_integration_guide | Start here — tenant onboarding with your rpId/apiKey in curl examples |
list_my_endpoints | Essential routes for your integration + available doc layers |
get_changelog | Recent client API changelog entries (limit optional) |
get_api_reference | Official JWT or ADMIN markdown — personalized for your tenant (type, section optional) |
list_doc_sources | Index of available layers for your tenant |
fetch_docs | Fetch allowed public URLs (openapi.json, llms.txt, …) |
open_integration_ticket | Open a support ticket with an integrator goal (expected vs actual behaviour) |
get_integration_ticket | Read ticket status, attached evidence ids, last analysis, and expert response when published |
list_integration_logs | Persisted tenant error logs (≥ 400, redacted) |
get_integration_log | One log entry by UUID |
submit_test_evidence | Attach curl/response proof — use with ticketId while collecting evidence |
analyze_integration_issue | AI-assisted analysis on a ticketId, error logId, or raw evidence |
Tools available per tenant depend on doc layer flags in your MCP settings (onboarding / jwt / admin).
Workflow for integrators
- Connect MCP with rpId + x-api-key.
- Call
get_integration_guideand implement step-by-step. - Deep-dive a route →
get_api_referencewithsection=GET /v1.2/.... - Watch
/docs/changelog.rssfor API updates after IBEX deploys. - Debug integration issues → use the ticket workflow below (preferred) or the legacy log workflow.
Your tenant-specific onboarding guide (e.g. IBEx Wallet on your registered rpId) is provisioned by IBEX ops in the integration registry — contact IBEX if 403 No integration guide registered for rpId.
Integration support ticket workflow (preferred for debugging)
Use this when you get HTTP 200 responses that are still wrong (business-logic mismatch), or when several API calls must be read together.
| Step | Tool | Purpose |
|---|---|---|
| 1 | open_integration_ticket | Open a case; state the goal in English |
| 2 | submit_test_evidence × N | Attach each curl/response proof to the ticket (analyze: false) |
| 3 | analyze_integration_issue | Run AI analysis on the whole ticket (goal + all evidence) |
| 4 | IBEX expert reply | When IBEX_BUG_SUSPECTED, poll get_integration_ticket until hasExpertResponse is true |
Step 1 — Open a ticket
Save the returned id as ticketId for all following steps.
Step 2 — Attach evidence (repeat)
Always pass ticketId. Use analyze: false while collecting proofs (default when ticketId is set).
Optional: call get_integration_ticket to list attached evidence ids before analyzing.
Step 3 — Analyze the ticket
The analyst loads the ticket goal and all attached evidence. Example classification: IBEX_BUG_SUSPECTED, NEEDS_MORE_INFO, or INTEGRATOR_ISSUE.
When classification is IBEX_BUG_SUSPECTED, the ticket is queued for IBEX expert review (pendingExpert: true).
Step 4 — Poll for IBEX expert response
After IBEX_BUG_SUSPECTED, poll the same ticketId with get_integration_ticket (or GET /v1.2/domain/integration/tickets/:id).
While awaiting expert: pendingExpert: true, hasExpertResponse: false.
After IBEX publishes a response: status: "answered", hasExpertResponse: true, and expertResponse.bodyMarkdown contains the answer.
Legacy workflow (no ticket)
Still supported for quick checks:
list_integration_logs→logId→analyze_integration_issuesubmit_test_evidencewithoutticketId(auto-analyze; may correlate byexternalUserIdwithin 48 h)
Prefer the ticket workflow when you explain a multi-step goal or submit several HTTP 200 proofs.
AI agent checklist
- Always write ticket
goaland tool responses in English. - Open one ticket per integration issue — do not reuse ticket ids across unrelated bugs.
- Attach every relevant call (request + response bodies, redacted secrets).
- Run
analyze_integration_issue(ticketId)only after all evidence is attached. - If
NEEDS_MORE_INFO, attach missing proofs and analyze again (sameticketId). - If
IBEX_BUG_SUSPECTED, pollget_integration_ticket(ticketId)untilhasExpertResponseistrue.