Docs

Xirsys MCP server

Updated

On this page

Public beta

Connect your AI coding assistant to reviewed Xirsys documentation, secure WebRTC integration guides, and ICE troubleshooting through the Model Context Protocol (MCP). The hosted server is read-only and requires no authentication, Xirsys account, or API credentials.

Connect your assistant

Choose Codex or Claude below. Both connect to https://mcp.xirsys.com/mcp using Streamable HTTP, with no authentication or API credentials.

Codex

With the Codex CLI installed, run:

TerminalShell
codex mcp add xirsys --url https://mcp.xirsys.com/mcp
codex mcp list

Reload or restart Codex, then use /mcp to inspect connected servers where supported.

Codex desktop setup

Open Settings → MCP servers → Add server. Name it xirsys, choose Streamable HTTP, enter https://mcp.xirsys.com/mcp, and leave authentication unset. Save, then select Restart.

See the official OpenAI MCP setup instructions for current client controls.

Claude

With Claude Code installed, run:

TerminalShell
claude mcp add --transport http --scope user \
  xirsys https://mcp.xirsys.com/mcp
claude mcp get xirsys

Start a new Claude Code session and use /mcp to check the connection. --scope user makes it available across your projects; omit it for the current project only. See the Claude Code MCP documentation for more options.

Claude web or desktop setup
  1. Open Customize → Connectors, then select + Add → Add custom connector.
  2. Name it xirsys and enter https://mcp.xirsys.com/mcp, including the final /mcp. Select Continue.
  3. Choose No sign in, leave OAuth credentials and request headers unset, and finish with Add.
  4. In a chat, open + → Connectors and enable xirsys.

Availability depends on your plan and workspace settings; an administrator may need to add the connector first. Remote connectors reach the server from Anthropic's infrastructure. See the official Claude custom connector instructions for current controls and access requirements.

Other MCP clients

In a client supporting remote Streamable HTTP MCP servers, use these settings:

SettingValue
Namexirsys
TransportStreamable HTTP
URLhttps://mcp.xirsys.com/mcp
AuthenticationNone

Configuration formats differ between clients. Browser-origin access is restricted during this beta, so clients connecting directly from browser JavaScript may need an approved origin. Contact Xirsys Support if that prevents your connection.

The /mcp URL is a protocol endpoint. Opening it as a webpage can return HTTP 405; use an MCP client to connect.

Try your connection: start a chat in your connected assistant and ask:

Use the Xirsys MCP server to search for how to obtain WebRTC ICE servers. Cite the documentation.

The assistant should call search_docs and return an explanation with Xirsys documentation links.

MCP setup needs no account secrets or OAuth login. Using Xirsys TURN in your application is a separate step that requires your own Xirsys account and a trusted backend. You do not need Node.js or a local Xirsys server to use the hosted MCP endpoint; your AI client may have its own installation requirements.

Try the tools

ToolUse it to
search_docsFind reviewed documentation summaries with canonical source links.
get_integration_guideGet Node backend and browser or React ICE integration examples.
diagnose_ice_failureTurn sanitized diagnostics into hypotheses and ordered local checks.

Start with the prompts below. The JSON examples show tool arguments, not complete JSON-RPC requests or HTTP bodies to paste into /mcp.

Search documentation

Search the Xirsys docs for the WebRTC ICE response format and return the source links.

Tool: search_docs

Tool argumentsJSON
{
  "query": "WebRTC ICE servers response format",
  "topic": "turn",
  "limit": 3
}
  • query is required: 1–500 characters after trimming.
  • topic is optional: turn, security, troubleshooting, routing, or integration.
  • limit is an integer from 1 to 10; it defaults to 5.

Results include section headings, curated summaries, ranking scores, source titles, canonical URLs, source update dates, and indexing dates. Search uses a reviewed corpus; it does not crawl the web live. An unrelated query can return no matches.

Get an integration guide

Use the Xirsys MCP integration guide for a React video chat app. Explain the setup without editing files.

Tool: get_integration_guide

Tool argumentsJSON
{
  "target": "react",
  "use_case": "video"
}
  • target is required: node, react, or browser.
  • use_case is optional: video, voice, data, gaming, or general. It defaults to video.

Each guide includes a trusted Node backend module, browser connection code, integration steps, source links, and production considerations. The React target adds a React hook. The Node target does not include a native Node WebRTC implementation.

Your backend requests temporary ICE credentials using PUT /_turn/{encodedChannel}?webrtc=1, checks the HTTP status and s === "ok", and reads the array at v.iceServers. The browser fetches those temporary ICE servers from your trusted backend and passes the array to RTCPeerConnection. Keep your account secret on the backend. See the TURN API and secure API calls guide for implementation details.

These examples cover ICE integration. Your application still supplies authentication, channel authorization, credential issuance limits, media handling, signaling, and user experience.

Diagnose an ICE failure

Use the Xirsys MCP to diagnose ICE state “failed”, gathering state “complete”, candidate types [“host”, “srflx”], and error code 701. Give me hypotheses and ordered checks.

Tool: diagnose_ice_failure

Tool argumentsJSON
{
  "ice_state": "failed",
  "gathering_state": "complete",
  "candidate_types": ["host", "srflx"],
  "error_codes": [701]
}

All fields are optional:

FieldAccepted values
ice_statenew, checking, connected, completed, disconnected, failed, closed
gathering_statenew, gathering, complete
candidate_typesUp to four entries: host, srflx, prflx, relay. Defaults to [].
error_codesUp to 20 integer codes from 0 to 999. Defaults to [].
logsSanitized text up to 16,000 characters. Defaults to an empty string.

The result contains hypotheses, reasons, ordered tests, and source links, based on the details you provide and reviewed guidance. It does not contact a TURN server, inspect your network or account, or verify a live service outage. Prefer structured states and numeric error codes to pasted logs. See WebRTC troubleshooting for further checks.

The MCP server provides documentation assistance. It cannot create or list channels, issue TURN credentials, query account usage, run live TURN tests, or manage your account. Use the Xirsys dashboard and application APIs for account operations.

Documentation resources

Clients with MCP resource support can discover and read these resources. The identifiers below are MCP resource URIs, not browser links; client support for displaying them varies.

Resource URIContent
xirsys://docs/turnReviewed TURN API summary
xirsys://docs/securityBackend credentials and secure API guidance
xirsys://docs/troubleshootingReviewed ICE troubleshooting guidance
xirsys://docs/routingAPI gateway and routing guidance
xirsys://docs/quick-referenceReviewed integration quick reference
xirsys://sources/manifestSource URLs, indexing dates, corpus version, and freshness metadata

Privacy and beta limits

The MCP service does not need your Xirsys identifier, secret, channel name, TURN username or password, signaling tokens, full SDP, or personal data. Keep those values out of prompts and diagnostic submissions. In your actual application, temporary TURN credentials go from your trusted backend to the client; that is separate from sharing diagnostics with this service.

The MCP application processes request text in memory and does not persist or echo submitted diagnostic log text. Its own telemetry uses numeric counters. Your AI client, model provider, and hosting infrastructure have their own data-handling policies.

The public beta currently allows 600 MCP HTTP requests per minute across all users. One assistant interaction can involve several requests. Limits can change. If you receive HTTP 429, wait for the Retry-After interval before retrying. There is no published uptime guarantee for this beta.

Documentation freshness

Responses identify the corpus version, review date, and next review deadline. Reviewed summaries can lag behind canonical documentation, so check freshness notices and follow the source links.

After 90 days without review, the service reports stale content and withholds search excerpts, generated integration code, and diagnostic hypotheses. Resource reads return source metadata and the review notice. A healthy process does not mean its documentation is still within the review window.

Troubleshoot the connection

SymptomCheck
HTTP 405 opening /mcp in a browserExpected for a normal GET. Configure an MCP client with Streamable HTTP and the full https://mcp.xirsys.com/mcp URL.
No tools visibleConfirm the saved URL, ensure the server is enabled, then reload or restart your client.
Authentication promptThis beta has no login. Check the endpoint and remove unnecessary OAuth or bearer-token configuration for this connection.
HTTP 403Check for a disallowed browser Origin or incorrect Host. Native clients without an Origin are supported; browser integrations may need an approved origin.
HTTP 413Reduce the request. The overall HTTP body limit is 32 KiB; individual tool inputs have smaller limits.
HTTP 429Wait for Retry-After before retrying. The beta's limit is shared.
Stale documentation noticeFollow the canonical source links. A maintainer must review and update the corpus.
Persistent connection failureCheck service health for process availability and documentation freshness, then contact Xirsys Support. Health does not test TURN connectivity.
Questions about this page? Email experts@xirsys.com