MCP Chatwork Server
Enables AI agents to interact with Chatwork by reading and sending messages, managing tasks, listing room members, and performing room operations through the Chatwork API.
README
MCP Chatwork Server
This is a Model Context Protocol (MCP) server for Chatwork. It allows AI agents to read context from Chatwork rooms and messages.
Features
- List Rooms: Retrieve a list of rooms the user is participating in.
- List Messages: Fetch messages from a specific room.
- Send Message: Send a message to a specific room.
- Get Room Members: Get the list of members in a room.
- Create Task: Create a task in a room.
- Get My Tasks: Get the list of tasks assigned to the current bot account.
- Delete Message: Delete a message from a room.
- Complete Task: Mark a task as done.
- Leave Room: Leave a room.
Prerequisites
- Node.js (v18 or higher)
- A Chatwork API Token
Installation
-
Clone the repository:
git clone git@github.com:vfa-khuongdv/mcp-chatwork.git cd mcp-chatwork -
Install dependencies:
npm install -
Build the server:
npm run build
Configuration
The server requires the CHATWORK_API_TOKEN environment variable to be set.
Usage
With Claude Desktop (or other MCP Clients)
Add the following configuration to your MCP client settings (e.g., claude_desktop_config.json):
{
"mcpServers": {
"chatwork": {
"command": "node",
"args": ["/path/to/mcp-chatwork/dist/index.js"],
"env": {
"CHATWORK_API_TOKEN": "your_chatwork_api_token"
}
}
}
}
or
{
"mcpServers": {
"chatwork": {
"command": "npx",
"args": ["-y", "@duongkhuong/mcp-chatwork"],
"env": {
"CHATWORK_API_TOKEN": "your_chatwork_api_token"
}
}
}
}
Manual Testing
You can run the server directly via stdio (though it is designed to communicate with an MCP client):
export CHATWORK_API_TOKEN="your_token"
npm start
Tools
list_rooms
Returns a list of rooms with details like room ID, name, unread count, etc.
list_messages
Returns messages for a given room.
- Arguments:
room_id(number): The ID of the room.force(boolean): Iftrue, fetches the latest 100 messages regardless of read status.
send_message
Allows the agent to send messages to a room.
- Arguments:
room_id(number): The ID of the room.body(string): The message content.
get_room_members
Get the list of members in a room.
- Arguments:
room_id(number): The ID of the room.
create_task
Assign a task to a user in a Chatwork room.
- Arguments:
room_id(number): The ID of the room.body(string): The task description.to_ids(array of numbers): List of user IDs to assign the task to.limit(string, optional): Due date in unix time or "YYYY-MM-DD" format.
get_my_tasks
List tasks assigned to the current bot account.
- Arguments:
assigned_by_account_id(number, optional): Filter by user ID who assigned the task.status(string, optional): Task status ("open", "done"). Defaults to "open".
delete_message
Delete a message from a room.
- Arguments:
room_id(number): The ID of the room.message_id(string): The ID of the message to delete.
complete_task
Mark a task as done.
- Arguments:
room_id(number): The ID of the room.task_id(string): The ID of the task.
leave_room
Leave a room.
- Arguments:
room_id(number): The ID of the room.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.