twake-mcp
Provides tools to interact with Matrix chat rooms, including sending messages, listing rooms, and reading history via the Twake Chat integration.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@twake-mcp Check my Twake inbox"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
twake-mcp
MCP server for Twake Workplace — connect any AI assistant to Linagora's collaboration suite.
What it does
Exposes Twake Workplace (Chat, Mail, Drive) as MCP tools that AI assistants like Claude, GPT, or Linagora's own LUCIE can use to interact with your workspace.
An AI assistant with twake-mcp can:
Read and send chat messages
Check your email inbox and read individual emails
Browse, read, and upload files to Drive
Search across all services simultaneously
Related MCP server: mcp-email-server
Tools
Tool | Description |
| Send a message to a chat room |
| List joined rooms |
| Get recent messages |
| List inbox emails |
| Read a specific email |
| List mail folders |
| List files and folders |
| Read a file |
| Upload content |
| Search across all services |
Setup
npm installConfigure via environment variables:
# Twake Chat (Matrix)
export TWAKE_MATRIX_HOMESERVER=https://matrix.twake.app
export TWAKE_MATRIX_TOKEN=syt_...
export TWAKE_MATRIX_USER=@jacob:twake.app
# Twake Mail (JMAP)
export TWAKE_JMAP_URL=https://jmap.twake.app/jmap
export TWAKE_JMAP_TOKEN=eyJ...
# Twake Drive (Cozy)
export TWAKE_COZY_URL=https://jacob.twake.app
export TWAKE_COZY_TOKEN=eyJ...Usage with Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"twake": {
"command": "node",
"args": ["/path/to/twake-mcp/src/index.js"],
"env": {
"TWAKE_MATRIX_HOMESERVER": "https://matrix.twake.app",
"TWAKE_MATRIX_TOKEN": "your-token",
"TWAKE_JMAP_URL": "https://jmap.twake.app/jmap",
"TWAKE_JMAP_TOKEN": "your-token",
"TWAKE_COZY_URL": "https://jacob.twake.app",
"TWAKE_COZY_TOKEN": "your-token"
}
}
}
}Then ask Claude: "Check my Twake inbox" or "Send a message to #engineering on Twake"
Architecture
twake-mcp/
└── src/
└── index.js # Single-file MCP server
├── API clients (Matrix, JMAP, Cozy)
├── Tool implementations (10 tools)
└── MCP server setup (stdio transport)┌──────────────────┐ ┌──────────────┐ ┌──────────────┐
│ AI Assistant │ │ twake-mcp │ │ Twake │
│ (Claude, LUCIE, │──────▶│ MCP Server │──────▶│ Workplace │
│ GPT, etc.) │ stdio │ │ HTTPS │ (Chat/Mail/ │
│ │◀──────│ │◀──────│ Drive) │
└──────────────────┘ └──────────────┘ └──────────────┘The server uses the @modelcontextprotocol/sdk stdio transport. Each tool maps directly to a Twake service API call — Matrix Client-Server API for chat, JMAP (RFC 8620/8621) for mail, and Cozy API for drive.
Zero dependencies beyond the MCP SDK. All HTTP calls use Node.js native fetch.
Why
Linagora is building LUCIE, an open-source multilingual LLM. This MCP server makes Twake Workplace AI-accessible, enabling LUCIE (or any AI) to interact with the collaboration suite. It's the bridge between Linagora's AI strategy and their product ecosystem.
License
AGPL-3.0 (matching Linagora's licensing)
Available Tools
10 toolstwake_chat_historyB
Get recent messages from a Twake Chat room
Inputs: room (required), limit.
twake_chat_roomsA
List all joined Twake Chat rooms
Inputs: no named parameters.
twake_chat_sendB
Send a message to a Twake Chat room via Matrix protocol
Inputs: room (required), message (required).
twake_drive_listB
List files and folders in Twake Drive
Inputs: path.
twake_drive_readA
Read a text file from Twake Drive by file ID
Inputs: id (required).
twake_drive_uploadA
Upload text content as a file to Twake Drive
Inputs: name (required), content (required), folder.
twake_mail_inboxA
List recent emails from Twake Mail inbox
Inputs: limit.
twake_mail_mailboxesB
List all mailboxes/folders in Twake Mail
Inputs: no named parameters.
twake_mail_readA
Read a specific email by ID from Twake Mail
Inputs: id (required).
twake_searchA
Search across all Twake services (chat, mail, drive)
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct resource and action: chat send/list/history, mail inbox/read/mailboxes, drive list/read/upload, plus cross-service search. There is no meaningful overlap between any two tools.
All tools share the twake_ prefix and use snake_case, but the pattern is mixed: chat uses nouns (twake_chat_rooms, twake_chat_history), drive uses verbs (twake_drive_list, twake_drive_read), mail mixes both, and twake_search drops the service segment. The names are still readable, so the inconsistency is moderate.
Ten tools is well-scoped for a multi-service Twake integration covering chat, mail, drive, and search. Each tool earns its place without unnecessary redundancy or bloat.
The read/list actions are well covered across all services, plus chat send and drive upload. However, there are notable gaps: no mail send or delete, no drive update/delete or folder creation, and no chat room creation or management, so the lifecycle coverage is incomplete.
Maintenance
Related MCP Connectors
Connect assistants to your workspace knowledge, skills, and work tools.
Connects AI assistants to TrackingTime for querying time entries, projects, tasks, customers, and team data using natural language.
Connect Apple iCloud and Microsoft 365 mail, calendars, contacts and tasks to AI.
Use your apps from your AI: Gmail, Slack, Google Sheets, HubSpot and 2,300+ more on your accounts.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceConnects AI assistants to Nextcloud instances with 90+ tools for managing notes, calendars, contacts, files, recipes, and more through natural language conversations. Supports semantic search and multiple deployment options.7,698 PyPI419AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceConnects AI assistants to Microsoft 365 via the Graph API, enabling email search, attachment extraction, and OneDrive file reading through natural conversation.-
- AlicenseNot gradedqualityFmaintenanceConnects AI assistants to Google Workspace APIs, enabling management of Calendar, Gmail, Drive, Docs, Sheets, Slides, Chat, and People.2Apache 2.0

mcp-twake-chatofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to securely access and interact with Twake Chat and other Matrix homeservers, including end-to-end encrypted rooms, through tools for rooms, messages, threads, unread messages, mentions, people, attachments, drafts, and optional sending.380 npmAGPL 3.0