Route Ramp MCP traffic through Formal to control and log what AI agents do in Ramp:
Under OAuth app, keep Formal’s App.The rule matches known agents only.
See Identity headers.Cloud agents such as Claude, ChatGPT and Cursor Cloud Agents don’t run the Endpoint.
Point them at this server’s Connector address, See MCP resources for the
- Block tools you don’t want agents to call, such as
list_departments. - Mask sensitive data in tool results, such as emails in
list_usersresponses. - Keep credentials at the Connector, so users and agents never see Ramp tokens.
- Log every tool call with the user, the MCP client and its parameters.
0. Prepare your Connector
The Connector needs an MCP listener and a hostname with wildcard DNS and TLS. Set them up once by following Deploy the Connector. Every MCP server reuses them.1. Add Ramp MCP server to your Resources
- UI
- Terraform
- Pulumi
- API
- Open the Admin Catalog and click Add MCP.
- Select the Ramp template.
- Enter a DNS-label Name, such as
ramp. - Choose the Space containing your Connector, such as
default. - Configure upstream authentication as described below, then save.
No Connector is in this server's Space.2. Setup Authentication
- Linked Accounts (Recommended)
- Pass Through
Each user links their own Ramp account once in the Employee Catalog, and the Connector sends that user’s token to Ramp.

Formal’s App (default)
Formal has a registered OAuth app with Ramp, so you register nothing. Users see Formal on Ramp’s consent screen.Ramp must allowlist Formal’s Redirect URI before users can link. Request it with Ramp’s redirect URI form.
3. Route Endpoint traffic
Auth is managed at the Connector level when you use Linked Accounts or Shared Credentials, so the Endpoint needs to forward the MCP traffic to it. Laptops and VMs with the Formal Endpoint keep usinghttps://ramp-mcp-remote.ramp.com/mcp, and a network rule sends that traffic to the Connector.- UI
- Terraform
- Pulumi
- API
- Go to Network Rules and create a rule named
ramp-mcp. - Paste this expression, set the rule to Active, then save:
https://ramp.<connector-hostname>/mcp.
Find it in the Admin Catalog: open Ramp, then copy Connector address on the Configuration tab.4. Create policies
Tools
The Admin Catalog lists these tools for Ramp:Policies examples
- Mask a tool's output
This policy replaces email addresses in results returned by
list_users, list_transactions, and list_reimbursements.input.mcp fields and Rewrite Action for body rewrites.5. Check the logs
Open Logs and search forresource.name:ramp.
Each Ramp tool call is one request log with the user, the MCP client and the tool.
Open a log to see its tool parameters and the policies it triggered.
A masked search shows the rewrite policy.See Logs for search syntax and filters.Troubleshooting
The agent says Formal has no current sign-in
The agent says Formal has no current sign-in
The agent relays:
Formal has no current ramp sign-in for you. Link or re-link your ramp account in Formal…Cause: The user never linked Ramp, or the token expired and couldn’t be refreshed.Fix: Open the server in the Employee Catalog and link Ramp again.The agent says Ramp rejected your credentials
The agent says Ramp rejected your credentials
The agent relays:
ramp rejected your credentials. Link or re-link your ramp account in Formal…Cause: Ramp no longer accepts the linked token, for example after the user revoked access in Ramp.Fix: Link Ramp again from the Employee Catalog.Laptop traffic doesn't appear in Logs
Laptop traffic doesn't appear in Logs
Cause: The Endpoint isn’t running, or the network rule doesn’t match the client.Fix: Check the Endpoint is connected. The rule above only matches known agents. Other clients, such as a browser, reach Ramp directly unless the rule also matches them. See Network rules.
MCP clients can't connect directly yet
MCP clients can't connect directly yet
Cause: The Configuration tab lists the reason, most often
No Connector is in this server's Space.Fix: Edit the server and choose the Space containing its Connector.Next Steps
MCP Gateway
Configure Connector routing and downstream access
All MCP servers
Browse every MCP server template

