Skip to content
← Back to MCP Skill

MCP · Integrations

MCP Integrations — Connect Your Agent to External Applications

The other side of MCP: instead of exposing your agent to external clients, give your agent tools from applications like Stripe, GitHub, Notion, Slack, and Salesforce so it can take real actions during conversations.

Diagram showing a user asking a raia agent, which decides to call an MCP server (Stripe, GitHub, Notion, Slack, Salesforce), receives the tool result, and returns a natural response to the user.
How MCP Integrations flow: user → agent → MCP server → tool result → response.
01

What are MCP Integrations?

MCP Integrations allow your raia agent to connect to external applications and services that support the Model Context Protocol (MCP). When you add an integration, your agent gains the ability to call tools provided by that application during conversations — such as looking up customer data in a CRM, creating tickets in a project management tool, or retrieving payment information from a billing platform.

Your agent is no longer limited to its own knowledge base. It can reach into the systems your team already uses and take real actions on behalf of users, all within a natural conversation.

02

How it works

  1. 01

    The agent receives the user's message and evaluates whether any connected tools are relevant.

  2. 02

    If a tool is needed, the agent calls the external MCP server using the configured URL and credentials.

  3. 03

    The MCP server executes the tool (e.g. looks up a record, creates an item, runs a query) and returns the result.

  4. 04

    The agent incorporates the result into its response and replies to the user naturally.

This happens automatically. The user does not need to know which tools are being called — they simply ask a question and receive an answer that draws on live data from your connected systems.

03

Supported transport types

TransportDescriptionWhen to use
Streamable HTTPThe modern standard for MCP communication. Uses standard HTTP POST requests with optional streaming.Recommended for most integrations. Use this unless the server only supports SSE.
SSE (Server-Sent Events)An older transport protocol where the client connects via an event stream.Use only if the MCP server documentation specifies SSE as the required transport.
04

Setting up an integration

Prerequisites: an active raia agent with the MCP Skill enabled, the MCP server URL for the application you want to connect, and any required authentication credentials (API key, bearer token, or authorization header value).

Step 1 — Open the Integrations tab

Open your agent in the raia Dashboard, go to the agent's settings, select the MCP Skill page, and switch to the Integrations tab.

Step 2 — Create a new integration

Click New Integration. Fill in the form:

FieldRequiredDescription
NameYesA descriptive name for this integration (e.g. "Stripe Payments", "GitHub Issues"). This name is shown to the AI model to help it understand what the integration does.
DescriptionYesA clear explanation of what this integration provides. Write this as if you are telling the agent when and why it should use these tools.
URLYesThe MCP server endpoint URL (e.g. https://mcp.stripe.com/v1/mcp).
TransportYesChoose Streamable HTTP (recommended) or SSE.
AuthorizationNoThe bearer token or API key for authenticating with the MCP server. If provided, raia sends it as Authorization: Bearer <value> in every request.
Custom HeadersNoAny additional HTTP headers required by the server (e.g. X-API-Key, X-Workspace-ID).

Step 3 — Fetch available tools

After filling in the URL and authentication details, click Get Available Tools. raia connects to the MCP server and retrieves the list of tools it offers. For example, a Stripe MCP server might expose:

  • get_invoice — retrieve details about a specific invoice
  • list_customers — search for customers by email or name
  • create_refund — issue a refund for a charge

Step 4 — Select tools

Check the boxes next to the tools you want your agent to access. You do not need to enable all tools — only select those relevant to your agent's purpose. Limiting tools helps the agent make better decisions about when to use them.

Step 5 — Save the integration

Click Add Integration. The integration is now active and your agent can immediately begin using the selected tools in conversations.

05

Managing integrations

All integrations for an agent are listed in the Integrations tab. Click any integration to open its detail view where you can update its name, description, URL, or credentials, change which tools are enabled, or toggle it between Active and Inactive. To temporarily disable an integration without deleting it, set its status to Inactive. To remove it permanently, click Delete from the detail view — this cannot be undone.

06

Writing effective descriptions

The Name and Description fields are critical because they directly influence when the AI model decides to use the integration. Write them as clear instructions.

Good

Name: Stripe Payments

Description: Use this integration to look up customer payment information, retrieve invoice details, check subscription status, and process refunds. Call these tools when a user asks about billing, payments, charges, or invoices.

Poor

Name: Stripe

Description: Stripe API connection.

The more specific your description, the more accurately the agent will know when to invoke the tools.

07

Security considerations

When you provide an Authorization token, raia stores it securely and includes it in every request to the MCP server. The token is never exposed to end-users or included in conversation responses.

The MCP server must be reachable from raia's cloud infrastructure over the public internet. Servers behind private networks, VPNs, or firewalls will not be accessible unless you expose them through a tunnel or proxy. raia also applies these safety filters:

  • Localhost URLs are blocked — you cannot connect to 127.0.0.1 or localhost.
  • Self-referencing URLs are blocked — you cannot point an integration back at raia's own API domain.

Tool approval

All MCP tool calls made by the agent are executed automatically without per-call user approval — this is by design for conversational fluency. If you are concerned about destructive actions (e.g. deleting records), only enable read-only tools for that integration.
08

Troubleshooting

IssuePossible causeSolution
"Unable to fetch tools" when clicking Get Available ToolsURL is incorrect or server is unreachableVerify the URL is correct and accessible from the public internet. Check that the authorization token is valid.
Agent never calls the integration toolsDescription is too vague or tools are not relevant to user queriesRewrite the description to be more specific. Test with explicit requests like "Look up invoice #123 in Stripe."
Tool calls return errors during conversationAuthorization token expired or server-side issueUpdate the authorization token in the integration settings. Check the MCP server's status.
Integration shows as Active but tools don't appearNo tools were selected during setupEdit the integration and click Get Available Tools again, then select the tools you need.
09

Examples of popular MCP servers

The MCP ecosystem is growing rapidly. Applications like these already ship MCP servers you can connect to your raia agent — check each application's documentation for their specific MCP server URL and authentication requirements.

ApplicationUse caseExample tools
StripePayments & billingLook up invoices, list customers, check subscription status
GitHubCode & project managementSearch issues, create pull requests, list repositories
NotionKnowledge & documentationSearch pages, create database entries, update content
SlackTeam communicationSend messages, search channels, list users
LinearIssue trackingCreate issues, update status, search projects
SalesforceCRMLook up contacts, update opportunities, search accounts
PostgreSQL / SupabaseDatabase accessRun queries, list tables, retrieve records
10

Quick reference example

A typical Stripe integration configuration looks like this:

json
{
  "name": "Stripe Payments",
  "description": "Use to look up invoices, customers, and subscriptions, and to process refunds when users ask about billing.",
  "url": "https://mcp.stripe.com/v1/mcp",
  "transport": "streamableHttp",
  "authorization": "Bearer sk_live_************",
  "tools": ["get_invoice", "list_customers", "create_refund"]
}

Summary

MCP Integrations transform your raia agent from a standalone knowledge assistant into a connected tool that interacts with your entire software stack. Enable the MCP Skill, open the Integrations tab, add the MCP server URL and credentials, pick the tools you want, and save. Your agent is connected. Head back to the MCP Skill guide for the other direction — connecting external clients to your agent.