Model Context Protocol

Ringnity MCP

Connect AI clients to Ringnity through a secure MCP layer. The MCP server exposes tools, while Ringnity API remains the source of truth for tenant isolation, scopes, plan contracts, quota, billing, and audit.

streamable-http

MCP Client

Codex, Claude, Cursor, OpenAI Agents, or custom AI client.

Ringnity MCP

Stateless adapter that exposes safe tools over Streamable HTTP.

Ringnity API

Source of truth for auth, tenant isolation, scopes, billing, quota, and business rules.

Integrate Flutter with Codex in VS Code

Open your existing Flutter project in VS Code. The public MCP guide is available without a Ringnity API key. The downloadable SDK requires Flutter >=3.50.0 and Dart >=3.14.0 <4.0.0.

1. Connect Codex to Ringnity MCP

Run in the VS Code terminal if the Codex CLI is available.

codex mcp add ringnity --url https://mcp.ringnity.com/mcp
codex mcp list

Or merge this entry into Codex’s ~/.codex/config.toml.

[mcp_servers.ringnity]
url = "https://mcp.ringnity.com/mcp"

Codex shares MCP configuration across the CLI and IDE extension. If the tool is missing after setup, reload the Codex extension and start a new chat.

OpenAI Codex MCP setup guide

2. Verify the connection in Codex

Call ringnity_sdk_integration_guide from the Ringnity MCP server.
Use platform flutter, principal member, and capabilities identity, direct-chat,
audio-call, and video-call. Report the artifact, release manifest, and any gaps.

Confirm that Codex calls the tool and returns the Flutter SDK artifact and manifest.

3. Ask Codex to integrate Flutter Member

This example adds private chat and calls to a dating app. Adapt the match rule to the relationship rules in your app.

Add private one-to-one chat, voice calls, and video calls to this existing
Flutter app. Only users who have mutually matched may communicate.

1. Inspect this workspace for its Flutter toolchain, pubspec.yaml, login,
   backend, and chat screens. Call ringnity_sdk_integration_guide with
   platform flutter, principal member, and capabilities identity, direct-chat,
   audio-call, and video-call. Read the Flutter and Member guides.
2. Select flutter-sdk from the published release manifest. Verify the ZIP's
   SHA-256 and compare its pubspec.yaml requirements with the project's toolchain
   before changing dependencies. Report any incompatibility before upgrading.
3. Reuse our backend authentication to issue short-lived Member tokens and
   grant or revoke access when the match or block state changes. Keep the
   Ringnity Server API key in the backend. If the backend is outside this
   workspace, document the required endpoints and report that dependency.
4. Use RingnityMember with our existing navigation and UI. Handle incoming calls
   with user-controlled accept and decline. Run flutter pub get, flutter analyze,
   and relevant tests. Report the changed files and the device checks still needed.

On two test devices, confirm that matched users can exchange a message, accept or decline a call, and hear or see each other after answering. Verify that the backend denies access for an unmatched account and after a match grant is revoked.

Quick Start for other MCP clients

Use the Ringnity MCP endpoint from any MCP-compatible client that supports Streamable HTTP. Start with the URL for public tools. Add the Authorization header only when using private tools.

{
  "mcpServers": {
    "ringnity": {
      "url": "https://mcp.ringnity.com/mcp"
    }
  }
}

For private tools, configure the client to send Authorization: Bearer <scoped token>.

Build a support app with a coding agent

The public ringnity_sdk_integration_guide tool gives Codex and other coding agents the current release, artifact, prerequisites, supported capabilities, implementation order, security boundary, explicit gaps, and acceptance checklist for the requested principal and capabilities.

Integrate Ringnity into my Flutter Android application.

The application must receive and reply to Visitor chat and internet calls.
Agents must also be able to chat and make audio/video calls to other Agents.

Use ringnity_sdk_integration_guide twice:
- platform: flutter
- principal: visitor
- capabilities: [support-chat, audio-call, video-call]

Then:
- platform: flutter
- principal: agent
- capabilities: [support-inbox, direct-chat, audio-call, video-call]

Inspect my project before editing, keep the Server API key outside the mobile
application, implement the required backend token boundary, and run the
release/profile acceptance checklist.

STEP 1

Discover

Read the current release and official guide.

STEP 2

Validate

Resolve the tenant and check SDK readiness.

STEP 3

Implement

Coding agent edits the customer app; MCP remains read-only.

STEP 4

Accept

Build and test chat, calls, push, reconnect, and TURN/TLS.

MCP never installs packages, edits source code, sends messages, or joins media. The coding agent performs repository changes; the Ringnity Flutter SDK owns communication at runtime.

Build an authenticated chat or meeting product

Use the Member principal for authenticated application users. Ringnity owns tenant isolation, durable direct/group chat, receipts, P2P direct calls, managed group audio/video, realtime, reconnect, and transport policy. Your application owns sign-in, relationship rules, navigation, branding, call controls, and the participant layout.

Use ringnity_sdk_integration_guide with:
- platform: flutter
- principal: member
- capabilities: [identity, direct-chat, group-chat, audio-call, video-call, group-call, device-push, reconnect]

Build the UI from typed Ringnity state and media tracks. If the product also
requires screen sharing, recording, captions, or a waiting room, include those
capabilities so the guide reports them as explicit gaps instead of implying
that they already exist.

Runtime actions stay in the SDK

MCP currently exposes authorized Team, group, active call-room, and capability snapshots only. It cannot create or join a room, invite or remove participants, transfer a host, end a call, select a media provider, or obtain a managed-media token. Write actions remain outside MCP so tokens, media credentials, and user mutations do not enter an AI transcript.

Public Tools

Health, pricing, and tenant resolution can be called without exposing tenant data.

Private Tools

Tenant contacts and conversations require scoped Server API, Agent SDK, or platform tokens.

No Direct DB

MCP calls Ringnity API. Prisma/database and business rules remain inside the core API.

Available Tools

ToolAuthPurpose
ringnity_healthPublicCheck Ringnity API reachability.
ringnity_public_pricingPublicRead the pricing catalog used by ringnity.com.
ringnity_resolve_tenantPublicResolve a tenant slug into public workspace metadata.
ringnity_sdk_integration_guidePublicReturn a machine-readable SDK release, capability, security, implementation, and acceptance guide.
ringnity_server_tenantServer API keyRead tenant context for a scoped Server API key.
ringnity_server_sdk_readinessServer API keyCheck SDK readiness for a tenant.
ringnity_list_push_provider_configsserver:push-provider:readInspect app-level FCM/APNs VoIP readiness without exposing credentials.
ringnity_list_contactsserver:contact:readList tenant contacts.
ringnity_get_contactserver:contact:readRead one tenant contact.
ringnity_agent_list_conversationsagent:conversations:readList conversations visible to an agent.
ringnity_agent_get_conversationagent:conversations:readRead one conversation.
ringnity_agent_get_conversation_messagesagent:messages:readRead conversation messages.
ringnity_agent_list_team_conversationsagent:conversations:readList direct and group Team conversations.
ringnity_agent_list_groupsagent:conversations:readList groups where the Agent is an active member.
ringnity_agent_list_call_roomsagent:calls:readRecover active or joinable call-room snapshots without joining media.
ringnity_agent_call_capabilitiesagent:calls:readRead plan entitlement and controlled-rollout readiness.
ringnity_plan_contractsPlatform/admin tokenRead canonical plan feature and quota contracts.

Call a Public Tool

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ringnity_public_pricing",
    "arguments": {
      "currency": "USD",
      "locale": "en"
    }
  }
}

Call a Private Tool

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "ringnity_agent_list_call_rooms",
    "arguments": {}
  }
}

Send the scoped Ringnity credential only in the MCP Authorization header shown in Quick Start. Credentials are not accepted in tool arguments.

Security Notes

Prefer scoped Server API credentials over owner/admin dashboard tokens.
Do not pass passwords, OAuth secrets, or unrestricted API keys to MCP clients.
Send credentials only in the MCP Authorization header, never as tool arguments.
All tenant data access still flows through Ringnity API scope checks.
Team group/call inspection is read-only and never returns media credentials.

Last updated: November 19, 2026

Start building with Ringnity

Developers integrate chat, voice and video with the SDK and MCP. Website owners add one script. Both run on the same real-time engine.