
Vikunja tasks
io.github.yarenty由 GitHub 账号 yarenty 发布v0.2.0更新于 Nov 3, 2026
面向 MCP 客户端的 Vikunja 任务:列出并读取任务和项目;使用 --writable 可修改它们。
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
原文描述
Vikunja tasks for MCP clients: list and read tasks and projects; with --writable, change them.
概览
Vikunja tasks 的本地 MCP 服务;无需登录;STDIO。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
安装
在 SourceWeft 中
- 打开 控制台中的 Vikunja tasks,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
emperor-vikunja
An MCP server for Vikunja, the open-source task manager. Let Claude, kowalski or any MCP client list, read, create and update your tasks, comment on them and see your projects.
Built on emperor-mcp (Emperor Profile P1.1):
- Stateless Streamable HTTP at
/mcp, plus stdio for desktop clients. - Your token is forwarded, never stored. Over HTTP each request brings its own
Authorization: Bearer <token>; the server passes it to Vikunja and forgets it. There are no default or test tokens. - Framed output. Task text written by people (titles, descriptions, comments) reaches the model marked as messages for the user, never as instructions for the model.
- Read-only unless you say otherwise. Started plain, the server offers only the three read
tools;
--writable(orVIKUNJA_WRITABLE=true) adds the three that change tasks. - Six annotated tools with compact definitions, a
doctorsubcommand, Markdown in and plain text out. - Clear auth failures. When Vikunja refuses the token, the MCP response over HTTP is a
401or403, so the client can ask for a new token.
Tools
Without --writable the write tools are not in the server at all: they are neither listed nor
callable, so neither the model nor text it reads can reach them.
Every tool is marked open-world (it talks to a Vikunja that other people change).
update_task is marked destructive because a new title or description replaces the old text,
which Vikunja does not keep, and labels and assignees can be removed; it is idempotent because
the same call twice leaves the task as one call did.
Labels are named by title. A label that does not exist is an error unless the call passes
create_missing_labels: true, so a typo does not quietly add a new label. Assignees are
usernames (exact, case-insensitive; a leading @ is fine). Names are checked before anything
is written: a bad label or username leaves no half-made task.
Priority: 0 unset, 1 low, 2 medium, 3 high, 4 urgent, 5 do now. Dates: YYYY-MM-DD (read as
00:00 UTC) or ISO-8601; dates come back as RFC 3339, or null when unset.
Descriptions and comments are stored by Vikunja as HTML. What the model writes in Markdown is rendered to HTML on the way in (raw HTML in the Markdown is escaped, not passed through); HTML read back is rendered to plain text.
Install
From a release (Linux x86_64, macOS arm64 and x86_64, Windows x86_64): download the archive for
your platform from Releases and put
emperor-vikunja on your PATH.
From source (Rust 1.88 or newer):
Get a token
In Vikunja open Settings > API Tokens > Create a token, pick an expiry date and tick these
permissions (the minimum the six tools need with --writable):
The server is read-only by default; for a read-only assistant give it a token with only the
read_all / read_one permissions (and other: user for doctor).
Run
Local (stdio)
Docker (stdio)
The image runs emperor-vikunja serve --stdio as a non-root user; the Vikunja address comes
from VIKUNJA_URL.
Shared (HTTP)
Every MCP request must carry Authorization: Bearer <token>; each user brings their own.
VIKUNJA_TOKEN is ignored in this mode, so one person's token can never answer another
person's request. Tool discovery (tools/list) works without a token.
When Vikunja refuses the token (401) or the token may not do this (403), the MCP response
carries that HTTP status (401 with WWW-Authenticate: Bearer error="invalid_token") and a
JSON-RPC error with code -32040 and data.httpStatus. Over stdio the client gets the same
JSON-RPC error.
Flags and headers
With X-Upstream-Url one server can front several Vikunja instances. The server will then call
whichever https host a client names, with that client's token; run it where outbound calls to
arbitrary hosts are acceptable, or leave the header out at your proxy and rely on --base-url.
Logs go to stderr; RUST_LOG=debug for more. In production put the HTTP server behind a
reverse proxy that terminates TLS (Emperor Profile E5).
Connect
Claude Desktop (claude_desktop_config.json):
--writable lets Claude create, update and comment; drop it for a read-only connection.
Claude Code:
kowalski (config.toml):
Doctor
emperor-vikunja doctor checks the setup before you start the server and exits 1 when
something is broken, so scripts and container health checks can use it:
It checks that the URL parses, GET /api/v1/info answers, the token is set (only its length is
shown) and GET /api/v1/user accepts it, which tools the mode serves (three read tools by default,
all six with --writable; a warning when the deprecated --read-only is given), the listen address is free (skipped with --stdio), and the tool count is
within the emperor-mcp budget. Without VIKUNJA_TOKEN in HTTP mode the token line is a
warning, because the token comes per request; with --stdio it is a failure. The same goes for
--base-url: over HTTP its absence is a warning (requests must send X-Upstream-Url), with
--stdio a failure.
Compatibility
Tested against Vikunja v2.7 (the vikunja/vikunja image). Tasks are listed through GET /tasks
with Vikunja's filter syntax (done = false && project = 3 && labels in 5 && due_date < '...');
older releases that serve /tasks/all instead are picked up automatically, and every filter is
applied again locally so results stay right even where the server ignores part of it.
Build and test
Links
- Crate: crates.io/crates/emperor-vikunja, API docs on docs.rs
- Container: build from the
Dockerfile; it serves stdio and readsVIKUNJA_URL,VIKUNJA_TOKENandVIKUNJA_WRITABLE - Listed in the official MCP Registry as mcp-name: io.github.yarenty/emperor-vikunja
- How it compares with other task-manager MCP servers: docs/COMPARISON.md
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in emperor-vikunja by you shall be dual licensed as above, without any additional terms or conditions.
来源:README.md,提交 b1a0b7a
工具
0版本历史
1- v0.2.0最新Nov 3, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分