Skip to main content

TeamAI MCP Server

Abdul Samad avatar
Written by Abdul Samad
Updated over a week ago

The TeamAI MCP (Model Context Protocol) server provides a standardized interface that allows any compatible AI model or agent to programmatically access and manage your TeamAI workspace data, including agents, tools, and configurations.

Connect to our MCP server using the streamable HTTP transport in Cursor, Windsurf, Claude Desktop, and other MCP-compatible clients to seamlessly integrate TeamAI's powerful agent management capabilities into your development workflow.


Prerequisites & Requirements

Before setting up the TeamAI MCP integration, ensure you meet the following requirements:


Plan Requirements

For Workspace Integration:

- βœ… **Starter plan or higher** (Professional, Best-of-Breed, Enterprise)

- ❌ **Not available** on Individual plans

- πŸ“ **Upgrade note:** If you're on a Individual plan, you'll need to upgrade to access API key functionality​

For Organization Integration:

- βœ… Enterprise plan required (organizations must be on Enterprise plan)

- βœ… Organization Admin or Owner role required to create API keys


Generating Your API Key

For Workspace API Keys:

1. Log into your TeamAI workspace

2. Verify your plan: Ensure you're on Starter, Professional, Best-of-Breed, or Enterprise plan (Free and Individual plans don't support API keys)

3. Navigate to Settings β†’ API Keys

4. Click Generate New API Key (store it securely - you won't see it again)

For Organization API Keys:

1. Log into your TeamAI organization

2. Verify requirements:

- Enterprise plan required (organization must be on Enterprise plan)

- Admin/Owner role required (you must be an Organization Admin or Owner)

3. Navigate to Admin β†’ API Keys: `https://[your-organization-slug].teamai.com/admin/api-keys`

4. Click Add API Key

5. Configure workspace scopes:

- All Workspaces: Full access to organization and all child workspaces

- Specific Workspaces: Limited access to selected workspaces only

6. Click Add API Key (store it securely - you won't see it again)


​

Transport Support

Current: Streamable HTTP (/api/mcp/mcp)


Setup Instructions

> Note: Remote MCP connections are still evolving technology. If you experience connection issues, try restarting your client or temporarily disabling and re-enabling the TeamAI MCP server.

Claude Desktop

Team/Enterprise (Claude.ai)

  1. Navigate to Settings in the sidebar

  2. Scroll to Integrations and click Add more

  3. Enter the following:

    1. Integration name: TeamAI

    2. Make sure to enable the tools in any new chats

Free/Pro (Claude Desktop App)

  1. Open the file ~/Library/Application Support/Claude/claude_desktop_config.json

  2. Add the following configuration

    {
    "mcpServers": {
    "teamai": {
    "command": "npx",
    "args": [
    "-y",
    "mcp-remote",
    "https://api.teamai.com/mcp/mcp",
    "--header",
    "Authorization:Bearer YOUR_API_TOKEN"
    ]
    }
    }
    }
  3. Restart the Claude Desktop app

Cursor

  1. Open Cursor and go to Settings β†’ MCP

  2. Click Add new global MCP server

  3. Add the following configuration

    {
    "mcpServers": {
    "teamai": {
    "command": "npx",
    "args": [
    "mcp-remote",
    "https://app.teamai.com/api/mcp/mcp",
    "--header",
    "Authorization:Bearer YOUR_API_TOKEN"
    ]
    }
    }
    }
  4. Restart Cursor to activate the connection

TeamAI

You can also connect external MCP servers as tools within your TeamAI workspace, allowing your agents to access external data sources and services.

  1. Navigate to Tools

    1. Go to your workspace

    2. Click on Tools in the sidebar

    3. Click Create Tool

  2. Select MCP Server

    1. Choose MCP Server as the tool type

    2. This provides a simplified interface optimized for MCP connections

  3. Configure Basic Information

    1. Name: Give your MCP server a descriptive name

    2. Description: Explain what data or services this MCP server provides

    3. Group: Optionally organize into folders for better management

  4. Set the MCP Server URL

  5. Configure Headers

    1. Click Add Header to add the necessary authentication and content headers:

      • Authorization

      • Content-Type

        • Key: Content-Type

        • Value: application/json

Visual Studio Code

  1. Press Ctrl/Cmd + Shift + P and search for MCP: Add Server

  2. Select Command (stdio)

  3. Enter the following configuration

    npx mcp-remote https://app.teamai.com/api/mcp/mcp --header "Authorization:Bearer YOUR_API_TOKEN"
  4. Enter the name TeamAI and press Enter

  5. Activate using MCP: List Servers β†’ TeamAI β†’ Start Server

Windsurf

  1. Press Ctrl/Cmd + , to open settings

  2. Navigate to Cascade β†’ MCP servers

  3. Select Add Server β†’ Add custom server

  4. Add the following configuration

    {
    "mcpServers": {
    "teamai": {
    "command": "npx",
    "args": [
    "-y",
    "mcp-remote",
    "https://app.teamai.com/api/mcp/mcp",
    "--header",
    "Authorization:Bearer YOUR_API_TOKEN"
    ]
    }
    }
    }

Zed

  1. Press Cmd + , to open settings

  2. Add the following to your configuration

    {
    "context_servers": {
    "teamai": {
    "command": {
    "path": "npx",
    "args": [
    "-y",
    "mcp-remote",
    "https://app.teamai.com/api/mcp/mcp",
    "--header",
    "Authorization:Bearer YOUR_API_TOKEN"
    ],
    "env": {}
    },
    "settings": {}
    }
    }
    }

Other MCP Clients

For any other MCP-compatible client, use these settings:

  • Command: npx

  • Environment: None required

  • Transport Type: Streamable HTTP


Example Usage

Once configured, you can interact with TeamAI directly through your MCP client:

"List all my agents" β†’ Returns paginated list of workspace agents

"Create a new agent called 'Code Reviewer' that specializes in reviewing

JavaScript code" β†’ Creates and configures the agent automatically

"Show me details about agent ID abc123" β†’ Retrieves complete agent configuration

"Update my agent to use GPT-4 instead of GPT-3.5" β†’ Modifies agent model settings


Did this answer your question?