Skip to content

Connecting MCP Clients

MCP clients connect to AireGlu MCP servers over HTTP using the Streamable HTTP transport with OAuth 2.0 authentication. There are two ways to connect:

  • Native MCP connector — for clients that speak HTTP MCP with OAuth directly (e.g. Claude.ai custom connectors). The client connects to the AireGlu URL and handles OAuth itself.
  • mcp-remote proxy — for stdio-based clients that don't yet support remote MCP natively (e.g. Cursor, Claude Code). A local proxy bridges stdio to the remote HTTP server.

Connection URI

Every MCP server has a connection URI in the format:

https://<runtime-host>/mcp/<tenancy>/<server-name>

To target a specific version:

https://<runtime-host>/mcp/<tenancy>/<server-name>/<version>

If no version is specified, the server's default version is used.

Copying the Connection URI

  1. Navigate to AI Tools > MCP Servers
  2. Click the three-dot menu on the server row
  3. Select Copy URL

The URI is copied to your clipboard.

mcp

Claude.ai Custom Connector

Claude.ai supports AireGlu MCP servers natively via custom connectors. No proxy or local install is required.

  1. Copy the connection URI from AireGlu (see above)
  2. In Claude.ai, open Settings > Connectors
  3. Click Add custom connector

claude-add-connector

  1. Give the connector a name and paste the AireGlu connection URI into the URL field
  2. Click Add

claude-connector-config

  1. Sign in to AireGlu in the popup window when prompted

claude-connector-oauth

  1. The connector's tools and resources are now available in Claude conversations

claude-connector-active

Authentication

AireGlu MCP servers use OAuth 2.0 for authentication. Native clients handle the flow themselves; the mcp-remote proxy handles it on behalf of stdio-based clients.

  1. The client discovers the OAuth metadata via the /.well-known/oauth-protected-resource endpoint
  2. The client obtains a JWT token from the authorization server
  3. The token is included as a Bearer token in subsequent MCP requests
  4. AireGlu validates the token and extracts the user identity

The required OAuth scope is AireGluMcp.

On first connection, the client opens a browser window for you to authenticate. After successful authentication, the token is cached and reused.

mcp-remote Proxy

For stdio-based clients (Cursor, Claude Code, older Claude Desktop), use the mcp-remote proxy. AireGlu generates a ready-to-use client configuration block.

Copy Client Config

  1. Click the three-dot menu on the server row (or a specific version row)
  2. Select Copy Client Config
  3. Paste the configuration into your client's config file

The generated configuration uses the mcp-remote proxy and includes the OAuth client details:

json
{
	"mcpServers": {
		"<server-name>": {
			"command": "mcp-remote",
			"args": [
				"https://<runtime-host>/mcp/<tenancy>/<server-name>",
				"2292",
				"--static-oauth-client-info",
				"{\"client_id\":\"<client-id>\",\"scope\":\"AireGluMcp\"}",
				"--timeout",
				"300"
			]
		}
	}
}

TIP

Version-specific configs are available from the three-dot menu on individual version rows within the expanded server list.

Installing mcp-remote

mcp-remote is an npm package that bridges stdio-based MCP clients to remote HTTP servers with OAuth support. Install it globally:

bash
npm install -g mcp-remote

Or use npx (no installation required) — replace "command": "mcp-remote" with "command": "npx" and prepend "mcp-remote" to the args array:

json
{
	"mcpServers": {
		"<server-name>": {
			"command": "npx",
			"args": [
				"mcp-remote",
				"https://<runtime-host>/mcp/<tenancy>/<server-name>",
				"2292",
				"--static-oauth-client-info",
				"{\"client_id\":\"<client-id>\",\"scope\":\"AireGluMcp\"}",
				"--timeout",
				"300"
			]
		}
	}
}

Client Setup

Claude Desktop

  1. Copy the client config from AireGlu
  2. Open Claude Desktop settings
  3. Navigate to the MCP servers configuration (Developer > Edit Config)
  4. Open the claude_desktop_config.json file
  5. Merge the copied configuration into the mcpServers object
  6. Save and restart Claude Desktop

Cursor

  1. Copy the client config from AireGlu
  2. Open Cursor settings
  3. Navigate to MCP settings
  4. Add a new MCP server using the copied configuration
  5. Save and restart Cursor

Claude Code

  1. Copy the client config from AireGlu
  2. Add the server to your project's .mcp.json or global MCP configuration
  3. Restart the Claude Code session

Troubleshooting

IssueCauseFix
Connection refusedServer or version is inactiveCheck the Active toggle on both the server and version
401 UnauthorizedInvalid or expired tokenRe-authenticate by removing cached credentials and reconnecting
405 Method Not AllowedClient attempted SSE connectionEnsure your client uses Streamable HTTP transport, not SSE. AireGlu only supports HTTP POST for MCP requests
Tool/resource not foundEndpoint is inactive or misconfiguredCheck the endpoint is active and the target endpoint still exists
No tools listedVersion has no active endpointsAdd and activate at least one endpoint in the version configuration