Manage Rivet Cloud namespaces and actors, run Code Mode, and open the Rivet Actor Inspector.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add rivet --env RIVET_CLOUD_TOKEN='<RIVET_CLOUD_TOKEN>' -- npx -y @rivet-dev/mcp~/.codex/config.toml
[mcp_servers.rivet]
command = "npx"
args = ["-y", "@rivet-dev/mcp"]
env = { RIVET_CLOUD_TOKEN = "<RIVET_CLOUD_TOKEN>" }
# codex mcp add rivet --env RIVET_CLOUD_TOKEN='<RIVET_CLOUD_TOKEN>' -- npx -y @rivet-dev/mcp~/.cursor/mcp.json
{
"mcpServers": {
"rivet": {
"command": "npx",
"args": [
"-y",
"@rivet-dev/mcp"
],
"env": {
"RIVET_CLOUD_TOKEN": "<RIVET_CLOUD_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"rivet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rivet-dev/mcp"
],
"env": {
"RIVET_CLOUD_TOKEN": "<RIVET_CLOUD_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rivet": {
"command": "npx",
"args": [
"-y",
"@rivet-dev/mcp"
],
"env": {
"RIVET_CLOUD_TOKEN": "<RIVET_CLOUD_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rivet": {
"command": "npx",
"args": [
"-y",
"@rivet-dev/mcp"
],
"env": {
"RIVET_CLOUD_TOKEN": "<RIVET_CLOUD_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"rivet": {
"command": "npx",
"args": [
"-y",
"@rivet-dev/mcp"
],
"env": {
"RIVET_CLOUD_TOKEN": "<RIVET_CLOUD_TOKEN>"
}
}
}
}Remote
claude mcp add --transport http rivet https://mcp.rivet.dev/mcp~/.codex/config.toml
[mcp_servers.rivet]
url = "https://mcp.rivet.dev/mcp"
# codex mcp add rivet --url https://mcp.rivet.dev/mcp~/.cursor/mcp.json
{
"mcpServers": {
"rivet": {
"url": "https://mcp.rivet.dev/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"rivet": {
"type": "http",
"url": "https://mcp.rivet.dev/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rivet": {
"httpUrl": "https://mcp.rivet.dev/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"rivet": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.rivet.dev/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"rivet": {
"url": "https://mcp.rivet.dev/mcp"
}
}
}Environment variables
RIVET_CLOUD_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.