Skip to main content

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://api.mai-tai.dev",
        "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://api.mai-tai.dev",
        "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://api.mai-tai.dev
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 https://mai-tai.dev
  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

Metadata

Release files for mai-tai-mcp 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mai-tai-mcp 0.7.0
File Size Uploaded
mai_tai_mcp-0.7.0.tar.gz 36.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mai-tai-mcp 0.7.0
File Interpreter ABI Platform
mai_tai_mcp-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.6 kB

Release files / mai_tai_mcp-0.7.0.tar.gz

Download URL mai_tai_mcp-0.7.0.tar.gz
Size 36.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1d0217f3b6eb989f6f7ef6fb00f9208018ae8653a18f0f400b3ece5aa1b49f6a
BLAKE2b-256 checksum
How to use checksums
fd2255e0640301a8a520718299522ab752f51bbbaa422f37cd6d60617b2ac82b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

Release files / mai_tai_mcp-0.7.0-py3-none-any.whl

Download URL mai_tai_mcp-0.7.0-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eabe2c2fd7aced5632bec74fed063a63a635d3781b8fc05529b8292845bdd510
BLAKE2b-256 checksum
How to use checksums
45bbe3b03a6e8e3925b1d9f3b3e9bcb1d77b47363941c3be82af6cd3b7eb2689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page