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.0.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.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: verditnxtgen_mcp-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e3cd78b4e01e53b96abe0d24a1cf587335d3318be406e5abaa58a03af56c04e1
MD5 18697fa7e226defb498949ac4732d3f3
BLAKE2b-256 3d4b3e4e917bfcd5c33943ed25a8545850194f2218bba9ad590b4051974c76a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for verditnxtgen_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c029699d59046c0ee5daa24df6d83f910bc4afd8bd92e5df84bfa60b51ddb738
MD5 f8f09b2a1b5c3d3abd0830e687180a06
BLAKE2b-256 09c40bdabbefbe85d1f8254545553e1466bb61923b043ade9760c97e4c1a26d0

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