To connect an MCP server to an AI agent, you give the agent the server's address and a credential, let it list the server's tools, then set what each tool may do on its own. The connection is quick. What matters is the permission on each tool, an approval step for risky ones, and a record of every call.
Key takeaways
- An MCP server offers tools; your agent is the client that calls them. A server you host yourself must be reachable over Streamable HTTP (or legacy SSE if nothing else is offered), because stdio servers are local processes. Rylvo runs the stdio packages in its own catalog for you.
- Set every tool to one of three states: runs on its own, asks a person first, or blocked so the agent never sees it.
- Anything that moves money, changes records or messages people should ask first. OWASP's LLM Top 10 files this under Excessive Agency, now ranked third in the 2026 edition, and recommends human approval for high-impact actions.
- Cap spending with a monthly budget, and watch health, failures and approval backlogs.
- In Rylvo this lives in MCP Hub, on Lite and up, and in the 7-day Pro trial.
This guide is part of our series on shipping an agent you can trust. Start with how to test an AI chatbot before launch if you have not yet; tools raise the stakes of every untested reply.
What an MCP server actually gives your agent
The Model Context Protocol is an open standard for connecting AI applications to outside systems. A server describes its tools, each with a name, a description and a schema for its arguments. A client, in this case your AI agent, lists those tools and calls one when a conversation needs it. The result comes back into the conversation, and the agent answers with it.
As of November 2026, the current specification revision (2026-07-28) defines two standard transports, stdio and Streamable HTTP. A third, HTTP+SSE from the 2024-11-05 revision, is deprecated but still common:
| Transport | How it runs | Works for a hosted agent? |
|---|---|---|
| stdio | A local process launched by the client, talking over standard input and output | Not by itself: there is no local process next to a hosted agent. Rylvo runs the stdio packages in its own catalog for you. |
| Streamable HTTP | Each message is an HTTP POST to one MCP endpoint; replies come as JSON or a stream | Yes. This is the one to use. |
| HTTP + SSE (2024-11-05 revision) | Separate SSE and POST endpoints. Deprecated since the 2025-03-26 revision and still marked Deprecated in 2026-07-28 | Yes, Rylvo's SSE option connects to it. Use it only when a server offers nothing else, and ask the provider about Streamable HTTP. |
The practical rule: if a server's README tells you to run npx some-server on your laptop, it is a stdio server. That suits a desktop client such as an AI code editor. For an agent that answers customers on your website or WhatsApp, use a package from Rylvo's catalog, or the server's remote URL, or host your own server behind an HTTP endpoint.
Before you connect: four questions for every server
Answer these before you hand an agent a credential. They take five minutes and save you from the failure that matters most: an agent doing something no one meant it to do.
- What can each tool change? List the tools and mark each as read (look up an order), write (update a record), or irreversible (issue a refund, send an email, run SQL).
- Whose account does it act as? A credential with admin rights gives the agent admin rights. Create a scoped key or a dedicated integration user where the provider allows it.
- Who answers when a tool asks first? Approvals only help if a person sees them. Name who that is and how fast they respond.
- What does a call cost? Some tools call paid APIs. Decide a monthly ceiling now.
The OWASP Top 10 for LLM Applications (2026 edition, published August 2026, as of November 2026) ranks Excessive Agency third; it was LLM06 in 2025, and the 2025 entry has the full text. OWASP names three root causes: excessive functionality (tools the system does not need), excessive permissions (more access than the task requires), and excessive autonomy (high-impact actions that run without a person's approval). Its mitigations map to the questions above: fewer and narrower tools, least-privilege credentials, and a person's approval for high-impact actions. Prompt injection is one way an attacker can trigger excessive agency: a hidden instruction in a customer message or a web page makes the model call a tool it should not. A model's own mistakes can do the same. Read how prompt injection hits customer service chatbots alongside this.
How to connect an MCP server to your AI agent in Rylvo: step by step
Rylvo's MCP Hub is where a workspace connects outside MCP servers, decides what each tool may do, and sees every call. It is on Lite ($40 a month, 5 servers) and Pro ($100 a month, no server cap), and the 7-day Pro trial includes it. Free and Starter do not include it. Prices are in USD, as of November 2026; see pricing for the current figures.
1. Pick the server: catalog, registry or your own URL
There are four ways in:
- Catalog. 13 servers Rylvo already knows how to connect. 10 are marked Rylvo verified (Slack, GitHub, Linear, Jira, Notion, Brave Search, Google Drive, Postgres, HubSpot and Stripe) and 3 are community servers (Zapier, Pipedream Connect and Composio). Each entry lists the tools your agents would get, their risk, and how each tool starts.
- The official MCP Registry. Connect by URL can search the public MCP Registry and fill in a server's remote HTTP or SSE details for you.
- Your own server. An admin connects any remote server by its URL over Streamable HTTP, or over legacy SSE when the server offers nothing else.
- A teammate's request. An operator asks for a server under Requests; an admin or owner reviews it before it joins the workspace's catalog.
Community and your own servers are not reviewed by Rylvo. Read their tool list before you let an agent call them. 2 catalog entries, Brave Search and Postgres, are stdio packages. Rylvo runs them for you on its own runner, so they need only their credentials. The HTTP-or-SSE rule above applies to servers you connect by URL.
2. Sign in or add a credential
A server signs in one of five ways: no sign-in, an API key, a bearer token, OAuth sign-in, or a custom header. For OAuth servers you sign in once in the browser; for the rest you paste the secret. OAuth sign-in for MCP servers follows the protocol's authorization specification, where the server tells the client which authorization server to use.
A secret is encrypted server-side with AES-256-GCM before it is stored, and the dashboard shows it afterwards only by its last four characters. Credentials are kept per environment, so the key your Production agent uses is separate from any key you add for Test. For OAuth servers, Rylvo renews an expiring sign-in on its own when the provider issued a refresh token. If the provider revokes access, or renewal fails, calls start failing and the server's connection check fails, and you sign in again. API keys and bearer tokens are never renewed; they work until you rotate them.
3. Attach the server to the agents that need it
Tools reach an agent only when you attach the server to that agent. Attach a CRM server to your sales assistant, not to the agent that answers opening hours. Fewer tools per agent means fewer wrong calls and a smaller blast radius.
Then press Check connection. It signs in and lists the server's tools the way a Production reply would. This matters because of one current limit: replies in Test cannot call MCP tools yet. One set of servers serves Test and Production, and a change to a server reaches live replies within a minute, so check before you attach a server to a live agent. Our guide to Test vs Production for chatbots covers the rest of that split.
4. Set each tool: Allow, Ask first or Block
Every tool has one of three settings:
| Setting | What the agent does | Use it for |
|---|---|---|
| Allow | Calls the tool on its own | Read-only lookups: order status, a calendar's free slots, a search |
| Ask first | The call waits for a person in Approvals | Refunds, record updates, sending messages, SQL against live data |
| Block | Never sees the tool | Anything the agent has no reason to touch |
Rylvo starts risky tools on Ask first. A tool rated high or critical risk asks first, and so does every tool on a server marked for approval: in the catalog that covers Postgres, Stripe and the three community automation servers. You can change any of it. Tick several tools and set them at once, or open one tool and give a single agent its own setting, so your support agent can look up a charge while only your billing agent may ask to refund one.
A worked example for a payments server:
Tool Support agent Billing agent
Look up a charge Allow Allow
Issue a refund Block Ask first
Update customer details Block Block
5. Handle approvals where people will see them
When an agent calls a tool set to Ask first, the call waits on MCP Hub's Approvals page with its exact arguments. Operators, admins and owners can approve or deny it. What happens next depends on where the conversation is:
- In a dashboard chat, the reply pauses until someone decides. Approve and the call runs, then the reply goes out. Deny and the agent answers without it.
- On a channel or the API, no one is waiting, so the call is queued and the agent tells the person the step needs a go-ahead. Once approved, that exact call runs the next time the agent tries. A request no one answers expires after 10 minutes. A denied or expired request never runs.
The approval check runs before anything else, including the budget check and the network call, so a call that is waiting has no side effects. Every decision stays on record.
6. Set prices and a monthly budget
Each tool sits in one of 4 price tiers. By default a Low call counts $0.001, Medium $0.005 and High $0.01; Free counts nothing, and you can set your own price for any tier. A successful call counts its tier's price toward the plan's monthly MCP budget: $25 on Lite and $250 on Pro. Failed and blocked calls count nothing. When the month's budget is reached, tools with a price stop running until the next month.
This is a spending limit, not a charge to your Rylvo wallet. The providers behind each server still bill you directly.
7. Watch health, failures and every call
Once a server is live, the checks run on a schedule rather than by someone remembering to look:
- Health: every connected server is probed every 30 minutes, and an alert is raised after 3 failed probes in a row.
- Tool changes: tools are listed again every 6 hours, and a breaking change to a tool's schema raises an alert. A changed tool is also flagged on the Overview.
- Spikes: hourly checks flag a cost spike, a jump in failures and a growing approval queue.
- Weekly digest: a Monday summary of cost and reliability.
The Activity page shows each call by server and tool over 24 hours, 7 or 30 days, with its outcome and, for a blocked call, why: waiting for approval, approval denied, a guardrail, or the budget. You can export it as CSV. For the replies around those calls, Traces shows what the agent read and why it answered the way it did.
The reverse direction: make an agent a tool
MCP Hub also works the other way. On an agent's page, Expose as MCP tool turns that agent into a tool other agents in your workspace can call. A front-desk agent can hand a billing question to a billing specialist and use its answer. Calls between agents stop at a depth of 3, so two agents cannot call each other forever, and each exposed agent has a default limit of 60 calls a minute.
Do not confuse either direction with Rylvo's own MCP endpoint. That one lets an AI editor such as Claude Code or Cursor build and test agents in your workspace, with 187 tools; it is covered on Build Intelligence.
When MCP is not the right tool
MCP is the right fit when an agent needs to look something up or act in a system mid-conversation. It is more than you need in two common cases:
- You only need to send each lead somewhere. A signed webhook to Zapier, Make, n8n or Slack is simpler. See Connectors.
- The tool only runs locally. If a server of your own is stdio-only and you will not put it behind a URL, use a desktop MCP client instead of a hosted agent.
And if your agent cannot yet answer plain questions from your own content correctly, fix that first: see how to stop an AI chatbot hallucinating and run the checks in Tests before you attach any tool. Tools amplify an agent's judgment; they do not replace it.
A checklist before you switch a server on
- A server you connect by URL is reachable over Streamable HTTP, or over legacy SSE if the provider offers nothing else (catalog stdio packages run on Rylvo and need no URL).
- The credential is scoped to the least access the tools need.
- The server is attached only to the agents that need it.
- Every write or irreversible tool is Ask first or Block.
- A named person watches Approvals during business hours.
- Check connection lists the tools you expect.
- A monthly budget fits what you are willing to spend.
- You have read the first day of Activity.
For how Rylvo handles keys, access and data more broadly, see Security. Plans and the trial are on pricing.
Frequently asked questions
What is an MCP server?
An MCP server is a small service that offers tools, such as create a ticket or look up an order, through the Model Context Protocol. Any MCP client, including an AI agent, can list those tools and call them with structured arguments.
Can a hosted AI agent use a stdio MCP server?
Not on its own. A stdio server is a local process that the client launches, so a hosted agent cannot start one on your laptop. Rylvo removes that problem for the packages in its catalog: Brave Search and Postgres run on Rylvo's own runner, so you only add their credentials. For a server of your own, connect it by URL over Streamable HTTP, the current standard, or over legacy SSE if the provider offers nothing else.
Which tools should need a person's approval?
Anything that moves money, deletes or changes records, sends a message to someone, or runs SQL against live data. Read-only lookups can usually run on their own. In Rylvo, high and critical risk tools, and every tool on a server marked for approval, start on Ask first.
Which Rylvo plans include MCP Hub?
Lite and up. Lite ($40 a month) includes 5 servers and a $25 monthly MCP budget. Pro ($100 a month) has no server cap and a $250 budget. Free and Starter do not include it. The 7-day Pro trial includes it.
Can my agent call MCP tools while I test it?
Not yet. In Rylvo one set of MCP servers serves Test and Production, and credentials are kept per environment, but replies in Test cannot call MCP tools yet. Use Check connection to sign in and list a server's tools the way a Production reply would.
Does the MCP budget charge my Rylvo wallet?
No. Each tool sits in a price tier, and a successful call counts its tier's price toward the plan's monthly MCP budget. Failed and blocked calls count nothing. It is a spending limit, not a wallet charge, and your providers still bill you directly.
