> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rwa.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# For IT teams

> What an IT or security team needs to approve and configure the RWA.xyz MCP server for an organization

This page is for the IT or security team that approves and configures AI apps for an organization. If you're connecting your own assistant, follow the [Setup guide](https://docs.rwa.xyz/mcp/setup.md) instead.

## At a glance

| Question | Answer |
| - | - |
| What is it? | A hosted [MCP](https://modelcontextprotocol.io) server: a standard way for an AI assistant to query an outside data source, here RWA.xyz data. Every tool is read-only, and there is nothing to install. |
| Does it support OAuth? | Yes. OAuth 2.0, authorization code flow. |
| Is access per user or shared? | Per user. Each person signs in with their own RWA.xyz account. |
| Does IT have to create credentials? | Usually not. Most apps need only the server URL. Some ask for a client ID and secret, which any member of your RWA.xyz organization can create. |
| Does it need an API key? | No. An [API key](https://docs.rwa.xyz/mcp/setup.md#api-keys-and-oauth-clients) is an option for scripts and for apps that can't use OAuth. |

## Choose a setup path

Your AI app decides which path you take.

| If your app | Then |
| - | - |
| Accepts a server URL and signs in with OAuth by itself | Enter the [server URL](#connection-details). Nothing is created in RWA.xyz. Claude, for example, detects this and shows it as using Claude's published identity. |
| Offers a choice of OAuth types | Pick the one that needs only the server URL, often called dynamic discovery. If the app can't create the connection or sign-in fails, use a client ID and secret. |
| Asks for a client ID and secret | [Create a client ID and secret](#create-a-client-id-and-secret), then enter the [OAuth settings](#oauth-settings). |

The [Setup guide](https://docs.rwa.xyz/mcp/setup.md) has steps for Claude, Claude Code, Cursor and Codex, and the same URL works in ChatGPT and VS Code. Other apps that support remote MCP servers with OAuth 2.0 may connect with the values on this page, but we haven't tested them. If yours doesn't connect, email [team@rwa.xyz](mailto:team@rwa.xyz) with the app's name and the error it shows.

To test a setup, someone with an RWA.xyz account in your organization has to do the first sign-in.

## Connection details

| Setting | Value |
| - | - |
| Name | `RWA.xyz` |
| MCP server URL | `https://mcp.rwa.xyz/mcp` |
| Authentication | OAuth 2.0 |

### Network access

Two hosts are involved, both on port 443:

* `mcp.rwa.xyz` is called by the AI app. With a cloud AI app, these calls come from the app vendor's servers, not from your network.
* `app.rwa.xyz` opens in each person's browser to sign in, and the AI app calls it to get and renew tokens. The browser also needs whatever your people already use to log in to RWA.xyz, such as Google sign-in.

## OAuth settings

Enter these when your app asks for them:

| Setting | Value |
| - | - |
| Authorization URL | `https://app.rwa.xyz/oauth/authorize` |
| Token URL | `https://app.rwa.xyz/oauth/token` |
| Refresh URL | `https://app.rwa.xyz/oauth/token` |
| Scopes | `mcp:query offline_access` (two scopes, separated by a space) |

Enter both scopes. `mcp:query` allows queries, and `offline_access` keeps people signed in.

This matters only with a client ID and secret. Without `offline_access`, those apps make people sign in again every hour, and some discover only `mcp:query` by themselves, so add `offline_access` by hand. Apps that sign in with the server URL alone always stay signed in.

> [accordion] Protocol details for security reviews
>
> | Setting | Value |
> | - | - |
> | Transport | Streamable HTTP |
> | Grant type | Authorization code, with refresh tokens |
> | PKCE | `S256`. Required for every app that signs in with the server URL and for public clients. Optional for a confidential client that has a secret. |
> | Client authentication | `client_secret_basic` or `client_secret_post`. Public clients send no secret. |
> | Client registration | Any of three. A client ID metadata document (CIMD): the app identifies itself by a URL its maker hosts. Dynamic client registration (DCR): the app registers itself. Or a client ID and secret you create. |
> | Resource metadata | `https://mcp.rwa.xyz/.well-known/oauth-protected-resource/mcp` |
> | Authorization server metadata | `https://app.rwa.xyz/.well-known/oauth-authorization-server` |

## Check the server yourself

AI apps run three checks before they offer sign-in. You can run the same ones:

| Check | Command | Expected |
| - | - | - |
| The server asks for sign-in | `curl -i -X POST https://mcp.rwa.xyz/mcp` | `401`, with a `WWW-Authenticate` header that names the resource metadata URL |
| The server publishes its sign-in settings | `curl https://mcp.rwa.xyz/.well-known/oauth-protected-resource/mcp` | `200`, naming `https://app.rwa.xyz` as the authorization server |
| The sign-in provider answers | `curl https://app.rwa.xyz/.well-known/oauth-authorization-server` | `200`, listing the authorization, token and registration endpoints |

If all three pass and your app still can't connect, the app's own log usually says which step failed.

## Create a client ID and secret

Do this only if your app asks for a client ID and secret. It needs a Pro, Enterprise or Academic plan.

It takes two people, unless your IT admin is also a member of your RWA.xyz organization: the **IT admin** who configures the AI app, and an **RWA.xyz member**, who can be any member of your organization, such as the person who asked for the app.

**1. IT admin: find the app's redirect URL**

Your AI app shows a redirect URL, sometimes called a callback URL, during setup or in its documentation. Copy it exactly as shown.

Some apps show it only after you save the connection. In that case, ask the member to create the client with a placeholder URL on a domain you control, finish the setup, then send them the real URL. They replace the placeholder under **Redirect URIs** on the client's page. Sign-in fails until then.

**2. RWA.xyz member: create the client**

Sign in to RWA.xyz, switch to the organization the client is for, and open [app.rwa.xyz/tools/mcp/settings/oauth/new](https://app.rwa.xyz/tools/mcp/settings/oauth/new). Enter a name, add the redirect URL under **Redirect URIs**, leave both scopes ticked, and leave **Client type** on confidential, the default.

**3. RWA.xyz member: send the client ID and secret to the IT admin**

Both appear on the client's page after it's created.

> [!WARNING]
>
> The client secret is shown only once. Send it securely, not over chat or email. If it's lost, generate a new secret on the client's page.

**4. IT admin: enter the values in the AI app**

Enter the client ID, the client secret, and the [OAuth settings](#oauth-settings).

Only members of the organization that owns the client can sign in through it. One client serves everyone in that organization. Create one client per AI app, so you can revoke one app's access without affecting the others.

Tell each person: the first time you use RWA.xyz in the app, it opens RWA.xyz in your browser. Sign in with your own RWA.xyz account, choose our organization, and approve.

## Who can connect

A person can connect when they have an RWA.xyz account in an organization that has a plan. Every plan can connect, including Preview.

Any member can connect an app that signs in with the server URL. Nothing has to be created or approved in RWA.xyz first. To limit which AI apps your people use, use the controls in those apps. To see what has been connected, use [App access](https://app.rwa.xyz/tools/mcp/settings/oauth).

## Manage access

A member of your RWA.xyz organization does these on the [App access](https://app.rwa.xyz/tools/mcp/settings/oauth) page. An IT admin without an RWA.xyz account can't open it. Owners and admins here are roles in your RWA.xyz organization.

| To do this | Do this | Who can |
| - | - | - |
| See apps that signed in with the server URL | Open App access. | Owners and admins see everyone's. Other members see their own. |
| See sign-ins through a client your organization created | Open the client's page. Sign-ins are listed as sessions, without names. | Any member |
| Revoke a client your organization created, for everyone | Revoke the client. It takes effect within a minute. | Owners and admins, or the member who created it |
| Replace a client secret | Generate a new secret on the client's page, update your AI app, then revoke the old secret. | Owners and admins, or the member who created the client |

To cut off one person on a client your organization created, remove them from the organization, or revoke all sessions on the client's page and have everyone sign in again.

### When someone leaves

Remove them from your RWA.xyz organization. Their apps can no longer renew their sign-in, so access ends within an hour, when the current access token expires.

Removing a member doesn't disable API keys they created, and only the person who created a key can deactivate it. Have them deactivate their keys before they leave, or email [team@rwa.xyz](mailto:team@rwa.xyz) to have the keys disabled.

Disabling someone's account in your identity provider doesn't end connections they've already made. Make removing them from RWA.xyz a step in your offboarding.

## Token lifetimes

| Token | Lifetime |
| - | - |
| Access token | 1 hour |
| Refresh token | 180 days from its last use. Each refresh issues a new one. |

## Common questions

> [accordion] Can we use one shared account for everyone?
>
> Not with OAuth. Each person signs in with their own account, so usage is tied to a person. An API key entered in a shared app is used by everyone who uses that app, so use OAuth where the app supports it.

> [accordion] What is sent to RWA.xyz?
>
> See the [privacy policy](https://app.rwa.xyz/privacy-policy).

> [accordion] Can the assistant change anything in RWA.xyz or in our systems?
>
> No. Every tool only reads RWA.xyz data, and each is marked read-only for apps that show a tool's type.

> [accordion] We need a security questionnaire completed
>
> Email [team@rwa.xyz](mailto:team@rwa.xyz).

## Troubleshooting

> [accordion] Sign-in fails with an invalid scope error
>
> The app sent no scopes, or none that the client allows. Enter `mcp:query offline_access` in the app, and check that both scopes are ticked on the client's page.

> [accordion] Sign-in fails with a redirect error
>
> The redirect URL the app sends must match one on the client's page exactly, including any trailing slash.

> [accordion] A person can't choose your organization when they sign in
>
> They aren't a member of it, or it has no plan. For a client your organization created, they must be a member of the organization that owns the client.

> [accordion] The page for creating a client doesn't open
>
> Creating a client ID and secret needs a Pro, Enterprise or Academic plan.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.