@infomaniak/mcp-server-kdrive
v0.0.1
Published
MCP server for interacting with Infomaniak kDrive
Readme
kDrive MCP Server
MCP Server for the kDrive API.
Tools
kdrive_search- Search in kDrive
- Returns: List of files
Setup
- Create a kDrive token linked to your user:
- Visit the API Token page
- Choose "drive" scope
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
NPX
{
"mcpServers": {
"kdrive": {
"command": "npx",
"args": [
"-y",
"@infomaniak/mcp-server-kdrive"
],
"env": {
"KDRIVE_TOKEN": "your-token",
"KDRIVE_ID": "your-kdrive-id"
}
}
}
}docker
{
"mcpServers": {
"kdrive": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KDRIVE_TOKEN",
"-e",
"KDRIVE_ID",
"infomaniak/mcp-server-kchat"
],
"env": {
"KDRIVE_TOKEN": "your-token",
"KDRIVE_ID": "your-kdrive-id"
}
}
}
}Environment Variables
KDRIVE_TOKEN: Required. Your kDrive token.KDRIVE_ID: Required. Your kDrive id fetch from the webapp URL. (eg. if your kDrive webapp url is https://ksuite.infomaniak.com/all/kdrive/app/drive/12 your drive id is 12)
Troubleshooting
If you encounter permission errors, verify that:
- All required scopes are added to your drive token
- The token and drive id are correctly copied to your configuration
Build
Docker build:
docker build -t infomaniak/mcp-server-kdrive -f Dockerfile .License
This MCP server is licensed under the MIT License.
