Vikunja MCP Server
This server lets AI assistants (via MCP) manage Vikunja projects, tasks, labels, comments, attachments, relations, reactions, subscriptions, and kanban boards through a set of tools.
Projects: list, get, create (optionally nested), and find project ids.
Tasks: list with filters/sort/search, get full details, create with dates/priority/description/labels, update fields (including clearing dates, moving projects, setting progress), complete or reopen.
Labels: list existing labels and create new ones.
Comments & reactions: list, add, update, delete comments; add/remove reactions on tasks and comments.
Attachments: list, upload from local file paths, download to disk, and delete (when allowed).
Relations: add and remove task relations (subtask, parent, blocking, related, etc.).
Kanban: list buckets for a project view and move tasks between buckets.
Users & subscriptions: get the current user, find users for assignment, and subscribe/unsubscribe to tasks or projects.
Delete operations (tasks, comments, attachments) are available only when explicitly enabled via setup or
VIKUNJA_ALLOW_DELETE=true.
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 Server create a task 'Review PR' in my Work project and label it urgent"
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.
@fswap/mcp-vikunja
An MCP server for Vikunja that lets Claude Desktop, Claude Code, Cursor and other MCP clients manage your tasks: create, update, complete, assign, comment, attach files, relate, move on kanban boards and everything else in the task menu.
Runs locally over stdio. No install step — clients launch it with npx.
Quick start
Create an API token in Vikunja under Settings → API Tokens (scope it to projects, tasks, labels, task comments, attachments, assignees, relations, subscriptions, reactions and users — tools whose scope is missing return a 401).
Run the interactive setup once:
npx -y @fswap/mcp-vikunja@latest setupIt asks for your Vikunja URL and token, verifies them against
/api/v1/user, lets you pick a default project, and stores the answers in your OS config directory (mode0600).Add the server to your client. At the end,
setupoffers to do this for you in Claude Code, Claude Desktop, Cursor and Codex: clients it finds are pre-selected (except Claude Code when Claude Desktop is installed, because the desktop app's Code tab already loadsclaude_desktop_config.json), an existingvikunjaentry is only replaced after you confirm, and any config file it changes gets a one-time.bakcopy.To add it by hand instead, use the snippets below. Every value asked in
setupcan be skipped with Enter; anything you skip goes into theenvblock instead.setup --printshows these snippets again at any time.Claude Desktop (
claude_desktop_config.json) and Cursor (~/.cursor/mcp.jsonor<project>/.cursor/mcp.json):{ "mcpServers": { "vikunja": { "command": "npx", "args": ["-y", "@fswap/mcp-vikunja@latest"] } } }Codex (
~/.codex/config.toml):[mcp_servers.vikunja] command = "npx" args = ["-y", "@fswap/mcp-vikunja@latest"]Claude Code:
claude mcp add vikunja -- npx -y @fswap/mcp-vikunja@latest
Without setup (environment variables)
Environment variables take precedence over the config file, so you can skip setup entirely (or skip individual values in it and set them here):
{
"mcpServers": {
"vikunja": {
"command": "npx",
"args": ["-y", "@fswap/mcp-vikunja@latest"],
"env": {
"VIKUNJA_URL": "https://try.vikunja.io",
"VIKUNJA_API_TOKEN": "tk_..."
}
}
}
}Codex equivalent:
[mcp_servers.vikunja]
command = "npx"
args = ["-y", "@fswap/mcp-vikunja@latest"]
[mcp_servers.vikunja.env]
VIKUNJA_URL = "https://try.vikunja.io"
VIKUNJA_API_TOKEN = "tk_..."Variable | Purpose |
| Vikunja base URL (with or without |
| API token or login JWT |
|
|
| Project used by |
Related MCP server: Vikunja MCP Server
Tools
Tool | Method + endpoint | Notes |
|
| id, title, description, parent |
|
| |
|
| optional parent project |
|
| open tasks by default; |
|
| everything on the task page, including comments ( |
|
| all task fields, see below |
|
| merges your changes onto the current task |
|
|
|
|
| copies labels, assignees, attachments, reminders |
|
| subscribe / unsubscribe |
|
| label ids for create/update |
|
| |
|
| your own user id, e.g. to assign yourself |
|
| user ids for |
|
| author, HTML body, reactions |
|
| plain text is wrapped in |
|
|
|
|
|
|
|
| subtask, parenttask, blocking, related, … |
|
| |
|
| |
|
| local file paths |
|
| saves to disk; small images/text returned inline |
|
| kanban columns |
|
| |
|
| only when delete is allowed (setup answer or |
|
| delete-gated like |
|
| delete-gated like |
create_task and update_task cover the rest of the task menu: due/start/end dates, priority, progress (percentDone), colour (hexColor), favorite (isFavorite), repeating interval (repeatAfterSeconds, repeatMode), reminders (absolute or relative to a date), labels (labelIds), assignees (assigneeIds) and moving to another project (projectId). labelIds, assigneeIds and reminders replace the current values. descriptionFilePaths uploads local files and shows them at the end of the description. get_task returns all of these plus related tasks, attachments, kanban buckets, subscription and comments.
Vikunja has no comment-level attachments. Files shown in a comment or description are task attachments, exactly as when pasting into the web editor: images are embedded as <img data-src>, other files are referenced by name.
Every task and project includes a url to its page in the Vikunja web UI (taken from /info frontend_url). Vikunja's zero date (0001-01-01T00:00:00Z) is normalised to null in every response. API errors are returned to the model as isError results rather than crashing the server.
Development
TypeScript source in src/, bundled to dist/ with tsdown. Only dist/ is published.
npm install
npm run build # tsdown → dist/index.js
npm run lint # eslint (typescript-eslint)
npm run typecheck # tsc --noEmit
npm test # builds, then spawns the server and checks the tool list
npm run check # all of the above (also runs on prepublishOnly)
VIKUNJA_URL=... VIKUNJA_API_TOKEN=... npm run inspect # MCP Inspector UI against dist/Never write to stdout from server code — it is the protocol channel. Use console.error.
Reset
npx -y @fswap/mcp-vikunja@latest setup --resetLicense
MIT
Available Tools
10 toolscomplete_taskComplete taskB
Mark a task as done (or reopen it with done=false).
Inputs: id (required), done.
create_labelCreate labelC
Create a new label.
Inputs: title (required), hexColor, description.
create_projectCreate projectB
Create a new Vikunja project. Optionally nest it under a parent project.
Inputs: title (required), description, parentProjectId.
create_taskCreate taskB
Create a task in a project. Use list_projects to find the projectId and list_labels for label ids.
Inputs: title (required), projectId (required), dueDate, endDate, +4 more.
get_projectGet projectC
Get one Vikunja project by id.
Inputs: id (required).
get_taskGet taskB
Get a single task with full details: description, dates, priority, labels and assignees.
Inputs: id (required).
list_labelsList labelsB
List labels available to the user, with ids for use in create_task / update_task.
Inputs: page, search, perPage.
list_projectsList projectsB
List Vikunja projects the user can access. Returns id, title, description, identifier and parent project. Use the id with list_tasks or create_task.
Inputs: page, search, perPage, includeArchived.
list_tasksList tasksA
List tasks, across all projects or within one project. Returns id, title, done, due date, priority, label names, assignee usernames and a web url (no descriptions — use get_task). By default only open tasks are returned. Set assignedToMe=true for the current user's tasks. For advanced queries pass a raw Vikunja filter string such as done = false && due_date < now+7d, labels in 3, 5 or assignees in alice.
Inputs: page, filter, search, sortBy, +5 more.
update_taskUpdate taskA
Update fields of an existing task. Only the fields you pass are changed. To clear a date pass null. labelIds, when given, REPLACES the task's labels. Use complete_task to just mark a task done.
Inputs: id (required), done, title, dueDate, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Tools are clearly separated by resource (projects, tasks, labels) and action (list, get, create, update, complete). The only minor overlap is update_task vs complete_task for marking a task done, but the description explicitly redirects that use case.
All tool names follow a consistent snake_case verb_noun pattern (list_projects, get_task, create_label, etc.). There are no deviations or mixed conventions.
With 10 tools, the set is well within the ideal 3-15 range and each tool maps to a distinct operation. It is focused without unnecessary redundancy.
Task management has create/get/update/complete but lacks delete_task. Projects and labels lack update and delete operations entirely, which are notable gaps for a complete task management surface.
Related MCP Connectors
Simple, fast todo app: manage tasks, projects and tags from Claude and other MCP clients.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Share one project context across ChatGPT, Claude, Telegram and any MCP client.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
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 gradedqualityDmaintenanceConnects Claude to self-hosted Vikunja instances for conversational task and project management. Supports CRUD operations on projects and tasks, plus labels, comments, weekly reviews, calendar feeds, and task relations.-
- FlicenseAqualityDmaintenanceAn MCP server that exposes tasks in a Vikunja instance as typed tools for list, get, add, update, complete, and reopen operations, enabling natural language task management via Claude.7-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to manage Vikunja tasks – view, add, complete, edit, and delete tasks through natural language commands via Vikunja's REST API.1MIT