Skip to main content

MCP server for mai-tai AI agent collaboration platform

Project description

mai-tai MCP Server

MCP (Model Context Protocol) server for mai-tai, enabling AI coding agents to communicate with humans through the mai-tai platform.

Quick Start

1. Install with uv (recommended)

# One-time install (adds to PATH)
uv tool install mai-tai-mcp

# Or run directly without installing
uvx mai-tai-mcp

2. Alternative: Install with pipx

pipx install mai-tai-mcp

3. Development install

cd mcp-server
pip install -e .

Configuration for Claude Desktop

Add this to ~/.config/claude/claude_desktop_config.json (Mac/Linux) or the equivalent on Windows:

{
  "mcpServers": {
    "mai-tai": {
      "command": "uvx",
      "args": ["mai-tai-mcp"],
      "env": {
        "MAI_TAI_API_URL": "https://mai-tai-backend-508838770454.us-central1.run.app",
        "MAI_TAI_API_KEY": "mt_your_api_key_here",
        "MAI_TAI_PROJECT_ID": "your-project-id"
      }
    }
  }
}

Then restart Claude Desktop.

Configuration for Augment

Add to your Augment MCP settings:

{
  "mcpServers": {
    "mai-tai": {
      "command": "uvx",
      "args": ["mai-tai-mcp"],
      "env": {
        "MAI_TAI_API_URL": "https://mai-tai-backend-508838770454.us-central1.run.app",
        "MAI_TAI_API_KEY": "mt_your_api_key_here",
        "MAI_TAI_PROJECT_ID": "your-project-id"
      }
    }
  }
}

Environment Variables

Variable Description Example
MAI_TAI_API_URL mai-tai backend URL https://mai-tai-backend-508838770454.us-central1.run.app
MAI_TAI_API_KEY API key from mai-tai project mt_xxx...
MAI_TAI_PROJECT_ID Your project ID df944ea7-...

All three variables are required. The server will fail fast with a clear error message if any are missing.

Available Tools

ask_human

Primary tool for escalating questions to humans. Use when you need:

  • Information you don't have access to
  • A decision or approval
  • Clarification on requirements
  • Help with an error you can't resolve

list_channels

List all channels in the mai-tai project.

get_channel

Get details about a specific channel.

send_message

Send a message to a channel (non-blocking status updates).

get_messages

Get messages from a channel.

get_project_info

Get information about the connected mai-tai project.

Note: Agents cannot create channels. Channels must be created by humans via the mai-tai web UI.

Getting an API Key

  1. Log in to mai-tai at http://localhost:3000
  2. Go to your project settings
  3. Create a new API key
  4. Copy the key (it's only shown once)

Testing

Test with MCP Inspector:

MAI_TAI_API_URL="http://localhost:8000" \
MAI_TAI_API_KEY="your-key" \
MAI_TAI_PROJECT_ID="your-project-id" \
  npx @modelcontextprotocol/inspector mai-tai-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mai_tai_mcp-0.1.21.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mai_tai_mcp-0.1.21-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file mai_tai_mcp-0.1.21.tar.gz.

File metadata

  • Download URL: mai_tai_mcp-0.1.21.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mai_tai_mcp-0.1.21.tar.gz
Algorithm Hash digest
SHA256 00a2981c1fbc25e4586723d21ce76391fcc48c5ca6f7b599a57af05feb8af0fd
MD5 66e1ced12048f8a608d43b0264044451
BLAKE2b-256 c87e9e479e571ae5e4263edd42cf3399f993dc4f376134f8bbc4aaab8c75fb03

See more details on using hashes here.

Provenance

The following attestation bundles were made for mai_tai_mcp-0.1.21.tar.gz:

Publisher: publish-mcp.yml on jmcdice/mai-tai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mai_tai_mcp-0.1.21-py3-none-any.whl.

File metadata

  • Download URL: mai_tai_mcp-0.1.21-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mai_tai_mcp-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 b686007e2ae09b15be403924815e120c8799b1008b118cfeb610ede2663eafe5
MD5 f2a145ef99ed29d6e76bd82a83d39ebb
BLAKE2b-256 e4eaba5befb839f0a2f7bb6054c73e800cc5ef36cca619586c38556b94d834e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mai_tai_mcp-0.1.21-py3-none-any.whl:

Publisher: publish-mcp.yml on jmcdice/mai-tai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page