Create A MCP Server

  1. Go to your dashboard, then click Add Server
  2. Provide some details:
    • Server Name: A friendly name for you server. This is just for you to identify it and can be changed later.
    • Status: Leave as Enabled for your server to work.
    • Base URL: The base endpoint for the API you want to call. i.e. https://api.example.com/v1
    • Transport Type: The MCP transport type to use. SSE was deprecated and replaced with Streamable HTTP, however, most MCP clients only support SSE.
    • Server Key: Since we don't currently support MCP Client to MCP Server auth - the server key is what prevents others from accessing your server. So keep it unique.
    • API Authentication Type: Specify the authentication type of the API. You may need to reference the API docs to determine this.
  3. Click Save Changes

Authentication Configurations

We currently support the following authentication methods for authenticating between MCP Fabric and the underlying API.

All secrets from the authentication configuration are encrypted at rest in the database and redacted from logs. It is not recommend to manually add secrets to a route as they will not be redacted from logs.

Basic Auth

Provide a username and password. These credentials will be included in each request using standard HTTP Basic Authentication.

API Key

Provide your API key and specify the header the API expects. The default header is X-API-Key.

GET /v1/things HTTP/1.1
Host: api.example.com
X-API-Key: your-key
Query Parameter

Provide the query parameter key and value. The default key is key.

GET /v1/things?key=your-key HTTP/1.1
Host: api.example.com
Bearer Token

Provide your bearer token. It will be included in the Authorization header as a Bearer token.

GET /v1/things HTTP/1.1
Host: api.example.com
Authorization: Bearer your-token
OAuth 2

Some APIs require OAuth 2.0 for authentication. This method involves a more advanced setup process, so we recommend using one of the simpler options above if possible.

To use OAuth 2.0:

  1. Register a new application with the API provider.
  2. Use the redirect URI provided by MCP Fabric during the setup process.
  3. Enter the required OAuth credentials (e.g., client ID, client secret) into the MCP Fabric configuration.
  4. Click Connect with OAuth to initiate the authentication flow.

Once connected, MCP Fabric will automatically handle token retrieval and renewal from the underlying auth provider.