Twist MCP server

Integrates with Twist's team messaging platform to manage channels, threads, and messages with support for creating discussions, posting replies, and retrieving conversation history with pagination and filtering.
Back to servers
Setup instructions
Provider
PulseMCP
Release date
Jun 27, 2025
Stats
42 stars

This MCP server integrates MCP Clients with Twist's team messaging and collaboration platform, allowing you to manage channels, threads, and messages through a unified interface. You'll need a Twist bearer token to get started, as this server connects directly to their REST API.

Installation

Prerequisites

  • Node.js v24.2.0 (use nvm use if you have nvm installed)
  • A Twist bearer token
  • Your Twist workspace ID

Claude Desktop Setup

Make sure you have a bearer token from Twist and your workspace ID ready, then follow these steps:

  1. Download and install the Claude Desktop application

  2. Locate your Claude configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Modify your claude_desktop_config.json file to add the following:

{
  "mcpServers": {
    "twist": {
      "command": "npx",
      "args": ["-y", "twist-mcp-server"],
      "env": {
        "TWIST_BEARER_TOKEN": "Bearer your-token-here",
        "TWIST_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}
  1. Restart Claude Desktop to apply the changes

Environment Variables

Variable Description Required Example
TWIST_BEARER_TOKEN Your Twist bearer token Yes Bearer tk_abc123...
TWIST_WORKSPACE_ID Your Twist workspace ID Yes 12345

Using the MCP Server

Available Tools

Tool Name Description
get_channels Get a list of all channels in the workspace
get_channel Get detailed information about a specific channel by ID
get_threads Get a list of threads in a channel with optional filtering
get_thread Get detailed information about a specific thread including messages
create_thread Create a new thread in a channel with a title and initial content
add_message_to_thread Add a new message to an existing thread

Usage Tips

  • Use get_channels first to discover available channels in your workspace
  • When creating threads, provide clear, descriptive titles to maintain organization
  • Use threading to keep related discussions together
  • Thread and message content supports Markdown formatting for rich text
  • All list operations support pagination for workspaces with many items

Example Workflows

Discovering Channels and Creating a Thread

User: "Show me all channels in my Twist workspace"
Assistant: I'll get the list of channels in your workspace.

[Uses get_channels tool]

I found 5 channels in your workspace:
1. #general (ID: ch_123) - General discussions
2. #engineering (ID: ch_456) - Engineering team channel
3. #product (ID: ch_789) - Product discussions
...

User: "Create a thread in the engineering channel about the new API design"
Assistant: I'll create a new thread in the #engineering channel.

[Uses create_thread tool with channel_id: ch_456]

I've created a new thread titled "API Design Discussion - v2.0" in the #engineering channel. The thread ID is th_999.

Adding to an Existing Thread

User: "Add a message to thread th_999 with the latest API documentation link"
Assistant: I'll add that message to the thread.

[Uses add_message_to_thread tool]

I've added your message with the API documentation link to the thread.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "twist" '{"command":"npx","args":["-y","twist-mcp-server"],"env":{"TWIST_BEARER_TOKEN":"Bearer your-token-here","TWIST_WORKSPACE_ID":"your-workspace-id"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "twist": {
            "command": "npx",
            "args": [
                "-y",
                "twist-mcp-server"
            ],
            "env": {
                "TWIST_BEARER_TOKEN": "Bearer your-token-here",
                "TWIST_WORKSPACE_ID": "your-workspace-id"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "twist": {
            "command": "npx",
            "args": [
                "-y",
                "twist-mcp-server"
            ],
            "env": {
                "TWIST_BEARER_TOKEN": "Bearer your-token-here",
                "TWIST_WORKSPACE_ID": "your-workspace-id"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later