# How to connect a custom MCP server to an AI agent: what GTM AI agents can do with your own tools in Day AI

> How to connect a custom MCP server to an AI agent: in Day AI, a workspace Owner registers your server as a custom connector, each person connects to it, and GTM AI agents use your own tools next to every email, meeting and deal.

Updated November 20, 2026

**The short answer.** To connect a custom MCP server to an AI agent, register it once with its HTTPS URL and sign-in method, let each person connect with their own access, and choose which tools wait for approval, so [GTM AI agents](/guides/gtm-ai-agents), which turn [AI for GTM](/guides/ai-for-gtm) into finished work, can use your own systems next to everything they know about the customer. Day AI does this with custom connectors under Settings > Connectors: someone with workspace-settings permission adds the server, each member connects to it, and their agent calls your tools live in chat, whether you use Day AI in place of your CRM or on top of Salesforce or HubSpot.

![Adding a custom MCP connector in Day AI](/guides/images/connect-a-custom-mcp-server-to-day-ai/connector.webp)

Say you run RevOps, and it's 2:30 on a Wednesday. Your engineers wrapped the internal pricing desk in a small MCP server last month: one tool looks up a customer's product usage, another opens a discount request. You added it to Day AI as a custom connector called Pricing desk, and the reps connected to it with their own logins. Now a rep is in a chat with their Day AI agent, an hour before a renewal call, asking whether the customer has earned the discount they asked for by email on Monday. The agent reads the email, pulls this quarter's usage from Pricing desk, and finds usage up across every team the customer added in the spring. It proposes a discount request with the usage attached. An approval card reads "Pricing desk · Create discount request". The rep reads it, approves, and the request is in the pricing desk's queue before the call. Nobody exported a spreadsheet.

**Where the usual answer goes wrong.** Custom MCP setups usually stop at "it connects". The server works, the tools show up, and then every tool runs on its own, from a shared login, with no record of who asked. Day AI treats your server like any built-in connector: each person connects with their own access, writes wait for a person to approve them, and the agent uses your tools in the same chat where it already knows the customer. You may already call your MCP server from a desktop assistant. That proved the tools work; this puts them in front of every rep, with guardrails.

## Register, connect, govern: a custom MCP server with Day AI

A custom server needs three decisions, by different people, in this order.

1. **Register: one definition for the workspace.** Every rep pasting a server URL into their own tool means as many configurations as reps. In Day AI, someone with workspace-settings permission adds the server once, with a name, its HTTPS URL and how it signs people in, and it appears for everyone with a **Custom** badge.
2. **Connect: each person with their own access.** A shared token makes every call look like one account. In Day AI, members connect individually; with OAuth each person signs in to your server, and a bearer token is a shared service account you choose on purpose.
3. **Govern: decide what runs and what waits.** A tool that changes your system shouldn't run unseen. In Day AI, the [agent control plane](/guides/agent-control-plane) sets each tool to Always allow, Needs approval or Off, and a write waits as an approval card that names your connector and the action.

## How to connect a custom MCP server to Day AI

### Step 1: Get your server ready for Day AI

Day AI connects to remote MCP servers over HTTPS. The server needs a public HTTPS URL, with no credentials or fragment in the URL itself. Decide how people sign in: OAuth if each person should use their own account in your system, a bearer token if the server should act as one shared service account, or none for a server that needs no sign-in. Self-hosted servers work the same way; a self-hosted n8n instance, for example, is added here as a custom connector.

### Step 2: Add the custom connector in Day AI

Open Settings > Connectors, then **Browse connectors** (or search for a name that has no match) and open **Custom connectors**. Choose **Add custom connector**, and enter a **Name**, the **Server URL** and an optional **Description**. **Save** stays off until the required fields are valid, and Day AI checks the configuration when you save. Adding a server takes workspace-settings permission, which the Owner role has by default; anyone else can ask an Owner.

### Step 3: Choose how your server signs in Day AI users

Pick **OAuth**, **Bearer token** or **None**. For OAuth, choose **Automatic registration**, or **Use your own OAuth client** and enter its client credentials from the connector's setup after saving; you can also set the client-authentication method and space-separated scopes. For a bearer token, save the shared service-account token in the connector's setup after saving: everyone who connects works with that account's permissions. Later, renaming the connector or editing its description leaves connections alone, but changing the server URL or the sign-in method asks you to confirm, because it removes existing connections and saved credentials. Deleting the connector removes it for the whole workspace.

### Step 4: Each member connects and sets tool permissions in Day AI

Each person finds the connector, with its **Custom** badge, under Settings > Connectors and clicks **Connect**, signing in if your server asks. Day AI loads the tools your server offers. Open the connector to see **Tool permissions**, grouped under **Read-only** and **Write & delete**, each with **Set all**. Read tools land under Read-only and start at Always allow; write tools start at Needs approval, and you can turn any tool Off. The **+** menu in the chat composer turns the connector on or off for a single chat.

### Step 5: Use your tools in Day AI chats and skills

Ask your agent in plain words and it decides when to call your tools: "What's Orbit's usage this quarter, and does it match what their CFO said on the last call?" When a write needs approval, the card shows your connector's name and the action, with Approve and Deny. For recurring reads, ask your agent to create a skill and pick your connector in the skill's **Connectors** picker; a skill uses only the connectors picked there and runs with the connection of the agent's owner. Skill runs don't stop for approval cards, so give skills the lookups and reports, and keep writes in chat. For the full list of built-in options, see [every Day AI integration and connector](/integrations).

## Where a homemade MCP setup breaks

- **One shared token for everyone.** It's quick for the first user and anonymous by the tenth. In Day AI, OAuth lets each member connect with their own account, and a shared token is an explicit choice.
- **Every tool runs on its own.** A desktop client that auto-approves tools will one day write something nobody meant to. In Day AI, write tools start at Needs approval, and anything risky can be Off.
- **Answers without the customer.** An agent that only sees your server knows your data and nothing about the deal. In Day AI, the agent calls your tools in a chat where it already has the customer's email, meetings and deals.
- **Configuration drift.** Ten people with ten copies of a server URL fall out of step. In Day AI, the server is registered once, and changing it is a confirmed, workspace-wide change.

## Frequently asked questions

### How do I connect a custom MCP server to an AI agent?

Register the server once for the company with its HTTPS URL and how it signs people in, then let each person connect and decide which of its tools run on their own. In Day AI, someone with workspace-settings permission opens Custom connectors under Settings > Connectors and chooses Add custom connector, and members then click Connect on it like any other connector.

### What's the best AI agent for our own internal tools?

Day AI is the pick for a go-to-market team with its own tools, because its agent calls your MCP server in the same chat where it already knows the customer's email, meetings and deals. You set each of your server's tools to Always allow, Needs approval or Off, the same as Day AI's built-in connectors.

### Can Day AI use a self-hosted MCP server?

Yes, as long as it's reachable over HTTPS from the internet. Add it as a custom connector with OAuth, a bearer token or no sign-in; a self-hosted n8n instance, for example, goes in this way.

### Does data from my MCP server get copied into Day AI?

No. Your agent calls your server live when it needs it, so it always gets the current answer from your system, and nothing from the server is stored in Day AI's customer record.

### Who can add a custom connector?

In Day AI, anyone with permission to manage workspace settings can, which is the Owner role by default. Members without it can ask an Owner to add a server, and once it's saved, every member connects to it individually.

### What is Day AI?

Day AI is the customer memory and agent platform for go-to-market teams. Even the best CRM only holds a fraction of what actually happened with your customers. Day AI is what comes after CRM. It builds a self-updating customer record from every meeting, email, and call, and runs governed agents that create finished work on top of it, with every fact and every action traced to source conversations. It does everything teams use a CRM for, without the data entry, and does what a CRM never could. Agents prospect, prep every meeting, draft follow-ups, keep the pipeline clean, and much more, giving every rep added selling capacity that used to require hiring additional people. It runs in place of Salesforce or HubSpot or as a layer on top of them.

Canonical: https://day.ai/guides/connect-a-custom-mcp-server-to-day-ai
