Skip to main content

Minimal MCP server for Vikunja (server-side filtering, no fluff)

Project description

Mezame

altiplano

A small, dependable MCP server for Vikunja. Named after the Andean altiplano, the high plateau that is the Vicuña's native habitat.

Filtering and sorting are passed straight to the Vikunja API (server-side), so there is no client-side filtering engine and no paginate-then-filter pitfall.

Tools

  • list_projects
  • list_tasks (project_id, filter, sort_by, page, per_page)
  • get_task (task_id)
  • create_task (project_id, title, description?, priority?, due_date?)
  • update_task (task_id, title?, description?, done?, priority?)
  • list_labels
  • add_label (task_id, label_id)
  • remove_label (task_id, label_id)

Credentials (no secrets in mcp.json)

The server resolves two values, in order:

  1. Environment variables VIKUNJA_URL and VIKUNJA_API_TOKEN.
  2. A per-device file of KEY=VALUE lines, default ~/.config/altiplano/env (override the path with ALTIPLANO_CONFIG).

VIKUNJA_URL is the base API URL including /api/v1 (e.g. https://todo.example.com/api/v1).

Recommended so the shared mcp.json carries no secret:

  • Drop a per-device file and lock it down:
    mkdir -p ~/.config/altiplano
    printf 'VIKUNJA_URL=https://todo.example.com/api/v1\nVIKUNJA_API_TOKEN=tk_xxx\n' > ~/.config/altiplano/env
    chmod 600 ~/.config/altiplano/env
    
  • Or inject via the launcher's environment (e.g. a systemd unit EnvironmentFile= pointing at a chmod 600 file), which the server inherits.
  • For stronger setups, source the token from a secret manager/keychain at launch and export it into the environment.

Then mcp.json only needs the command, no env block, no plain-text secrets:

{
  "altiplano": {
    "command": "uvx",
    "args": ["altiplano"]
  }
}

Run

uv run altiplano                        # dev, from this directory
uvx --from /your/local/path altiplano   # local path
uvx altiplano                           # from PyPI

Notes

  • Vikunja priority scale: 0 Unset, 1 Low, 2 Medium, 3 High, 4 Urgent, 5 DO NOW.
  • The UI shows tasks by their project-local identifier (e.g. #50), which is not the global id the API uses.
  • Endpoint shapes (create via PUT /projects/{id}/tasks, update via POST /tasks/{id}) follow current Vikunja; adjust if your instance differs.

Licence

MIT.

Support

RTFM, then RTFC... If you are still stuck or just need an additional feature, file an issue.

✌🏼

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

altiplano-0.2.0.tar.gz (930.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

altiplano-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file altiplano-0.2.0.tar.gz.

File metadata

  • Download URL: altiplano-0.2.0.tar.gz
  • Upload date:
  • Size: 930.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for altiplano-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ea77969180482e40d4251c4079c9a81e36c4ffd69d563a106dec7f6a5c3b214e
MD5 7f7ea8228fe5d73ae3b4e86118b1dc68
BLAKE2b-256 9aa212af2803c39fb4d110e8929428a8445f79cecca6a641984e62258e818f08

See more details on using hashes here.

File details

Details for the file altiplano-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: altiplano-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for altiplano-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7c1dec767b7d2a3fe7896e6b72805a899f82cc309a9d98a9bcede76d674062
MD5 c1564787e11cfbb16642be5e91e11c4a
BLAKE2b-256 4ae3825b21e1b9292073c6b857ca89a26e213e66e329dfc0e2922d8705bc6bb6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page