veyra-tasks
veyra-tasks
一个为 AI 智能体提供的持久化任务管理器 MCP 工具,支持项目分组、优先级和状态跟踪。读取操作始终免费。写入操作需要 Veyra 提交模式授权。
概述
veyra-tasks 为 AI 智能体提供了一个由 SQLite 支持的可靠任务管理层。智能体可以自由列出和查看任务。创建、更新、完成和删除任务受到 Veyra 提交模式的保护,确保操作是有意且可追溯的。
安装
npm install
npm run build任务存储在 ~/.veyra-tasks/data.db 中,首次运行时会自动创建。
MCP 配置 (Claude Desktop)
将以下内容添加到你的 claude_desktop_config.json 中:
{
"mcpServers": {
"veyra-tasks": {
"command": "node",
"args": ["/absolute/path/to/veyra-tasks/dist/index.js"]
}
}
}工具
工具 | 输入 | 等级 | 价格 |
|
| — | 免费 |
|
| — | 免费 |
|
| A | €0.005 |
|
| A | €0.005 |
|
| A | €0.005 |
|
| B | €0.02 |
状态值
todo · in_progress · done
优先级值
low · medium · high · urgent
示例
读取(无需令牌)
// List all tasks
{ "tool": "list_tasks", "arguments": {} }
// List in-progress tasks for a project
{ "tool": "list_tasks", "arguments": { "status": "in_progress", "project": "website" } }
// List urgent tasks
{ "tool": "list_tasks", "arguments": { "priority": "urgent" } }
// Get a specific task
{ "tool": "get_task", "arguments": { "id": "1712345678-abc1234" } }写入(需要 Veyra 令牌)
// Create a task
{
"tool": "create_task",
"arguments": {
"title": "Fix login bug",
"description": "Users cannot log in on mobile Safari",
"priority": "urgent",
"project": "website",
"due": "2025-04-20",
"veyra_token": "vt_..."
}
}
// Update task status
{
"tool": "update_task",
"arguments": {
"id": "1712345678-abc1234",
"status": "in_progress",
"veyra_token": "vt_..."
}
}
// Mark a task done
{
"tool": "complete_task",
"arguments": {
"id": "1712345678-abc1234",
"veyra_token": "vt_..."
}
}
// Delete a task
{
"tool": "delete_task",
"arguments": {
"id": "1712345678-abc1234",
"veyra_token": "vt_..."
}
}缺少令牌时的错误响应
{
"error": "VeyraCommitRequired",
"message": "Write operations require Veyra commit mode.",
"currentMode": "open",
"requiredMode": "commit",
"transitionStrategy": "authorize_then_retry_with_x_veyra_token",
"provider": "veyra",
"authorize_endpoint": "https://api.veyra.to/v1/authorize-action",
"docs_url": "https://veyra.to"
}Veyra 工作原理
Veyra 是一个面向 AI 智能体的提交模式授权层。当智能体尝试执行写入操作时:
智能体在没有
veyra_token的情况下调用工具,并收到带有authorize_endpoint的VeyraCommitRequired错误。智能体(或代表它的用户)调用授权端点以获取令牌。
智能体使用设置好的
veyra_token重试工具调用。veyra-tasks在执行写入之前通过@veyrahq/sdk-node验证令牌。
请参阅 veyra.to 获取完整文档。
许可证
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aquariosan/veyra-tasks'
If you have feedback or need assistance with the MCP directory API, please join our Discord server