Skip to main content

Connecting MCP Servers

This guide covers how to add MCP servers to your project using the MCP Hub. For the full list of available servers, see the MCP Catalog.

Most servers connect with just a credential — whether the server is cloud-hosted by the vendor or TARX-hosted on the gateway, the connection flow is the same. (See Overview → hosting models.)

How to get credentials lives on the vendor's docs

The fields below describe what each connection needs. The steps to create a token or grant scopes are documented by each provider (linked from the MCP Catalog). Third-party setup can change without notice, so if a connection fails, check the provider's official page first.


MCP Hub Layout

Navigate to MCP Servers in the sidebar. The MCP Hub has two sections:

┌─────────────────────────────────────────────────────────────┐
│ MCP Servers │
├─────────────────────────────────────────────────────────────┤
│ CONNECTED │
│ │
│ 🔗 GitHub (24 tools) Connected by @julian │
│ 🔗 Linear (12 tools) Connected by @sarah │
│ │
├─────────────────────────────────────────────────────────────┤
│ ADD MCP SERVER │
│ │
│ [Search catalog...] │
│ │
│ 🐙 GitHub 📋 Jira 💬 Slack 📝 Notion │
│ ▪ Linear 🐘 PostgreSQL 📁 Filesystem 🎨 Figma │
│ ...more... │
│ │
│ ───────────────────────────────────────────────────── │
│ [+ Custom MCP Server] │
└─────────────────────────────────────────────────────────────┘

Connected section: MCP servers already added to your project. Shows name, tool count, and who added it.

Add MCP Server section: Catalog of supported providers + Custom entry form.


Adding from the Catalog

  1. Find the provider in the catalog (scroll or search).
  2. Click the provider card.
  3. A configuration form slides in.
  4. Fill in the required fields (varies by provider — see below).
  5. Click Connect.
  6. TARX performs the MCP handshake and discovers tools.
  7. On success, the server appears in the Connected section with a tool count.

If the connection fails, an error message shows the reason (auth failure, server unreachable, etc.).


Provider-Specific Configuration

GitHub

FieldDescription
Instance NameA label for this connection (e.g., "My GitHub", "Work GitHub")
Personal Access TokenGitHub PAT with required scopes
Allowed Repos(Optional) Comma-separated list of repos to restrict access to

Required token scopes:

  • repo — full access to repos (read + write)
  • Or: public_repo for public repos only
  • Or: repo:read for read-only access

Jira

FieldDescription
Instance NameLabel for this connection
Jira DomainYour Jira domain: yourcompany.atlassian.net
EmailJira account email
API TokenJira API token (from Jira Account Settings → Security → API Tokens)
Project Key(Optional) Restrict to a specific project

Slack

FieldDescription
Instance NameLabel
Bot TokenSlack Bot User OAuth Token (starts with xoxb-)
Allowed Channels(Optional) Comma-separated channel IDs

Create a Slack App, add the Bot Token Scopes (channels:read, chat:write, channels:history), install to workspace, and copy the Bot Token.

Notion

FieldDescription
Instance NameLabel
Integration TokenNotion integration secret (from Notion Settings → Integrations)
Root Page ID(Optional) Restrict to a specific page/database tree

Linear

FieldDescription
Instance NameLabel
API KeyLinear API key (from Linear Settings → API → Personal API Keys)
Team ID(Optional) Restrict to a specific team

PostgreSQL

FieldDescription
Instance NameLabel
Connection Stringpostgresql://user:password@host:port/database
Allowed Tables(Optional) Comma-separated list of tables (security restriction)
Database security

Connect with a read-only database user unless the agent genuinely needs write access. Restrict to specific tables using the Allowed Tables field.


Custom MCP Servers

For MCP servers not in the catalog:

  1. Click + Custom MCP Server in the Add MCP Server section.
  2. Fill in:
FieldDescription
NameDisplay name: "My Internal API", "Customer DB MCP"
Server URLHTTPS endpoint of the MCP server: https://mcp.mycompany.com
Auth TypeBearer Token, API Key header, Basic Auth, or None
Auth ValueThe token/key value (encrypted on save)
Custom Headers(Optional) Any additional headers required
  1. Click Connect.
  2. TARX sends the MCP initialize request to verify the server is up and speaks MCP.
  3. If successful, the server appears in Connected with its tool count.

Multiple Instances

You can connect the same provider multiple times with different credentials. This is valid and useful when:

  • Two GitHub accounts (personal and work)
  • Two Jira instances (different Atlassian domains)
  • Same type of server for different clients

Each instance appears separately in the Connected section and can be assigned independently to agents.

Duplicate URL detection

If you add a server with the same URL as an existing one, TARX shows a soft warning: "This URL is already connected." You can proceed — the warning is informational only.


Managing Connected Servers

View Tool List

Click a connected server to see its discovered tools:

🔗 GitHub (24 tools)
Connected by @julian

Tools:
• create_pull_request — Create a PR in a repository
• list_repositories — List repositories accessible by this token
• get_file_contents — Read file content from a repo
• create_issue — Open a new issue
• [... 20 more tools ...]

Disconnect

  1. Click the connected server.
  2. Click Disconnect.
  3. Confirm.

Disconnecting removes the server from all agents that used it. Those agents lose access to the MCP tools.

Update Credentials

To update the auth token (e.g., rotate a GitHub PAT):

  1. Click the connected server.
  2. Click Edit.
  3. Enter the new token.
  4. Click Save.

The old credentials are replaced immediately.


Connection Health

TARX shows connection health in the Connected section:

  • 🟢 Green dot — Last handshake successful
  • 🟡 Yellow dot — Last handshake failed (stale connection, server changed)
  • 🔴 Red dot — Cannot connect (server down or credentials invalid)

When an agent runs and encounters a red/yellow MCP server, the agent execution fails with an MCP connection error. Check the MCP Hub and reconnect.


Access Control

ActionRequired Role
View connected MCP serversAny project member
View tool listAny project member
Add new MCP serverProject Admin only
Edit MCP server credentialsProject Admin only
Disconnect MCP serverProject Admin only
Assign MCP server to agentEditor or Admin

Project Admins manage which MCP servers are available. Editors can use available servers by assigning them to agents.