API & MCP
Everything a person can do on Officeloft SDP & ICE Inspector, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://officeloftsdpinspector.usefulweb.app/api/v1/calculate– run Officeloft SDP & ICE InspectorGET https://officeloftsdpinspector.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Officeloft SDP & ICE Inspector
Paste a WebRTC session description (SDP offer or answer, also as JSON) or ICE candidate lines, for example from chrome://webrtc-internals or a call log. The inspector lists the media sections with direction and codecs, the DTLS fingerprint and setup role, BUNDLE groups and every candidate with its type, protocol and address kind, then says which connection paths exist — same network, through NAT, or through a TURN relay — and warns about what would make a call fail.
| Field | Type | Default | Description |
|---|---|---|---|
sdp | textarea | — | Session description or candidates. An SDP starting with “v=0”, a {"type","sdp"} JSON object, or one ICE candidate per line. |
mask | boolean | true | Hide the last part of IP addresses. Recommended before you share the result: 198.51.100.23 becomes 198.51.100.x. |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://officeloftsdpinspector.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
officeloft_sdp_inspector - Local stdio connector:
node src/mcp-stdio.ts --tool=officeloft-sdp-inspector
{
"mcpServers": {
"officeloft-sdp-inspector": { "type": "http", "url": "https://officeloftsdpinspector.usefulweb.app/mcp" }
}
}