Skip to main content
Glama

Proof of Invention

MIT License

MCP POI 服务器

用于处理文件和准备区块链交易的模型上下文协议服务器。该服务器可以安装在 Claude Desktop 中,并提供处理文件和准备区块链交易的工具。

https://github.com/user-attachments/assets/6b2fbd68-4eca-4130-9594-d6720508e9c8

设置

  1. 克隆此存储库
  2. 安装依赖项:
    npm install
  3. 构建服务器:
    npm run build

环境变量

  • API_TOKEN :您的 API 持有者令牌,用于向 PoI API 进行身份验证。您可以在 Molecule 的 Discord 服务器上申请新的令牌: https://discord.gg/k4ER7vZcj8

用法

服务器提供了一个名为create_proof_of_invention_request的工具,该工具接受一个文件路径,并返回准备好的、适合区块链执行的交易数据。您可以将其复用到您常用的、可以签名和提交交易的工具中。二进制内容应由 MCP 客户端(例如 Claude Desktop 或 Cursor)提供。

https://docs.molecule.to/documentation/proof-of-invention-poi/api-access-beta

添加到 Claude 桌面

"poi": { "command": "npx", "args": ["mcp-poi"], "env": { "API_TOKEN": "the api token" } }

与其他 MCP 服务器完美兼容

我们完整的 Claude 桌面配置如下:

{ "mcpServers": { "mcp-cryptowallet-evm": { "command": "npx", "args": ["@mcp-dockmaster/mcp-cryptowallet-evm"], "env": { "PRIVATE_KEY": "" } }, "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/Users/stadolf/Downloads", "/Users/stadolf/Documents" ] }, "poi": { "command": "npx", "args": ["-y", "mcp-poi"], "env": { "API_TOKEN": "" } } } }
提示

| 从我的文档文件夹中的“idea.md”文件创建一个 poi 哈希...| 将带有 poi 哈希的 Eth 交易发送至基础区块链上的 poi 地址

工具架构

输入:

{ filepath: string; // A path of a binary }

输出:

{ transaction_request: { to: string, // a PoI anchoring address (usually starts with 0x1dea) data: string, // the merkle root hash that represents the PoI value: string, // 0 } }

运行服务器

npm start

发展

对于自动重建的开发:

npm run dev

错误处理

该服务器包括强大的错误处理功能:

  • 缺少环境变量
  • 文件内容无效
  • API 通信错误
  • 无效的响应格式

安全

  • API 令牌从环境变量加载
  • 文件内容在传输前进行正确编码
  • 错误信息经过净化,防止信息泄露
  • 无需文件系统访问 - 所有内容均由 MCP 客户端提供
-
security - not tested
A
license - permissive license
-
quality - not tested

发明证明

  1. 设置
    1. 环境变量
      1. 用法
        1. 添加到 Claude 桌面
        2. 与其他 MCP 服务器完美兼容
        3. 工具架构
      2. 运行服务器
        1. 发展
          1. 错误处理
            1. 安全

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Enables analysis of claims, validation of sources, and detection of manipulation using multiple epistemological frameworks to ensure credible and ethical information.
                Last updated -
                3
                15
                JavaScript
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that enables Claude to interact with and analyze your Lighthouse.one crypto portfolio data through secure authentication.
                Last updated -
                11
                1
                JavaScript
              • A
                security
                A
                license
                A
                quality
                Add human approval steps to your AI agents and automations with gotoHuman.
                Last updated -
                3
                101
                18
                JavaScript
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              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/elmariachi111/mcp-poi'

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