kChat MCP Server
Provides tools to interact with Infomaniak's kChat API, allowing for channel management, posting messages, replying to threads, managing reactions, and retrieving user profiles and channel history.
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., "@kChat MCP Server send a direct message to @sarah saying the report is ready"
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.
kChat MCP Server
MCP Server for the kChat API.
Tools
kchat_list_channelsList public channels
Optional inputs:
limit(number, default: 100, max: 100): Maximum number of channels to returnpage(number, default: 0): Pagination page
Returns: List of channels with their IDs and information
kchat_post_messagePost a new message to a kChat channel
Required inputs:
channel_id(string): The ID of the channel to post totext(string): The message text to post
Returns: Message post
kchat_reply_to_threadReply to a specific message thread
Required inputs:
channel_id(string): The channel containing the threadthread_id(string): The parent message IDtext(string): The reply text
Returns: Message post
kchat_add_reactionAdd an emoji reaction to a message
Required inputs:
post_id(string): The message IDreaction(string): Emoji name without colons
Returns: Reaction
kchat_get_channel_historyGet recent messages from a channel
Required inputs:
channel_id(string): The channel ID
Optional inputs:
limit(number, default: 10): Number of messages to retrievepage(number, default: 0): Pagination page
Returns: List of messages with their content and metadata
kchat_get_thread_repliesGet all replies in a message thread
Required inputs:
thread_id(string): The parent message ID
Returns: List of replies with their content and metadata
kchat_get_usersGet list of workspace users with basic profile information
Optional inputs:
limit(number, default: 100, max: 100): Maximum number of users to returnpage(number, default: 0): Pagination page
Returns: List of users with their basic profiles
kchat_get_user_profileGet detailed profile information for a specific user
Required inputs:
user_id(string): The user's ID
Returns: Detailed user profile information
kchat_send_direct_messageSend a direct message to a user by username
Required inputs:
username(string): The username of the user to send the message totext(string): The message text to send
Returns: Message post
Related MCP server: Slack MCP Server
Setup
Create a kChat token linked to your user:
Visit the API Token page
Choose "kChat" scope
Create a kChat token linked to a bot:
Visit your kChat webapp and click on New > Integrations > Bot accounts > Add bot accounts
Get your kChat team name from your kChat url (eg. https://your-team.kchat.infomaniak.com/your-team/channels/town-square url have
your-teamteam)
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
NPX
{
"mcpServers": {
"kchat": {
"command": "npx",
"args": [
"-y",
"@infomaniak/mcp-server-kchat"
],
"env": {
"KCHAT_TOKEN": "your-token",
"KCHAT_TEAM_NAME": "your-team"
}
}
}
}docker
{
"mcpServers": {
"kchat": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KCHAT_TOKEN",
"-e",
"KCHAT_TEAM_NAME",
"infomaniak/mcp-server-kchat"
],
"env": {
"KCHAT_TOKEN": "your-token",
"KCHAT_TEAM_NAME": "your-team"
}
}
}
}Environment Variables
KCHAT_TOKEN: Required. Your kChat token.KCHAT_TEAM_NAME: Required. Your kChat team unique name.
Troubleshooting
If you encounter permission errors, verify that:
All required scopes are added to your kChat token
The token and team name are correctly copied to your configuration
Build
Docker build:
docker build -t infomaniak/mcp-server-kchat -f Dockerfile .License
This MCP server is licensed under the MIT License.
Available Tools
9 toolskchat_add_reactionC
Add a reaction emoji to a kChat message
Inputs: post_id (required), emoji_name (required).
kchat_get_channel_historyC
Get recent messages from a kChat channel
Inputs: channel_id (required), page, limit.
kchat_get_thread_repliesC
Get all replies in a kChat message thread
Inputs: thread_id (required).
kchat_get_user_profileB
Get detailed profile information for a specific kChat user
Inputs: user_id (required).
kchat_get_usersA
Get a list of all users in the kChat with their basic profile information
Inputs: page, limit.
kchat_list_channelsB
List kChat public channels with pagination
Inputs: page, limit.
kchat_post_messageC
Post a new message to a kChat channel
Inputs: text (required), channel_id (required).
kchat_reply_to_threadC
Reply to a specific message thread in kChat
Inputs: text (required), thread_id (required).
kchat_send_direct_messageB
Send a direct message to a kChat user by username
Inputs: text (required), username (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools map to distinct resource+action pairs (channels, history, threads, reactions, users). The closest overlaps are post_message vs reply_to_thread vs send_direct_message, and get_users vs get_user_profile, but the descriptions make the distinctions clear enough to select correctly.
Every tool follows the exact same kchat_ + verb_noun pattern (kchat_list_channels, kchat_post_message, kchat_get_user_profile). Prefixing with the service name is uniform and predictable across all nine tools.
Nine tools is well within the sweet spot for a chat/messaging server. Each tool earns its place by covering a distinct messaging primitive (channels, messages, threads, reactions, users, DMs).
The surface covers the core chat lifecycle: list channels, read history, post, reply, react, DM, and inspect users. Minor gaps remain—no edit/delete message, no remove reaction, no search, and no way to list existing DM conversations—but agents can work around these for most workflows.
Maintenance
Related MCP Connectors
Work with shared spaces, threads, documents, skills, apps, automations, and connected tools.
Enable interaction with Slack workspaces. Supports subscribing to Slack events through Resources.
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with Slack workspaces as a user, supporting channel listing, message posting, threading, reactions, and user management via the Slack API.811MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Slack workspaces through comprehensive integration capabilities. Supports channel management, messaging, thread replies, reactions, and message history retrieval through natural language commands.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through comprehensive channel management, messaging, direct messages, search functionality, and user management capabilities.305 npm3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Slack workspaces through natural language, supporting channel management, message operations, user profiles, reactions, and threaded conversations.-