
Twist
com.pulsemcpv0.2.3更新於 Sep 29, 2026
MCP server for Twist team messaging — manage channels, threads, and messages.
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Twist,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Twist MCP Server
Haven't heard about MCP yet? The easiest way to keep up-to-date is to read our weekly newsletter at PulseMCP.
This is an MCP (Model Context Protocol) Server integrating MCP Clients with Twist's team messaging and collaboration platform: manage channels, threads, and messages through a unified interface.
Twist is a team communication app that emphasizes asynchronous communication through organized threads. Unlike traditional chat apps, Twist is designed to reduce information overload by organizing conversations into channels and threads. This server connects directly to their REST API. You will need a Twist bearer token to get started.
This project is NOT officially affiliated with Twist.
Table of Contents
Highlights
Channel management: List and retrieve channel information to understand your team's communication structure.
Thread operations: Create new threads and access existing ones for organized, topic-focused discussions.
Message posting: Add messages to threads programmatically, enabling automated updates and notifications.
Asynchronous-first: Designed to work with Twist's philosophy of calm, organized communication that doesn't require immediate responses.
Capabilities
This server is built and tested on macOS with Claude Desktop. It should work with other MCP clients as well.
Usage Tips
- Use
get_channelsfirst to discover available channels in your workspace - When creating threads, provide clear, descriptive titles to maintain organization
- Use threading to keep related discussions together - avoid creating multiple threads for the same topic
- The workspace ID is required for most operations and can be configured via environment variable
- Thread and message content supports Markdown formatting for rich text
- All list operations support pagination for workspaces with many items
Examples
Discover Channels and Create a Thread
Add to an Existing Thread
Development
Testing
This project uses Vitest for unit testing. Tests are automatically run on pull requests and pushes to the main branch.
Running Tests Locally
Test Structure
Tests are located in the tests/ directory:
tests/functional/- Functional tests for individual componentstests/integration/- Integration tests with mocked Twist APItests/manual/- Manual tests that hit the real Twist API (not run in CI)tests/mocks/- Mock implementations and test data
See tests/README.md for more details on the testing approach.
Manual Testing
Manual tests are end-to-end system tests that verify the complete integration with the real Twist API. These tests:
- Require real API credentials (TWIST_BEARER_TOKEN and TWIST_WORKSPACE_ID environment variables)
- Hit the actual Twist production API - not mocked
- Chain together real API calls in a realistic workflow
- Are not run in CI to avoid API rate limits and dependency on external services
- Should be run when modifying TwistClient code or any code that interacts with the external API
To run manual tests:
Setup
Prerequisites
- Node.js v24.2.0 (use
nvm useif you have nvm installed) - A Twist bearer token
- Your Twist workspace ID
Cheatsheet
Claude Desktop
Make sure you have a bearer token from Twist and your workspace ID ready.
Then proceed to your preferred method of configuring the server below. If this is your first time using MCP Servers, you'll want to make sure you have the Claude Desktop application and follow the official MCP setup instructions.
Manual Setup
You're going to need Node working on your machine so you can run npx commands in your terminal. If you don't have Node, you can install it from nodejs.org.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Modify your claude_desktop_config.json file to add the following:
Restart Claude Desktop and you should be ready to go!
Implementation Plan
Phase 1: Initial Setup ✅
- Create project structure from template
- Write comprehensive README documentation
- Plan API integration approach
Phase 2: Core Infrastructure
- Set up TypeScript configuration
- Create Twist API client with proper authentication
- Implement error handling and retry logic
- Set up testing infrastructure (functional, integration, manual)
Phase 3: Tool Implementation
- Implement
get_channels- List all workspace channels - Implement
get_channel- Get specific channel details - Implement
get_threads- List threads with filtering options - Implement
get_thread- Get thread with messages - Implement
create_thread- Create new discussion threads - Implement
add_message_to_thread- Post messages to threads
Phase 4: Testing & Polish
- Write comprehensive unit tests
- Create integration tests with mocked API
- Implement manual tests for real API validation
- Add proper error messages and user feedback
- Document any API limitations or quirks
Phase 5: Future Enhancements (Post-MVP)
- Add support for thread search
- Implement message editing/deletion
- Add file attachment support
- Support for reactions and mentions
- Workspace user management tools
Technical Decisions
API Integration
- Use REST API (https://developer.twist.com/v3/)
- Implement rate limiting and retry logic
- Handle pagination for list operations
- Proper error handling for network issues
Authentication
- Bearer token authentication via Authorization header
- Workspace ID required for most operations
- Store credentials securely via environment variables
Tool Design
- Keep tools focused and single-purpose
- Use consistent naming (get**, create*_, add__)
- Return structured data that's easy to consume
- Include helpful error messages for common issues
來源:experimental/twist/README.md,提交 0ed34de
工具
0版本歷史
1- v0.2.3最新Sep 16, 2026

