MCP server · /api/mcp

RelaxNet in Claude and Claude Code: deploy from the conversation

Connect RelaxNet to Claude and just ask: build a Telegram bot, fix the code, deploy it, find out why a build failed. Claude does it through the platform’s MCP server, on your behalf. You sign in with your account — no tokens.

What MCP is

Model Context Protocol is an open standard that lets AI assistants connect to external services. A service describes its actions — “create a project”, “deploy”, “show logs” — and the assistant calls them when your task needs it. RelaxNet has its own MCP server: one address for Claude on the web, in the apps, in Claude Code and in Codex.

  • One address for every client
  • Sign in with your RelaxNet account, like “Sign in with Google”
  • Revoke access with one click

Connect in a minute

Claude — web and apps

  1. 1
    First sign in to relaxnet.pro with the same account as on RelaxNet, the usual way.
  2. 2
    In Claude click “+” next to the message box → Connectors → Add connector → Add custom connector. On a phone: “+” → Connectors → “+” in the top right corner.
  3. 3
    Any name, for example RelaxNet. Paste the address as the MCP server URL:
    https://relaxnet.pro/api/mcp
  4. 4
    Click Continue and Connect — relaxnet.pro opens: sign in if asked and click Allow.
Where to find it in Claude
  1. 1“+” next to the message box.
  2. 2Connectors.
  3. 3Add connector.
  4. 4Add custom connector.
  5. 5Any name, for example RelaxNet; MCP server URL — https://relaxnet.pro/api/mcp. Then Continue and Connect — relaxnet.pro opens, click Allow.

Claude Code — terminal

  1. 1
    Add the server with one command:
    $ claude mcp add --transport http relaxnet https://relaxnet.pro/api/mcp
  2. 2
    Start Claude Code, type /mcp, pick the server and sign in in your browser.
  3. 3
    Done — ask Claude Code to list your projects.

To make the server available in all your projects, not just the current folder, add --scope user.

Codex — terminal and app

  1. 1
    Add the server:
    $ codex mcp add relaxnet --url https://relaxnet.pro/api/mcp
  2. 2
    Sign in: a browser opens — sign in to RelaxNet and allow access.
    $ codex mcp login relaxnet
  3. 3
    Start a new chat: server tools load when a session starts. To check the connection, run codex mcp list.

The same in ~/.codex/config.toml — both the terminal and the Codex app read it:

[mcp_servers.relaxnet]
url = "https://relaxnet.pro/api/mcp"

If Codex says it cannot get authorization data, update it. Older versions enable HTTP MCP servers with the line experimental_use_rmcp_client = true at the top of config.toml.

VS Code and Cursor — one click

Your editor opens and offers to install the server. On first use it opens relaxnet.pro — sign in and click Allow. In VS Code the server works in Copilot Chat agent mode.

Other MCP clients that connect to remote servers over HTTP and support OAuth sign-in work with the same address.

What Claude can do through the connector

Bot Lab bots get full control: their code lives on the platform, so Claude builds them from scratch without GitHub. Projects from Git: Claude creates them from a repository URL, redeploys them and sets their variables, while code changes go through the repository. Project databases are available through SQL.

Projects

Projects in your teams, their status, recent deployments and environment variable names.

list_projectsget_project

New bots

A bot from an aiogram 3 or grammY template, or an import from a ZIP archive or a public repository.

create_botimport_bot

Code

Reading and writing files: Claude edits the code right on the platform.

list_filesread_filewrite_files

Build and deploy

A build on a VM, waiting for the result, the build log and a hint about the error.

deployget_deploymentget_build_logs

Running bot

Container logs, environment variables, switching between the lab and Telegram.

get_runtime_logsset_env_varsset_lab_mode

Lab

Chatting with the bot in the Telegram simulator and scenario tests from .botlab/tests.txt.

lab_sendlab_chatlab_run_tests

Databases

Tables and columns, read queries (up to 200 rows) and changes in a transaction — migrations, data. Only in projects of your own teams.

db_infodb_querydb_execute

MongoDB, Redis, Chroma

Connect databases to a project, MongoDB documents (find, aggregate, edit), Redis keys and commands, Chroma records for RAG.

databasesdatabase_connectmongo_querymongo_writeredis_keysredis_getredis_commandchroma_collectionschroma_get

Build settings

Build type (Docker with your own Dockerfile or automatic), branch, folder, autodeploy, previews, resources.

update_settings

HTML sites

Read and edit the page of an HTML project — as a whole or with exact replacements — and publish it.

read_htmlwrite_html

Webhooks

A permanent receiver address on a foreign server for Telegram and other services, and connecting the project bot to it.

list_relayscreate_relayupdate_relaydelete_relaytelegram_webhook_infoset_telegram_webhook

Storage files

Project files in platform storage: a list with links, uploads up to 10 MB, deleting a file or a folder, used space, the storage key for the app.

storage_liststorage_uploadstorage_deletestorage_delete_folderstorage_usagestorage_key

Deletion

A whole project (with its databases and, optionally, files) or one project database. Only when you ask, confirmed with the exact project name.

delete_projectdatabase_delete

What you can ask

Make a booking bot for a barbershop: services as buttons, free time slots, a confirmation. Cover it with tests and deploy it.
Why does shop-bot fail to build? Check the build log, fix it and deploy again.
What did weather-bot print in the last hour? Find out why it doesn’t answer /forecast.
Import the bot from my public GitHub repository and check every command in the lab.
Add a phone column to the orders table in the shop database and restart the project.
How many orders did shop get this week? Break it down by day.

Access stays under your control

No API tokens

The connection uses OAuth 2.1 with PKCE. There is no key to commit by accident or pass around.

You see what you allow

The access screen lists what the app will be able to do. Deleting a project, a database or a storage folder needs the exact project name as confirmation. It cannot see payments or change your plan.

Short-lived keys

An access key lives for an hour and renews itself until you revoke access. Claude sees environment variables by name only.

Revoke or read-only

Connected apps are listed in your profile. Make any of them read-only or revoke access — right away, no password change.

Project in Git? Give your agent the guide

For regular deploys from a repository there is a ready-made guide for AI agents: port, Dockerfile, variables, Telegram bots, databases. Claude Code loads it as a skill and prepares the repository for a RelaxNet build on its own.

The guide in the docs

FAQ

How much does the connector cost?

Nothing: the connector and the MCP server are part of the platform. Projects Claude creates are regular projects on your plan.

What can Claude do without asking me?

Only what the access screen lists: view projects and logs, create and deploy Bot Lab bots, redeploy projects, change variables and run SQL in project databases. It deletes a project, a database or a storage folder only when you ask, confirmed with the exact project name. It cannot see payments or change your plan. You can forbid changes altogether with the “Can make changes” switch in your profile.

Can it manage projects from GitHub?

Yes, except editing code: Claude creates a project from a repository URL (with a branch and a folder inside it), redeploys the project (a specific commit too), changes the build type, branch and environment variables, reads logs and works with the database. The code of those projects lives in the repository, and changes go through it — for example, from Claude Code.

Why is this better than an API token?

A token sits in the client settings for years and grants full access. With OAuth you see what you allow, the keys are short-lived, and you can revoke access at any time without changing your password.

Does it work with Codex?

Yes, in the terminal and in the Codex app. Add the server with codex mcp add and the MCP server address, sign in with codex mcp login and start a new chat — tools load when a session starts. If sign-in does not start, update Codex.

Does it work with Cursor and other agents?

Yes, if the client can connect to remote MCP servers over HTTP with OAuth sign-in. The address is the same.

How do I revoke access or make it read-only?

In your profile, in the Claude and MCP card: each app has a Revoke button and a “Can make changes” switch — turn it off to leave read-only access. You can also simply remove the connector in Claude.

Ask Claude to build your first bot

Connect the connector and describe the bot you need. The result opens in Bot Lab: chat, tests, logs.