Piqrypt Mcp Server
About
Cryptographic audit trail for AI agents via Model Context Protocol. Every AI decision signed Ed25519, hash-chained, tamper-proof. AISS-1.0 compliant. Post-quantum ready. Compliance-ready for SEC, FINRA, GDPR, HIPAA.
Details
- Author
- PiQrypt
- Downloads
- 297
- Categories
- Other, Security, AI
Jump to
- Post-quantum cryptographic audit trail for AI decisions.
- Four core operations: stamp, verify, export, search.
- Process isolation: crypto handled in a separate Python subprocess.
- Compatible with any MCP-compliant client (Claude, n8n, Cursor, VS Code).
- Local SQLite indexing for fast event search.
- Compliant with AISS-1.1 and RFC 8785 canonical JSON.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Piqrypt Mcp ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via npx @piqrypt/mcp-server (recommended), npm install -g @piqrypt/mcp-server, or build from source. Configure the server in your MCP client (e.g., Claude Desktop or n8n) using the stdio transport, then invoke tools such as piqrypt_stamp_event, piqrypt_verify_chain, piqrypt_export_audit, and piqrypt_search_events.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"piqrypt mcp server": {
"piqrypt": {
"command": "piqrypt-mcp-server",
"args": []
}
}
}
}
McpServers
{
"piqrypt": {
"command": "piqrypt-mcp-server",
"args": []
}
}
PiQrypt MCP Server
<!-- mcp-name: io.github.PiQrypt/audit-trail -->Cryptographic Audit Trail for AI Agents via Model Context Protocol
🚀 What is PiQrypt MCP?
PiQrypt MCP Server provides Model Context Protocol access to PiQrypt — the post-quantum cryptographic audit trail for AI agents.
Use cases:
- 🤖 AI Agents: Sign every decision with cryptographic proof
- 📊 n8n Workflows: Add audit trail to automation workflows
- 🏦 Trading Bots: SEC/FINRA compliance for automated trading
- 👥 HR Automation: GDPR-compliant AI hiring decisions
- 🏥 Healthcare AI: HIPAA audit trail for medical decisions
---
📦 Installation
Prerequisites
- Node.js 18+ - Python 3.8+ - PiQrypt Core (pip install piqrypt)
Install via npx (recommended)
npx @piqrypt/mcp-server
No build step required.
Install globally
npm install -g @piqrypt/mcp-server
Build from source
git clone https://github.com/piqrypt/piqrypt-mcp-server
cd piqrypt-mcp-server
npm install
npm run build
---
⚙️ Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"piqrypt": {
"command": "piqrypt-mcp-server",
"args": []
}
}
}
n8n (v1.88+)
1. Install n8n MCP integration
2. Add PiQrypt MCP server to configuration
3. Use in workflows via MCP node
---
Compatible with
MCP clients
| Client | Version | Notes | |--------|---------|-------| | Any MCP-compatible client | MCP spec 2024-11+ | stdio transport | | n8n | 1.88+ | via MCP node | | Cursor | any | add to mcp settings | | VS Code | any | add to mcp settings | | Continue | any | add to mcp settings | | Windsurf | any | add to mcp settings |Automation platforms (via MCP node)
| Platform | Integration | Use case | |----------|-------------|----------| | n8n | MCP node (native) | No-code audit trail | | Make.com | HTTP module | Webhook-triggered stamping | | Zapier | Webhooks + HTTP | Basic event recording |What you can audit with PiQrypt MCP
Every tool call goes through the same 4 operations —
stamp, verify, export, search. Here is what that means
in practice depending on your context:
Automated trading / finance
Any agent that submits orders, rebalances portfolios,
or triggers transactions can stamp each decision before
execution. The signed chain is exportable for SEC/FINRA
audit without any additional infrastructure.
HR and hiring automation
Any workflow that evaluates candidates, scores CVs,
or routes applicants can stamp each decision. Provides
a GDPR Art.22 compliant audit trail for AI-assisted
hiring — who decided what, when, and what data was used
(hashed, never stored raw).
Content and publishing pipelines
Any agent that drafts, approves, or publishes content
can stamp each step. Useful when multiple AI agents
collaborate and you need to prove attribution —
which agent wrote what, in what order.
DevOps and CI/CD
Any agent that triggers deployments, merges branches,
or rotates secrets can stamp each action. Provides a
tamper-evident record of infrastructure changes made
by autonomous agents.
Healthcare and medical AI
Any diagnostic or triage agent can stamp each
recommendation. Provides a HIPAA-compliant audit trail
linking each AI output to a verifiable agent identity.
The common pattern in all cases:
[Agent makes decision]
↓
piqrypt_stamp_event ← sign + chain
↓
[Agent executes action]
↓
piqrypt_export_audit ← portable proof, verifiable
without PiQrypt installed
---
🛠️ Available Tools
1. piqrypt_stamp_event
Sign an AI decision with cryptographic proof.
Parameters:
- agent_id (string, required): Agent identifier
- payload (object, required): Decision data
- previous_hash (string, optional): Previous event hash for chaining
Example:
const event = await mcp.call('piqrypt_stamp_event', {
agent_id: 'trading_bot_v1',
payload: {
action: 'buy',
symbol: 'AAPL',
quantity: 100,
price: 150.25
}
});
Returns:
{
"version": "AISS-1.0",
"agent_id": "trading_bot_v1",
"timestamp": 1739382400,
"nonce": "uuid-...",
"payload": { ... },
"previous_hash": "sha256:...",
"signature": "base64:..."
}
---
2. piqrypt_verify_chain
Verify integrity of event chain.
Parameters:
- events (array, required): Events to verify
Example:
const result = await mcp.call('piqrypt_verify_chain', {
events: [event1, event2, event3]
});
Returns:
{
"valid": true,
"events_count": 3,
"chain_hash": "sha256:...",
"errors": []
}
---
3. piqrypt_export_audit
Export audit trail for compliance.
Parameters:
- agent_id (string, required): Agent to export
- certified (boolean): Request PiQrypt certification
- output_format (string): json or pqz
Example:
const audit = await mcp.call('piqrypt_export_audit', {
agent_id: 'trading_bot_v1',
certified: true,
output_format: 'json'
});
---
4. piqrypt_search_events
Fast search via SQLite index.
Parameters:
- event_type (string, optional): Filter by type
- from_timestamp (number, optional): Start time
- to_timestamp (number, optional): End time
- limit (number): Max results (default: 100)
Example:
const trades = await mcp.call('piqrypt_search_events', {
event_type: 'trade_executed',
from_timestamp: 1739300000,
limit: 50
});
---
📊 Visualize your audit trail (free)
Every stamped event is visible in Vigil —
PiQrypt's local monitoring dashboard.
```bash
pip install piqrypt
piqrypt start --tier free
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




