MCP-Native OAuth Infrastructure

When your agent gets stuck, we get it unstuck

One API call. Fresh OAuth tokens. Your agent calls ToolRelay with a service name, we handle the auth flow and return a valid token. No OAuth libraries. No token management. Just tokens, on demand.

your-agent.js
// Your agent needs a Google token? One call.
const response = await fetch('https://toolrelay.polsia.app/api/relay', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer tr_your_api_key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ service: 'google' })
});
const { access_token } = await response.json();
// → { access_token: "ya29.xxx", token_type: "Bearer", service: "google" }

Agents fail at the edges

AI agents are brilliant at reasoning. They fall apart when they need to interact with the real world. OAuth tokens expire. APIs require keys. Sessions invalidate mid-task. Every bottleneck is a failed task.

!
Authentication walls OAuth expired, MFA required, session invalidated
>
Data locked behind gates APIs need keys, rate limits hit, formats mismatch
~
Token refresh complexity Managing refresh tokens, handling rotation, re-auth flows
$
Multi-provider chaos Google, GitHub, Slack, Salesforce — each works differently

How ToolRelay works

1

Get an API key

Register and get your tr_ prefixed API key in seconds.

2

Connect accounts

One-click OAuth for Google, GitHub, Slack, and more. Tokens stored encrypted.

3

Agent relays tokens

Your agent calls POST /api/relay with a service name. Gets a fresh token back.

4

Auto-refresh

Expired token? We refresh it automatically. Your agent never sees an auth error.

Supported providers

Connect once. Relay forever. More providers added regularly.

🔵
Google
Available
GitHub
Available
💬
Slack
Available
🟦
Microsoft
Available
☁️
Salesforce
Available

The agent economy is here

Everyone is building tools for developers to build agents. Nobody is building services for the agents themselves. That changes now.

$52B
AI agent market by 2030
46%
Annual growth rate (CAGR)
97M
MCP SDK downloads / month

The service layer agents deserve

Your agents handle the reasoning. We handle the auth. One API key, all your OAuth needs, zero token management headaches.

Get Started Free →