{"_rev":"4-7e3e460e4afcc6a8e2bd913c5c1c0d10","time":{"created":"2026-01-09T04:48:43.088Z","modified":"2026-01-09T04:48:43.629Z","1.0.0":"2026-01-09T04:40:15.685Z","1.0.1":"2026-01-09T04:48:43.336Z"},"_id":"@duongkhuong/mcp-chatwork","name":"@duongkhuong/mcp-chatwork","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@duongkhuong/mcp-chatwork","version":"1.0.1","main":"index.js","description":"Chatwork MCP Server","mcpName":"mcp-chatwork","type":"module","bin":{"mcp-chatwork":"dist/index.js"},"scripts":{"build":"tsc && chmod +x dist/index.js","start":"node dist/index.js","test":"jest"},"keywords":["mcp","chatwork","ai","agent","modelcontextprotocol","llm","mcp-chatwork"],"author":{"name":"khuongdv"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vfa-khuongdv/mcp-chatwork.git"},"homepage":"https://github.com/vfa-khuongdv/mcp-chatwork#readme","bugs":{"url":"https://github.com/vfa-khuongdv/mcp-chatwork/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^1.25.2","axios":"^1.13.2","zod":"^4.3.5"},"devDependencies":{"@types/jest":"^30.0.0","@types/node":"^25.0.3","jest":"^30.2.0","ts-jest":"^29.4.6","typescript":"^5.9.3"},"_id":"@duongkhuong/mcp-chatwork@1.0.1","gitHead":"f770d46f6291581fb4e18618e3b7ce9c808d7fe1","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-4fpeU7YTxlUOUyD6SidnLFOH4v7Khg1Y5rZl8j1bsJWwm4XMpyZ/uLgQtKEpiDZ+GFZ0V57f4koxys8dshuTEw==","shasum":"655f0bd21600b5a0d0f3252361a359cc2bab49f5","tarball":"https://registry.npmjs.org/@duongkhuong/mcp-chatwork/-/mcp-chatwork-1.0.1.tgz","fileCount":25,"unpackedSize":23471,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD6z9EoyjOnjuxKxYIzxRLIYispmMR/0Ltj57fslrrquwIhAIbzk91ux3X+xWtwy1CKozPIKeC1ovy4dJneFrBkyAfG"}]},"_npmUser":{"name":"duongkhuong","email":"duongkhuongit@gmail.com"},"directories":{},"maintainers":[{"name":"duongkhuong","email":"duongkhuongit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-chatwork_1.0.1_1767934123200_0.09317977563664304"},"_hasShrinkwrap":false}},"maintainers":[{"name":"duongkhuong","email":"duongkhuongit@gmail.com"}],"description":"Chatwork MCP Server","homepage":"https://github.com/vfa-khuongdv/mcp-chatwork#readme","keywords":["mcp","chatwork","ai","agent","modelcontextprotocol","llm","mcp-chatwork"],"repository":{"type":"git","url":"git+https://github.com/vfa-khuongdv/mcp-chatwork.git"},"author":{"name":"khuongdv"},"bugs":{"url":"https://github.com/vfa-khuongdv/mcp-chatwork/issues"},"license":"MIT","readme":"# MCP Chatwork Server\n\n[![npm version](https://badge.fury.io/js/@duongkhuong%2Fmcp-chatwork.svg)](https://www.npmjs.com/package/@duongkhuong/mcp-chatwork)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nThis is a Model Context Protocol (MCP) server for [Chatwork](https://www.chatwork.com/). It allows AI agents to read context from Chatwork rooms and messages.\n\n## Features\n\n- **List Rooms**: Retrieve a list of rooms the user is participating in.\n- **List Messages**: Fetch messages from a specific room.\n- **Send Message**: Send a message to a specific room.\n- **Get Room Members**: Get the list of members in a room.\n- **Create Task**: Create a task in a room.\n- **Get My Tasks**: Get the list of tasks assigned to the current bot account.\n- **Delete Message**: Delete a message from a room.\n- **Complete Task**: Mark a task as done.\n- **Leave Room**: Leave a room.\n\n## Prerequisites\n\n- Node.js (v18 or higher)\n- A Chatwork API Token\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone git@github.com:vfa-khuongdv/mcp-chatwork.git\n   cd mcp-chatwork\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Build the server:\n   ```bash\n   npm run build\n   ```\n\n## Configuration\n\nThe server requires the `CHATWORK_API_TOKEN` environment variable to be set.\n\n## Usage\n\n### With Claude Desktop (or other MCP Clients)\n\nAdd the following configuration to your MCP client settings (e.g., `claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"chatwork\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/mcp-chatwork/dist/index.js\"],\n      \"env\": {\n        \"CHATWORK_API_TOKEN\": \"your_chatwork_api_token\"\n      }\n    }\n  }\n}\n```\n\nor\n\n```json\n{\n  \"mcpServers\": {\n    \"chatwork\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@duongkhuong/mcp-chatwork\"],\n      \"env\": {\n        \"CHATWORK_API_TOKEN\": \"your_chatwork_api_token\"\n      }\n    }\n  }\n}\n```\n\n### Manual Testing\n\nYou can run the server directly via stdio (though it is designed to communicate with an MCP client):\n\n```bash\nexport CHATWORK_API_TOKEN=\"your_token\"\nnpm start\n```\n\n## Tools\n\n### `list_rooms`\nReturns a list of rooms with details like room ID, name, unread count, etc.\n\n### `list_messages`\nReturns messages for a given room.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n  - `force` (boolean): If `true`, fetches the latest 100 messages regardless of read status.\n\n### `send_message`\nAllows the agent to send messages to a room.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n  - `body` (string): The message content.\n\n### `get_room_members`\nGet the list of members in a room.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n\n### `create_task`\nAssign a task to a user in a Chatwork room.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n  - `body` (string): The task description.\n  - `to_ids` (array of numbers): List of user IDs to assign the task to.\n  - `limit` (string, optional): Due date in unix time or \"YYYY-MM-DD\" format.\n\n### `get_my_tasks`\nList tasks assigned to the current bot account.\n- Arguments:\n  - `assigned_by_account_id` (number, optional): Filter by user ID who assigned the task.\n  - `status` (string, optional): Task status (\"open\", \"done\"). Defaults to \"open\".\n\n### `delete_message`\nDelete a message from a room.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n  - `message_id` (string): The ID of the message to delete.\n\n### `complete_task`\nMark a task as done.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n  - `task_id` (string): The ID of the task.\n\n### `leave_room`\nLeave a room.\n- Arguments:\n  - `room_id` (number): The ID of the room.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}