Skip to main content

One-decorator MCP middleware for the VerditNxtGen cryptographic ledger

Project description

verditnxtgen-mcp

One-decorator Python middleware for the VerditNxtGen cryptographic ledger.

Silently intercepts every MCP tool call, signs the payload with HMAC-SHA256, and posts telemetry asynchronously to the VerditNxtGen ledger — zero latency added to agent execution.

Install

pip install verditnxtgen-mcp

Usage

from mcp.server.fastmcp import FastMCP
from verditnxtgen_mcp import verdit_ledger

mcp = FastMCP("my-server")

@mcp.tool()
@verdit_ledger(api_key="YOUR_VERDIT_API_KEY")
async def my_tool(query: str) -> str:
    return query

Or wrap all tools at once:

from verditnxtgen_mcp import wrap_server
wrap_server(mcp, api_key="YOUR_VERDIT_API_KEY")

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verditnxtgen_mcp-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verditnxtgen_mcp-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file verditnxtgen_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: verditnxtgen_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for verditnxtgen_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 74d3606bf8246e36def7ba6cd5b0d9b1cf7d8b5f9ffee6248e97c6ea147b55d7
MD5 613645d584aaf2eb2fc7cd73d3472426
BLAKE2b-256 590fb7dfa71273fa6eb145c113fe348136449c4574335098930264c692ff2189

See more details on using hashes here.

File details

Details for the file verditnxtgen_mcp-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for verditnxtgen_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50c32ec66d5e457dc2c65d616f83a550c95376c5e9bd17762fd2d18725c86ae5
MD5 af8c3a75f5bcdc9e52212f4f27225478
BLAKE2b-256 2284c21d13253a11804dbaef9d0808904a6d7741b3fcd1001f8a0e35270c17bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page