MCP connections for Custom Agents
Si è verificato un problema. Sembra che il tuo ad blocker stia impedendo la riproduzione del video.
Guardalo su YouTube
Connect your Custom Agents to external systems and data sources with MCP 📶
Vai alle Domande frequentiMCP (Model Context Protocol) connections let your Custom Agent securely connect to external apps. With MCP connections, your agent can read information and take actions using pre-configured connections with apps like Linear, Ramp, Canva, and more—or connect to any app by setting up custom MCP connections.
Note: MCP connections are available on Business and Enterprise plans only.
MCP connections let Custom Agents interact with external tools and services through the Model Context Protocol. MCP tools work with all trigger types, including scheduled runs, triggered runs based on Notion or Slack events, and manual runs from chat or @mentions.
Key features:
Pre-configured servers: Quickly connect to popular apps without any additional configuration.
Custom servers: Connect to any tool that supports a hosted MCP server using publicly available URLs.
Customization: Tools for each connection can be toggled on or off, and you can choose whether to require confirmation before running or run automatically.
Each MCP connection is unique to a single Custom Agent and uses the credentials of the person who authenticated it. Connections are not shared across agents, even if they connect to the same service.
This means:
If you set up a Figma connection for agent A, agent B will need its own separate Figma connection.
You must log in to each MCP server for each agent you configure.
Revoking a connection in one agent does not affect other agents.
You can connect to the following apps without any additional configuration:
Open your Custom Agent's
Settings.Go to
Tools & Access.Click
Add connection→Add.Choose a pre-configured server.
Follow the authentication prompts to connect your account.
Select which tools from the server you want your agent to use. These will vary based on the server you choose.
Click
Save.
To connect to an MCP server that isn’t in the pre-configured list, a workspace admin must first turn on this option. There are two separate settings: one to allow custom MCP servers, and one to decide whether members can install any connection or only ones you approve.
To allow custom MCP servers:
As a workspace admin, go to
Settings→Connections.In the
Managetab, toggle on Enable custom MCP servers.
To choose whether members can install any connection or only admin-approved connections:
As a workspace admin, go to
Settings→Connections.In the
Managetab, find the Manage permissions section.Next to Limit which connections members can install, choose one:
Approved & recommended: Automatically approve all connections recommended by Notion.Approved only: Manually select each connection members can install.
Select
Approved connectionsto review what members can install.Select
Add approved connection, then choose what you want to allow:Connections: Search for a connection by name or ID and add it to the approved list.Custom MCP server: Add a specific custom MCP server URL you want to allow.
Click
Save.
Once this is set, anyone in the workspace can connect to the approved options when they’re setting up a Custom Agent. They’ll authenticate with their own credentials.
To add a custom MCP to a Custom Agent:
Open your Custom Agent’s
Settings.Go to
Tools & Access.Click
Add connection→Custom MCP server.You’ll need to enter the MCP server’s URL from the tool or provider you’re connecting to (for example: your company’s internal tool team).
Provide a display name for the connection.
Add any required authentication details.
Click
Save.
Authentication for custom MCP connections
Custom MCP servers may support one or both of the following sign-in methods:
OAuth
Header-based authentication
(for example, API keys or bearer tokens)
Some OAuth servers don't support dynamic client registration (DCR). This means Notion must pre-register a client application with the third-party service before OAuth sign-in can work. If the server you want to use doesn't support DCR, check its documentation to see if you can use an API key or bearer token instead. If neither option is available, the MCP server can't be used with Custom Agents.
You can decide how a Custom Agent should use an MCP connection in your agent’s Settings under Tools & Access. Expand the MCP connection entry to see available tools and determine how they run. Tools can be enabled or disabled using the adjacent toggle.
Read and write tools
Read tools (ex: search, fetch, list, view) allow the Custom Agent to retrieve or view information without making changes to external systems.
Write tools (ex: create, update, delete, send, post) make changes to data in external systems. By default, these require confirmation before the agent executes the action.
Run automatically or always ask
Run automatically allows the tool to execute without requiring confirmation from the user. This setting is best for read tools (search, fetch, list, view) since they don’t modify data.
Always ask requires a user to approve or cancel an action before it executes. This is the default setting for write tools (create, update, delete, send) to prevent unintended changes.
To remove an MCP connection
Open your agent’s
Settings.Go to
Tools & Access.Find the MCP connection and click
Remove.Click
Save.Always test your agent after making changes. You can reconnect at any time by authenticating again.
Note: If you remove a connection, the agent can no longer access that service and scheduled runs that depend on that server may fail. Your agent’s workflows might break if you remove a connection, even before clicking Save.
MCP connections respect the user permission levels set on your Custom Agent. Here’s what each permission level can do with MCP-connected tools.
Users with Full Access and Can Edit permissions to a Custom Agent can:
Add new MCP connections to the Custom Agent.
Chat with the agent and use all connected tools, even if they do not have access to the tool outside of the agent.
View the agent’s activity log and MCP tool usage.
Remove existing MCP connections.
Reconnect or update the MCP server credentials.
And for MCP connections they set up, users with Full Access and Can Edit permissions can:
Configure which tools are enabled or disabled and change tool execution settings (run automatically vs. always ask)
Note: Once an MCP connection is established, only the person who authenticates the MCP connection can configure and update tool settings - even if others have Full Access or Can Edit permissions to the Custom Agent. The agent uses that person’s credentials and permissions when accessing the external service.
Users with Can view and interact permissions to a Custom Agent can:
Chat with the Custom Agent and use all connected tools, even if they do not have access to the tools outside of the Custom Agent.
Trigger both read and write actions through the agent.
Approve or cancel write actions when confirmation is required.
View which MCP servers are connected (in the Custom Agent settings).
Users with Can view and interact permissions cannot:
Add or remove MCP connections.
Change which tools are enabled.
Modify tool execution settings.
View the agent’s full activity log.
Note: Write actions (like creating or updating items) require confirmation by default to prevent unintended changes. Users will see a prompt showing exactly what action the agent will take before it executes.
If tools are not appearing after connecting:
Refresh the agent settings page.
Check that the MCP server successfully authenticated (look for a green checkmark or “Connected” status).
Verify that the server is online and returning tool metadata.
Try reconnecting the server, or disconnecting and re-adding it.
If Custom Agent runs fail with MCP errors:
Check the Activity tab for specific error messages.
Verify that your connection is still valid (tokens may have expired).
Make sure the connection is still enabled in the agent’s settings.
Try reconnecting the MCP server to refresh credentials.
Update your Custom Agent’s instructions to mention the server or tool name you’re looking to use. For example: “Use Linear MCP to retrieve metadata for this mock.”
Domande frequenti
Can I share MCP connections across multiple agents?
Can I share MCP connections across multiple agents?
No. Each Custom Agent requires its own connection to each MCP server. This keeps the security model simple and ensures each agent has appropriate access controls.
Can I connect multiple accounts for the same service?
Can I connect multiple accounts for the same service?
Not within a single agent. If you need to use multiple accounts, you'll need to create separate Custom Agents, each with its own connection.
What if the MCP server is down or unreachable?
What if the MCP server is down or unreachable?
If the MCP server is unavailable:
The agent will report an error in the run log.
Tools from that server will fail but won't crash the entire agent.
Check the
Activitytab for specific error messages.
What's the difference between MCP servers and native Notion integrations?
What's the difference between MCP servers and native Notion integrations?
Native integrations (like Slack) are built directly into Notion and must be authorized by a workspace owner first. They offer read and write access plus trigger capabilities.
MCP servers follow an open protocol and can be added by any workspace member. They have read and write access but no trigger capabilities.
Both work with Custom Agents, but MCP servers offer more flexibility for connecting custom tools and services.
