add an mcp server.md

Registering MCP Servers

One of the first steps to getting started with Barndoor is to register your MCP servers. You can register servers that are built and hosted by Barndoor, curated by Barndoor but hosted by third parties, or hosted internally on your own infrastructure.

Prerequisites

Before getting started with Register an MCP server in Barndoor, you’ll need:

Understanding MCP Server Types

When adding a MCP server, you'll choose from one of three categories.

Server Type Description
Barndoor Managed Secure, turnkey MCP servers built, managed, and hosted by Barndoor.
Official (Remote) Remotely hosted third-party MCP servers offered by the SaaS/platform provider.
Custom Servers Any remotely hosted MCP servers created/registered by your organization.

How to Register an MCP Server

  1. In the Barndoor web UI, navigate to the Admin > MCP Servers section (left nav).
  2. Click "Add a Server".
  3. Select the type of MCP server to add: Barndoor Managed, Official (third-party remote), or Custom (created by your organization).

Option A: Add a Barndoor Managed or Official (remote) MCP server

This is the simplest method, used for adding MCP servers for common enterprise services/platforms.

  1. Select either "Barndoor Managed" or "Official (remote) servers".
  2. Find the server you wish to add (e.g., Salesforce, GitHub, Atlassian, etc.).
  3. Click "Add New" (or "Enable") next to the server
  4. Provide configuration details for the MCP server.

Warning: When connecting an OAuth Client, you must ensure your OAuth Client has allowlisted your Barndoor Trial hostname to avoid a redirect URI mismatch error.

Note: You are allowed to create multiple instances of MCP server registrations within Barndoor.

Option B: Add a Custom internal or other public remote MCP server

Use this method to register a server hosted on your own infrastructure, or any other remotely accessible MCP server that isn't already in our lists.

Warning: Adding a custom MCP server that hasn't been vetted by Barndoor or by your own security team is not recommended.

  1. Select the "Internal Servers" option from the prompt.
  2. You will see a list of internal servers you have already defined.
  3. To add a new one, click the "Add Custom MCP" (or "Define New Server") button.
  4. Provide connection information for the MCP server:
  1. After clicking "Add Server" provide configuration details for the MCP server: