Skip to main content
Glama

veyra-notes

一个为 AI 智能体提供的持久化笔记系统 MCP 工具,支持标签过滤和全文搜索。读取始终免费。写入操作需要 Veyra 提交模式授权。

概述

veyra-notes 为 AI 智能体提供了一个基于 SQLite 的可靠笔记层。智能体可以自由读取、列出和搜索笔记。创建、更新和删除笔记受到 Veyra 提交模式的保护,确保写入操作是有意且可追溯的。

Related MCP server: Bruin

安装

npm install
npm run build

笔记存储在 ~/.veyra-notes/data.db 中,首次运行时会自动创建。

MCP 配置 (Claude Desktop)

将以下内容添加到你的 claude_desktop_config.json 中:

{
  "mcpServers": {
    "veyra-notes": {
      "command": "node",
      "args": ["/absolute/path/to/veyra-notes/dist/index.js"]
    }
  }
}

工具

工具

输入

类别

价格

list_notes

{ tag?, limit? }

免费

get_note

{ id }

免费

search_notes

{ query }

免费

create_note

{ title, content, tags?, veyra_token? }

A

€0.005

update_note

{ id, content?, title?, veyra_token? }

A

€0.005

delete_note

{ id, veyra_token? }

B

€0.02

示例

读取(无需令牌)

// List all notes
{ "tool": "list_notes", "arguments": {} }

// List notes by tag
{ "tool": "list_notes", "arguments": { "tag": "project-x" } }

// Get a specific note
{ "tool": "get_note", "arguments": { "id": "1712345678-abc1234" } }

// Search across title, content, and tags
{ "tool": "search_notes", "arguments": { "query": "meeting notes" } }

写入(需要 Veyra 令牌)

// Create a note
{
  "tool": "create_note",
  "arguments": {
    "title": "Sprint Planning",
    "content": "Goals for this sprint: ...",
    "tags": "work,planning",
    "veyra_token": "vt_..."
  }
}

// Update a note
{
  "tool": "update_note",
  "arguments": {
    "id": "1712345678-abc1234",
    "content": "Updated content...",
    "veyra_token": "vt_..."
  }
}

// Delete a note
{
  "tool": "delete_note",
  "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 智能体操作的提交模式授权层。当智能体尝试执行写入操作时:

  1. 智能体在调用工具时未提供 veyra_token,并收到带有 authorize_endpointVeyraCommitRequired 错误。

  2. 智能体(或代表它的用户)调用授权端点以获取令牌。

  3. 智能体使用设置好的 veyra_token 重试工具调用。

  4. veyra-notes 在执行写入前通过 @veyrahq/sdk-node 验证令牌。

请参阅 veyra.to 获取完整文档。

许可证

MIT

托管包(推荐)

建议使用托管包以实现单 URL 集成:

{
  "mcpServers": {
    "veyra": {
      "url": "https://mcp.veyra.to/sse"
    }
  }
}

一个 URL。48 个工具。24 个免费读取。24 个受保护的写入。

托管包: https://mcp.veyra.to/sse

包清单: https://mcp.veyra.to/.well-known/veyra-pack.json

当你希望在所有 Veyra 工具系列中实现最快的 MCP 集成路径时,请使用托管包。 当你专门需要此工具独立运行时,请使用此独立包。

Veyra 生态系统的一部分

Veyra 是生产级 AI 智能体操作的提交模式。 所有工具:读取免费,写入需要 Veyra 提交模式。

工具

描述

安装

veyra-memory

键值内存存储

npm i -g veyra-memory

veyra-tasks

任务管理

npm i -g veyra-tasks

veyra-snippets

代码片段存储

npm i -g veyra-snippets

veyra-bookmarks

书签管理器

npm i -g veyra-bookmarks

veyra-contacts

联系人管理

npm i -g veyra-contacts

veyra-forms

表单构建器

npm i -g veyra-forms

veyra-webhooks

Webhook 发送器

npm i -g veyra-webhooks

SDK: npm install @veyrahq/sdk-node 网站: veyra.to

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for AI agents to read, write, and organize notes in a local-first, human-in-the-loop note-taking app.
    4 npm
    2
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server for a full-stack note-taking application, exposing CRUD tools for notes with SSE transport for AI agent integration.
    1
    -
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for managing a local, domain-agnostic knowledge base using Markdown notes with frontmatter. Enables AI agents to capture, read, search, link, and maintain notes with atomic writes and privacy controls.
    13
    MIT