Skip to main content
Glama

Proof of Invention

MIT License

MCP POI Server

A Model Context Protocol server for processing files and preparing blockchain transactions. This server can be installed in Claude Desktop and provides a tool to process files and prepare them for blockchain transactions.

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

Setup

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Build the server:
    npm run build

Environment Variables

  • API_TOKEN: Your API bearer token for authentication against the PoI API. You can request a new token on Molecule's Discord Server: https://discord.gg/k4ER7vZcj8

Usage

The server provides a tool called create_proof_of_invention_request that accepts a file path returns prepared transaction data suitable for blockchain execution. This can be reused by your favorite tool that can sign and submit transactions. The binary content should be provided by the MCP client (e.g., Claude Desktop or Cursor).

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

Adding to Claude Desktop

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

Plays nicely with other MCP servers

Our complete Claude desktop config looks:

{ "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": "" } } } }
Prompts

| Create a poi hash from the "idea.md" file in my Documents folder ... | send and Eth transation with the poi hash to the poi's to address on the base blockchain

Tool Schema

Input:

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

Output:

{ 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 } }

Running the Server

npm start

Development

For development with automatic rebuilding:

npm run dev

Error Handling

The server includes robust error handling for:

  • Missing environment variables
  • Invalid file content
  • API communication errors
  • Invalid response formats

Security

  • API tokens are loaded from environment variables
  • File contents are properly encoded before transmission
  • Error messages are sanitized to prevent information leakage
  • No filesystem access required - all content is provided by the MCP client
-
security - not tested
A
license - permissive license
-
quality - not tested

Proof of Invention

  1. Setup
    1. Environment Variables
      1. Usage
        1. Adding to Claude Desktop
        2. Plays nicely with other MCP servers
        3. Tool Schema
      2. Running the Server
        1. Development
          1. Error Handling
            1. Security

              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