npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vectorforge-ai/mcp-server

v0.2.2

Published

VectorForge MCP Server - Cryptographic integrity, audit trails, and confidence scoring for AI applications

Downloads

408

Readme

VectorForge MCP Server

A Model Context Protocol (MCP) server for VectorForge APIs, providing cryptographic integrity, audit trails, and confidence scoring for AI applications.

Installation

npm install -g @vectorforge-ai/mcp-server

Or use directly with npx:

npx @vectorforge-ai/mcp-server

Quick Start

1. Get Your API Key

Sign up at vectorforge.ai and create an API key.

2. Configure Claude Desktop

Add to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "vectorforge": {
      "command": "npx",
      "args": ["@vectorforge-ai/mcp-server"],
      "env": {
        "VF_API_KEY": "vf_prod_your_key_here",
        "VF_API_BASE_URL": "https://api.vectorforge.ai"
      }
    }
  }
}

3. Restart Claude Desktop

Claude will now have access to all VectorForge tools.

Available Tools

| Tool | Description | |------|-------------| | vf.register | Register content and get a cryptographic DIVT | | vf.verify | Verify content against a registered DIVT | | vf.get_bundle | Get a full verification bundle for a DIVT | | vf.score.privacy | Privacy-preserving confidence scoring (no raw content sent) | | vf.score.full | Full semantic confidence scoring with Groq judge | | vf.stream_events | Stream audit events via SSE | | vf.get_worldstate | Get a single worldstate record | | vf.list_worldstate | List worldstate records with filters | | vf.prompt_receipt.create | Create a receipt for AI interactions | | vf.rag_snapshot.create | Freeze your knowledge base state | | vf.agent_action.log | Log agent/automation actions | | vf.keys.create | Create new API keys | | vf.keys.revoke | Revoke an API key |

Examples

Register Content

Tool: vf.register
Arguments:
  object_id: "doc-123"
  data_type: "document_v1"
  hash_mode: "content"
  content: "This is my important document."

Returns a DIVT with cryptographic signatures (ECDSA P-521 + ML-DSA-65).

Verify Content

Tool: vf.verify
Arguments:
  divt_id: "019abc12-3456-7890-abcd-ef0123456789"
  content: "This is my important document."

Returns verification status: hash validity, signature validity, revocation status.

Create Prompt Receipt

Tool: vf.prompt_receipt.create
Arguments:
  prompt: "What is the capital of France?"
  response: "The capital of France is Paris."
  model: "claude-3"
  register_divt: true

Score Answer Confidence

Tool: vf.score.full
Arguments:
  query: "What are the side effects of aspirin?"
  answer: "Common side effects include stomach upset and heartburn."
  evidence:
    - text: "Aspirin may cause stomach irritation, heartburn, and nausea."
      similarity: 0.92

Log Agent Action

Tool: vf.agent_action.log
Arguments:
  action: "approve_refund"
  actor: "support-agent-1"
  params:
    order_id: "ORD-123"
    amount: 49.99
  register_divt: true

Environment Variables

| Variable | Description | Required | |----------|-------------|----------| | VF_API_KEY | Your VectorForge API key | Yes | | VF_API_BASE_URL | API URL (e.g., https://api.vectorforge.ai) | Yes |

Integration Examples

LangChain

import { MCPTool } from '@langchain/community/tools/mcp';

const vfTool = new MCPTool({
  serverCommand: 'npx',
  serverArgs: ['@vectorforge-ai/mcp-server'],
  toolName: 'vf.register',
  env: {
    VF_API_KEY: process.env.VF_API_KEY,
    VF_API_BASE_URL: process.env.VF_API_BASE_URL,
  }
});

Direct MCP Client

import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';

const transport = new StdioClientTransport({
  command: 'npx',
  args: ['@vectorforge-ai/mcp-server'],
  env: {
    VF_API_KEY: 'vf_prod_...',
    VF_API_BASE_URL: 'https://api.vectorforge.ai',
  }
});

const client = new Client(
  { name: 'my-app', version: '1.0.0' },
  { capabilities: {} }
);

await client.connect(transport);

const tools = await client.listTools();
const result = await client.callTool('vf.register', {
  object_id: 'test-123',
  data_type: 'test_v1',
  hash_mode: 'content',
  content: 'Test content',
});

Use Cases

AI Audit Trail

Record every AI interaction with cryptographic proof:

User prompt -> vf.prompt_receipt.create -> Immutable record with DIVT

RAG Provenance

Track which knowledge base version produced each answer:

Index build -> vf.rag_snapshot.create -> Sealed corpus version
Query -> vf.score.full -> Confidence with evidence links

Agent Accountability

Log every automated action for compliance:

Agent decision -> vf.agent_action.log -> Tamper-evident audit trail

Architecture

+-------------------+     +------------------------+     +-------------------+
|  Claude Desktop   |---->|  VectorForge MCP       |---->|  VectorForge      |
|  (or LangChain)   |     |  Server (local)        |     |  API (remote)     |
+-------------------+     +------------------------+     +-------------------+
       User                npm package (free)              Your API calls

The MCP server runs locally on your machine and makes API calls to VectorForge's cloud service. Content is sent to the API for server-side canonicalization, hashing, and signing.

Development

git clone https://github.com/VectorForgeAI/API.git
cd API/mcp
npm install
npm run build
node dist/index.js

Related

License

MIT