Connect Claude Code, Cursor, Windsurf or Zed to an MCP server and your editor can build, test and change an AI agent from the chat. With Rylvo that takes one command or JSON entry for https://rylvo.com/mcp, a browser sign-in, and a choice of Test or Production. Your editor then has 187 typed tools.
Key takeaways
- One URL for every editor:
https://rylvo.com/mcp(Streamable HTTP, OAuth 2.1 with PKCE). The exact snippet for each editor is below. - Each connection is bound to one environment. Test is the default. A Production connection can read but every write is refused. A Test connection changes drafts that reach customers only when you release them, with one exception: connectors, MCP servers and channels are shared, so a change to one of those is live at once.
- Scopes decide what the editor may do:
rylvo:read,rylvo:write, andrylvo:adminfor most deletes. New clients get read and write only. - The editor's model does the planning; the tools do the writes, under the same plan limits and roles as the dashboard.
What does building an AI agent from your editor mean?
The Model Context Protocol (MCP) is an open-source standard that lets an AI client call tools on a remote server. Most people meet it from the other direction: they connect GitHub or Notion so their coding assistant can read issues or pages.
The same mechanism works for agent platforms. Rylvo runs its own MCP server, which it calls Build Intelligence. When your editor connects to it, the editor can list your bots, read a system prompt, add a knowledge source, write a test case, run the test suite and read the results, all as tool calls you can see.
This is different from connecting an outside MCP server to a bot, so the bot can use that server's tools while it talks to customers. That is MCP Hub, a separate feature on Lite and up, covered in How to connect an MCP server to your AI agent.
| Build Intelligence | MCP Hub | |
|---|---|---|
| Direction | Your editor calls Rylvo | Your bot calls an outside server |
| Who uses the tools | You, while building | The bot, while answering customers |
| Typical tools | Create a bot, edit a prompt, run tests | Look up an order, create a ticket |
| Plan | No plan gate; each tool meets your plan's limits | Lite and up |
Why build an AI agent from an editor?
The dashboard and the in-product Architect do the same work, so the editor route is worth it in three situations:
- You already live in the editor. You are writing the backend the agent will call, and you want the agent's prompt, test cases and connector next to the code, in the same conversation.
- You want changes as a reviewable sequence. Each tool call names what it does and returns a result, so you can read the full list of edits in your editor's transcript instead of clicking through pages.
- You repeat work. Setting up the same shape of agent for several products is faster with
clone_bot, which copies an existing bot and can copy its linked prompts and guardrails, than rebuilding each one by hand.
If you do not use an AI editor, use the Architect in the dashboard. It connects to the same tool server, so you lose nothing.
Step 1: Connect Claude Code, Cursor, Windsurf or Zed to the MCP server
Every editor uses the same address. Pick yours. Editor setups change often; the steps below were checked in November 2026 against each tool's own documentation: Claude Code, Cursor, Windsurf, Zed and Codex CLI.
Claude Code
claude mcp add --transport http rylvo https://rylvo.com/mcp
Then run /mcp inside Claude Code. Your browser opens to the consent screen. Claude Code's MCP documentation (checked November 2026) also describes --scope user to make a server available in every project, and --scope project to share it through a .mcp.json file in the repository. To remove it later, run claude mcp logout rylvo and then claude mcp remove rylvo. Removing it from Claude Code deletes the local tokens but does not revoke them on our side; to do that, revoke the client under Connected clients (see the safety section below).
Cursor
Add this to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):
{
"mcpServers": {
"rylvo": { "url": "https://rylvo.com/mcp" }
}
}
Windsurf
Open the MCP config file from Windsurf's MCP settings and add this entry. Windsurf's documentation uses serverUrl for remote servers (url is accepted too). The file location depends on the version: ~/.codeium/windsurf/mcp_config.json or ~/.config/devin/mcp_config.json, so use the path the settings screen opens:
{
"mcpServers": {
"rylvo": { "serverUrl": "https://rylvo.com/mcp" }
}
}
Zed
Add this to your Zed settings.json (~/.config/zed/settings.json). Zed calls MCP servers context servers:
{
"context_servers": {
"rylvo": { "url": "https://rylvo.com/mcp" }
}
}
Codex CLI
codex mcp add rylvo --url https://rylvo.com/mcp
codex mcp login rylvo --scopes rylvo:read,rylvo:write
Other clients that support Streamable HTTP and OAuth may work as well. Check that the client can complete a browser OAuth flow before you rely on it.
Step 2: Approve the connection and choose Test
The first tool call triggers a standard OAuth 2.1 flow with PKCE (only the S256 method is accepted). The MCP specification's authorization section (as of November 2026) describes the flow your editor runs. The consent screen shows three things, and each is worth reading.
- The workspace. The token is bound to the workspace named here. Every call runs in it, and the token cannot be used against another workspace.
- The scopes.
rylvo:read: read bots, analytics, conversations and the knowledge base.rylvo:write: create and update bots, prompts, knowledge and workspace settings.rylvo:admin: settings, members, integrations, and most delete tools.
- The environment. In a workspace with Test and Production you choose one:
- Test (recommended, the default). Safe to experiment. Changes reach Production when you release them. One exception: connectors, MCP servers and channels are shared by Test and Production, so a change to one of those is live at once.
- Production (read-only). Reads your live setup. Every create, edit or delete is refused with a
production_read_onlyerror that tells the editor to use Test.
The binding is permanent for that connection. To use the other environment, connect again and choose it there. A sensible setup is two connections: one bound to Test for building, and, if you want your editor to inspect live traffic, a second bound to Production for reading.
This is the design choice that matters most. A language model in an editor will sometimes misread an instruction. With a Production binding, the worst case for a misread is a refused call. With a Test binding it is a bad draft you can discard, except for connectors, MCP servers and channels, which are live at once, so read those tool calls before you approve them. The longer argument for keeping every edit away from customers is in Test vs Production for chatbots, and the release step itself is on the Environments page.
Step 3: Build an agent in plain words
Once connected, describe what you want. A worked example for a bike repair shop:
Create a support agent for Corner Bikes. It answers questions about repair prices and opening hours from our website, books a service slot by collecting name, phone and bike type, and hands over to a person for anything about refunds. Then write five test cases, including one where a customer asks for a refund over $200, and run them.
Your editor's model chooses the order, but a run can look like this in the tool log:
workspace.get_plan_limitsto see how many bots and sources the plan allows.scaffold_bot_from_description, a macro tool that creates the bot and its system prompt in one call, plus a starter guardrail when you give it phrases to ban.kb.create_connectionandkb.add_sourceto add the website, thenkb.sync_sourceto read it.tests.create_casefive times, one per scenario.tests.run_suite, thentests.get_run_resultsto read which cases passed and why the others failed.prompts.updateto tighten the instruction a failing case exposed, and another run.
Three macro tools cut the number of round trips: scaffold_bot_from_description, clone_bot (with an option to copy linked prompts and guardrails) and attach_mcp_server. A retried macro with the same idempotency key resumes and reuses what it already built, so a dropped connection does not leave two half-made bots.
For what a good set of test cases looks like, see How to test an AI chatbot before launch and the Tests page.
What can an editor do with the 187 tools?
The 187 tools are the same ones the Architect uses. They are grouped by area:
| Area | Examples of what the editor can do |
|---|---|
| Bots and settings | Create, describe, update; session and data-collection settings |
| Prompts and guardrails | Read, write and version instructions and rules |
| Knowledge base | Create connections, add sources, start a sync |
| Flows and skills | Build guided flows; add instructions that load on a trigger |
| Tests and scoring | Write cases, run suites, read results, set scoring |
| Edge Cases and Red Team | List findings, verify a fix, run attacks (Pro) |
| Connectors and channels | Create, test and activate connectors; set up channels |
| Automations and broadcasts | Scheduled tasks, notification channels, broadcasts |
| Workspace | Plan limits, templates, team invites, API keys |
Some areas belong to higher plans, and the tool follows the plan, not the other way round. Edge Cases, Red Team, Skills, Broadcasts, Mission Control and Agent Evolution are Pro features, and all of them are included in the 7-day Pro trial a new workspace starts with. The bot cap applies too: 1 on Free, 1 on Starter, 3 on Lite and 25 on Pro. A tool that would cross a limit returns a clear refusal your editor can read. Current plans are on the pricing page.
Is it safe to give an editor write access to your AI agent?
Yes, within limits: the token is bound to one workspace and one environment, and Production is read-only. Giving a language model write access to the system that answers your customers still deserves care. This is how the connection is limited, and what is still up to you.
What the server enforces
- One workspace per token. The token is an RS256-signed JWT bound to the workspace on the consent screen.
- One environment per connection, with Production read-only, as above.
- Scopes. Most delete tools need
rylvo:admin, which a new client does not get. Those calls fail withauth_insufficient_scopeuntil you reconnect and grant it. A few narrower removals (a single memory, a Red Team attack, removing a bot from an agent group) work with write access, so treat write as able to remove some data. - Roles and plan. A call runs as you, with your workspace role, and meets the plan's feature gates and quotas.
- Rate limit. Each tool is limited per workspace: a burst of 10 calls, refilling at 30 a minute, so a looping editor stops quickly.
- A record of every call, with its outcome, duration and redacted arguments.
- Token lifetimes. Access tokens last 24 hours. Refresh tokens are rotated on every use, slide over 30 days, and the chain ends after 365 days.
What is up to you
- Per-call confirmation. The server does not pause a delete for approval. Turn on your editor's own tool-confirmation setting if you grant admin.
- Revocation timing. An owner or admin can revoke a client in Settings, under Build Intelligence and Connected clients. It can no longer renew, but an access token it already holds works until it expires, at most 24 hours.
- What you paste in. Anything you put into the editor chat can end up in a prompt or a test case. Keep secrets in connector credentials, not in instructions.
The same thinking applies to the agent you are building: once it is live, customers will try to talk it out of its rules. Prompt injection in customer service chatbots covers that side, and the security page describes the platform.
What do I do when the connection fails?
Match the symptom to the cause.
| Symptom | Likely cause | Fix |
|---|---|---|
401 on the first call | No token yet, or the browser step did not finish | Run /mcp (Claude Code) or your client's reconnect, and complete the sign-in |
401 after a day of quiet | The access token expired and could not renew | Reconnect; check the client was not revoked |
production_read_only | The connection is bound to Production | Connect again and choose Test |
auth_insufficient_scope on a delete | No rylvo:admin scope | Reconnect and grant admin, only if you need it |
| A quota refusal | The plan's limit for that resource | Remove something, or move to a larger plan |
| Rate-limit error | Too many calls to one tool | Wait the seconds the error gives, then retry |
What is the OpenAPI file for?
Rylvo also publishes an OpenAPI 3.1 file at /openapi.json. It describes the public REST API, not the MCP tool set, and the MCP tools are not reachable over REST. Use it when you are writing server code that calls Rylvo directly; use MCP when an AI client should do the work. Both are documented in the docs.
When another approach fits better
- You want one quick change. Opening the dashboard is faster than setting up an editor connection.
- Your editor cannot do browser OAuth. Some headless or CI setups cannot complete the sign-in. The public REST API is not a replacement for building: it covers running a bot, querying the knowledge base, memory, sessions and the test release gate, and it needs an API key (Lite and up). Do the building from the dashboard or a machine with a browser.
- Non-developers run the agent. The Architect in the dashboard asks before each change by default, which suits people who do not read tool logs.
Frequently asked questions
How do I connect Claude Code to Rylvo's MCP server?
Run claude mcp add --transport http rylvo https://rylvo.com/mcp, then run /mcp inside Claude Code and approve the connection in your browser. Choose Test on the consent screen.
Which AI editors can connect to Rylvo over MCP?
Claude Code, Cursor, Windsurf, Zed and Codex CLI have setup steps. Other MCP clients that speak Streamable HTTP and OAuth may work too; check that client's own documentation.
Can my editor change my live agent?
Not directly. In a workspace with Test and Production, each connection is bound to one environment on the consent screen, and Test is the default. A connection bound to Production can read, but every tool that would change something is refused. A Test connection edits Test and reaches customers only when you release it, with one exception: connectors, MCP servers and channels are shared by Test and Production, so a change to one of those is live at once.
How long does an editor stay connected?
An access token lasts 24 hours. The editor renews it with a refresh token that is rotated on every use and slides over 30 days, up to 365 days in total before you sign in again.
Can the editor delete things?
Most delete tools need the rylvo:admin scope. A new client is registered for read and write, so those deletes are refused until you connect again and grant admin. A few narrower removals, such as deleting one memory, work with write access. There is no extra approval pause per call, so use your editor's tool-confirmation setting too.
Does connecting over MCP get around plan limits?
No. MCP is another way into the same product. A tool call can still be refused by scope, workspace role, feature availability, a plan quota or validation.
How do I disconnect an editor?
An owner or admin opens Settings, then Build Intelligence, and revokes the client under Connected clients. It can no longer renew, and an access token it already holds keeps working until it expires, at most 24 hours.
