twake-mcp
Connects AI assistants to Linagora's Twake Workplace, enabling interaction with chat, email, and drive services through natural language.
README
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
Tools
| Tool | Description |
|---|---|
twake_chat_send |
Send a message to a chat room |
twake_chat_rooms |
List joined rooms |
twake_chat_history |
Get recent messages |
twake_mail_inbox |
List inbox emails |
twake_mail_read |
Read a specific email |
twake_mail_mailboxes |
List mail folders |
twake_drive_list |
List files and folders |
twake_drive_read |
Read a file |
twake_drive_upload |
Upload content |
twake_search |
Search across all services |
Setup
npm install
Configure 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)
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。