Skip to main content
Glama

veyra-contacts

一个面向 AI 代理的联系人管理器 MCP 工具。用于存储和查询姓名、电子邮件、电话号码和公司信息。联系人数据属于业务关键型信息 —— 所有写入操作均为 B 类,且需要 Veyra 提交模式授权。

概述

veyra-contacts 为 AI 代理提供了一个由 SQLite 支持的持久化联系人数据库。读取操作免费。所有变更操作(创建、更新、删除)均为 B 类(€0.02),因为联系人数据属于业务关键型信息,必须防止意外写入。

安装

npm install
npm run build

数据存储在 ~/.veyra-contacts/data.db 中,首次运行时会自动创建。

MCP 配置 (Claude Desktop)

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

工具

工具

输入

价格

list_contacts

{ tag?, company? }

免费

get_contact

{ id }

免费

search_contacts

{ query }

免费

create_contact

{ name, email?, phone?, company?, tags?, veyra_token? }

B

€0.02

update_contact

{ id, name?, email?, veyra_token? }

B

€0.02

delete_contact

{ id, veyra_token? }

B

€0.02

所有写入操作均为 B 类,因为联系人数据属于业务关键型信息。

示例

读取(无需令牌)

// List all contacts
{ "tool": "list_contacts", "arguments": {} }

// Filter by company
{ "tool": "list_contacts", "arguments": { "company": "Acme Corp" } }

// Search across name, email, company, tags
{ "tool": "search_contacts", "arguments": { "query": "alice" } }

// Get a specific contact
{ "tool": "get_contact", "arguments": { "id": "1712345678-abc1234" } }

写入(需要 Veyra 令牌 — B 类)

// Create a contact
{
  "tool": "create_contact",
  "arguments": {
    "name": "Alice Müller",
    "email": "alice@example.com",
    "phone": "+49 123 456789",
    "company": "Acme Corp",
    "tags": "customer,vip",
    "veyra_token": "vt_..."
  }
}

// Update a contact
{
  "tool": "update_contact",
  "arguments": {
    "id": "1712345678-abc1234",
    "email": "alice.new@example.com",
    "veyra_token": "vt_..."
  }
}

// Delete a contact
{
  "tool": "delete_contact",
  "arguments": { "id": "1712345678-abc1234", "veyra_token": "vt_..." }
}

缺少令牌时的错误响应

{
  "error": "VeyraCommitRequired",
  "message": "Write operations require Veyra commit mode.",
  "currentMode": "open",
  "requiredMode": "commit",
  "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-contacts 在执行操作前通过 @veyrahq/sdk-node 验证令牌。

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

许可证

MIT

-
security - not tested
F
license - not found
-
quality - not tested

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-contacts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server