vikunja-mcp
It lets you interact with a Vikunja board over MCP: browse projects and tasks, create and update tasks, and leave or read comments.
List Vikunja projects (id, title, archived flag).
List tasks in a project, pending only by default or including done ones.
Get full details and plain-text description of a single task.
Create tasks with title, optional description, and optional project.
Update tasks: close (done=true), reopen (done=false), rename, or edit description.
Add comments to a task, e.g. the commit that closed it.
List comments on a task in order.
Projects can be specified by id or title, or omitted when VIKUNJA_PROJECT is set.
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., "@vikunja-mcp list all open tasks in my project"
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.
vikunja-mcp
Minimal Model Context Protocol server for a self-hosted Vikunja. It lets Claude Code (or any MCP client) read a project's tasks, create and close them and leave comments, so an agent can work through a board on its own.
Python, stdio transport, two dependencies (mcp, httpx). No install step: uvx runs it
straight from this repository.
Tools
Tool | What it does |
| Projects with id, title and archived flag. |
| Tasks of a project (id or title). Pending only unless |
| One task with its full description as plain text. |
| New task; plain-text description, blank line between paragraphs. |
| Close ( |
| Comment on a task (e.g. the commit that closed it). |
| Comments in order. |
project may be omitted wherever VIKUNJA_PROJECT is set.
Related MCP server: vikunja-mcp
Per-repo setup (Claude Code)
One command in the repo root writes (or completes) its .mcp.json:
uvx --from git+https://github.com/zurdi15/vikunja-mcp vikunja-mcp-init "My project" --url https://vikunja.example.net--url can be omitted when VIKUNJA_URL is in the environment; the project defaults to the
folder name. Commit the file. The URL and the default project are plain values; the token is
not in the file — it is read from the environment of whoever runs the agent:
{
"mcpServers": {
"vikunja": {
"command": "uvx",
"args": ["--from", "git+https://github.com/zurdi15/vikunja-mcp", "vikunja-mcp"],
"env": {
"VIKUNJA_URL": "https://vikunja.example.net",
"VIKUNJA_PROJECT": "My project",
"VIKUNJA_TOKEN": "${VIKUNJA_TOKEN}"
}
}
}
}Claude Code expands ${VAR} in .mcp.json from the environment, so each machine only needs
uv and the variable:
# Linux / macOS: in ~/.bashrc, ~/.zshrc or a file you source
export VIKUNJA_TOKEN=tk_…
# Windows (PowerShell, user scope, persistent)
[Environment]::SetEnvironmentVariable('VIKUNJA_TOKEN', 'tk_…', 'User')The token is an API token created in Vikunja (Settings → API tokens) with read/write access to tasks and comments. Rotate it there and update the variable; nothing else changes.
The first time Claude Code opens a repo with a .mcp.json it asks whether to trust the
project's MCP servers. Pin a revision with git+https://github.com/zurdi15/vikunja-mcp@v0.1.0
if you want builds to be reproducible.
Private setup (no file in the repo)
For a repo you don't want a .mcp.json in (an open-source project, say), register the same
entry for yourself only, in that directory only:
uvx --from git+https://github.com/zurdi15/vikunja-mcp vikunja-mcp-init "My project" --url https://vikunja.example.net --localIt runs claude mcp add-json vikunja ... --scope local, which Claude Code keeps in
~/.claude.json under the project path. ${VIKUNJA_TOKEN} is still read from the environment,
and a local entry wins over a .mcp.json one with the same name. To move an existing
.mcp.json entry out of a repo:
claude mcp add-json vikunja --scope local "$(jq -c .mcpServers.vikunja .mcp.json)" && rm .mcp.jsonEnvironment
Variable | Required | Meaning |
| yes | Base URL of the instance, without |
| yes | API token. Never written to disk by this server, never logged. |
| no | Default project (id or title) for tools with an optional |
Local development
uv run vikunja-mcp # starts the stdio server (waits for a client)
uv run --with mcp python scripts/smoke.py # spawns it and calls list_projects/list_tasksLicense
MIT
Available Tools
7 toolsadd_commentA
Añade un comentario a una tarea (p. ej. el commit o la versión que la cerró).
Inputs: text (required), task_id (required).
create_taskA
Crea una tarea en un proyecto (sin project usa VIKUNJA_PROJECT). La
descripción es texto plano; los párrafos se separan con línea en blanco.
Inputs: title (required), project, description.
get_taskD
Una tarea con su descripción completa (texto plano).
Inputs: task_id (required).
list_commentsB
Comentarios de una tarea, en orden.
Inputs: task_id (required). Returns: result
list_projectsA
Lista los proyectos de Vikunja (id, título, archivado).
Inputs: no named parameters. Returns: result
list_tasksA
Tareas de un proyecto (id o título; sin project usa VIKUNJA_PROJECT).
Por defecto solo las pendientes, ordenadas por id.
Inputs: project, include_done.
update_taskA
Actualiza una tarea: done=true la cierra (false la reabre); título y
descripción opcionales. Los campos no indicados se conservan.
Inputs: task_id (required), done, title, description.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource-action combination: projects vs tasks vs comments, with list/get/create/update/comment operations clearly separated. There is no overlap or ambiguity between tools like list_tasks and get_task, which are standard list-detail pairs.
All tool names follow the consistent snake_case verb_noun pattern (list_, get_, create_, update_, add_). The verbs are simple and predictable, making the API easy to learn and navigate.
Seven tools is well-scoped for a project/task management integration. Each tool covers a necessary operation without redundancy or bloat, fitting comfortably in the ideal 3-15 tool range.
Core task lifecycle is covered well: create, get, update (including done state), plus comments (add/list). The main gap is the lack of a delete task tool, and projects are only listed, not created or updated, but these are minor for typical task management use.
Related MCP Connectors
Task & board management for AI agents + humans. Kanban, comments, digests via MCP.
Kanban board for teams and coding agents: manage tasks, subtasks, sprints and wiki pages via MCP.
Project management MCP for AI agents with safe task reads and writes.
Project board for ChatGPT, Claude and coding agents, with scoped MCP access to projects and tasks.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Vikunja task management instances through natural language. Supports comprehensive project and task operations including CRUD, assignments, labels, comments, relations, and attachments.332MIT
- AlicenseNot gradedqualityDmaintenanceEnables to interact with Vikunja task management through its REST API, supporting projects, tasks, comments, labels, assignees, and relations with field preservation.ISC
- AlicenseCqualityDmaintenanceEnables AI assistants to interact with Vikunja task management instances, providing full task, project, label, and user management capabilities.17MIT
- AlicenseNot gradedqualityDmaintenanceBridges MCP clients to a self-hosted Vikunja instance, exposing tools for managing projects, tasks, labels, and comments.MIT