vikunja-mcp
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 show my open tasks in the Marketing 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
MCP server for Vikunja, built on API v2.
Exposes Vikunja tasks to any MCP client (Claude Code, Claude Desktop, …) as tools. The one deliberate deviation from the API: tasks are never deleted. Removing a task attaches a configurable label instead, and listings hide labelled tasks.
Tools
Tool | What it does |
| List tasks globally or in one project, with Vikunja filter syntax, search, sorting, pagination. Hides removed tasks by default. |
| Read a single task including labels and assignees. |
| Create a task; optionally attaches labels (creating missing ones). |
| Partial update via JSON Merge Patch; |
| Soft delete — attaches the removal label. Never calls |
| Detaches the removal label. |
| Attach labels to a task, creating any that do not exist. |
| Projects with their numeric ids (needed for filters). |
| Read a single project by id. |
| Create a project, optionally nested under a parent. |
| Labels with their numeric ids (needed for filters). |
Related MCP server: Vikunja MCP Server
Removal by label
remove_task never issues DELETE. It:
resolves the label named by
VIKUNJA_REMOVED_LABEL(defaultremoved_by_label), creating it whenVIKUNJA_AUTO_CREATE_REMOVED_LABEL=true;attaches it to the task via
POST /tasks/{id}/labels.
list_tasks then appends labels not in <label_id> to the filter query. Because
Vikunja drops rows whose filtered field is null, filter_include_nulls is set to
true alongside that clause unless you pass it explicitly — otherwise tasks with
no labels at all would disappear from the listing. Results are additionally
filtered client-side, so a removed task never reaches the model.
Set include_removed=true on list_tasks to see them.
Configuration
All settings come from environment variables (or a local .env); see
.env.example.
Variable | Default | Meaning |
| required | Instance URL. |
| required | API token ( |
|
| Label used instead of deleting. |
|
| Create that label on first use. |
| – | Project used by |
|
|
|
|
| HTTP timeout, seconds. |
|
| TLS verification. |
|
|
|
|
| Bind address for HTTP transports. |
|
| Port for HTTP transports. |
Create the token in Vikunja under Settings → API Tokens. It needs read/write scopes on tasks, labels and projects.
Running
Locally
make installcp .env.example .env # then fill in VIKUNJA_URL and VIKUNJA_TOKENmake runmake run serves stdio and waits for JSON-RPC on stdin, which is how MCP
clients launch it. For HTTP use make run-http (override with HOST= and
PORT=). make help lists every target.
Docker
make docker-buildstdio (how MCP clients usually launch it):
docker run --rm -i -e VIKUNJA_URL -e VIKUNJA_TOKEN vikunja-mcpHTTP:
docker run --rm -p 8000:8000 -e VIKUNJA_MCP_TRANSPORT=http -e VIKUNJA_URL -e VIKUNJA_TOKEN vikunja-mcpRegistering with an MCP client
{
"mcpServers": {
"vikunja": {
"command": "docker",
"args": ["run", "--rm", "-i", "-e", "VIKUNJA_URL", "-e", "VIKUNJA_TOKEN", "vikunja-mcp"],
"env": {
"VIKUNJA_URL": "https://try.vikunja.io",
"VIKUNJA_TOKEN": "tk_..."
}
}
}
}Development
uv run pre-commit installmake testmake lintTests mock the Vikunja API with respx and drive the server through FastMCP's
in-memory client, so no live instance is required.
Layout
File | Role |
Settings and URL normalisation | |
Pydantic models for the v2 payloads | |
Async HTTP client, RFC 9457 error mapping | |
Removal-by-label logic, label resolution | |
FastMCP tool definitions |
Available Tools
11 toolsadd_task_labelsA
Attach labels to a task, creating any that do not exist yet.
Inputs: labels (required), task_id (required). Returns: id, done, index, title, +20 more
create_projectA
Create a project, optionally nested under a parent project.
Inputs: title (required), hex_color, identifier, description, +2 more. Returns: id, owner, title, created, +7 more
create_taskA
Create a task in a project.
Falls back to VIKUNJA_DEFAULT_PROJECT_ID when project_id is omitted.
Inputs: title (required), done, labels, due_date, +8 more. Returns: id, done, index, title, +20 more
get_projectARead-only
Read a single project by id.
Inputs: project_id (required). Returns: id, owner, title, created, +7 more
get_taskARead-only
Read a single task by id, including its labels and assignees.
Inputs: task_id (required), expand. Returns: id, done, index, title, +20 more
list_labelsARead-only
List labels, useful for building filter expressions that need label ids.
Inputs: page, query, per_page. Returns: page, items, total, per_page, +1 more
list_projectsARead-only
List projects visible to the configured token, with their numeric ids.
Inputs: page, query, per_page, is_archived. Returns: page, items, total, per_page, +1 more
list_tasksARead-only
List tasks, optionally scoped to one project.
Tasks marked as removed are hidden unless include_removed is true. When the removal filter is applied and filter_include_nulls was not set explicitly, it defaults to true so that tasks without any label are still returned.
Inputs: page, query, expand, sort_by, +7 more. Returns: page, items, total, per_page, +1 more
remove_taskAIdempotent
Mark a task as removed by attaching the configured removal label.
Nothing is deleted: the task stays in Vikunja and is simply hidden from list_tasks. Use restore_task to undo.
Inputs: task_id (required). Returns: id, done, index, title, +20 more
restore_taskAIdempotent
Undo remove_task by detaching the removal label.
Inputs: task_id (required). Returns: id, done, index, title, +20 more
update_taskA
Partially update a task; omitted fields are left untouched.
Setting project_id moves the task to another project. Use clear_fields to explicitly empty a field instead of changing it.
Inputs: task_id (required), done, title, due_date, +9 more. Returns: id, done, index, title, +20 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource and action: tasks, projects, and labels are cleanly separated, and remove_task/restore_task are explicitly paired as opposites. There is no meaningful overlap between any two tools.
All tools follow a consistent lower_snake_case verb_noun pattern, such as list_tasks, get_task, update_task, and create_project. The naming is uniform and predictable across the whole set.
Eleven tools is a well-scoped set for a task/project management server, covering tasks, projects, and labels without excessive fragmentation. Each tool earns its place in the API surface.
Task lifecycle coverage is strong with list/get/create/update/remove/restore and label manipulation. The main gap is project coverage, which supports list/get/create but lacks update/delete or archive operations, though these are less central to task-focused workflows.
Maintenance
Related MCP Connectors
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Create, list, and complete todo items through MCP.
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
- AlicenseCqualityFmaintenanceEnables AI assistants to interact with Vikunja task management instances, providing full task, project, label, team, user, and webhook management operations through subcommand-based tools.16260 npm113MIT
- AlicenseNot gradedqualityDmaintenanceLightweight MCP server for Vikunja task management, providing tools to manage projects, tasks, labels, and comments via API.43 npmMIT
- AlicenseNot gradedqualityDmaintenanceBridges MCP clients to a self-hosted Vikunja instance, exposing tools for managing projects, tasks, labels, and comments.MIT