This record as markdown: /tools/0xk3vin-vikunja-mcp/task-relations-add.md
What task_relations_add does on Vikunja
AI agents use task_relations_add to create or update resources in Vikunja, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Vikunja environment.
Why task_relations_add is rated Medium
This tool creates a new relationship between existing tasks, which is a write operation that modifies the task graph structure. While this can be reversed (the relation can presumably be deleted), it modifies application state. It is not destructive (no deletion), not a read-only operation (it changes data), not Execute (no code/command execution), and not Financial.
From the tool's definition Tool name 'task_relations_add' and description 'Create a relation between two tasks' indicate creating/modifying data. The verb 'Create' and action 'add' show reversible data modification without permanent deletion or code execution.
Attacks that exploit this kind of access
The rule that runs task_relations_add safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Vikunja, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For task_relations_add, this is the rule to start with:
task_relations_add stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Vikunja, apply this rule, and every task_relations_add call is checked against it from then on.
Questions about task_relations_add
Create a relation between two tasks. It is categorised as a Write tool in the Vikunja MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Vikunja MCP server in PolicyLayer and add a rule for task_relations_add: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Vikunja. Nothing to install.
task_relations_add is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the task_relations_add rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for task_relations_add. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
task_relations_add is provided by the Vikunja MCP server (0xk3vin/vikunja-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Vikunja, and thousands of servers like it.
This server
Across the catalogue