logicnodes-mcp-bridge

v1.0.5
io.github.cmdenney/logicnodes-mcp-bridge Checked 1 day ago Published 5 months ago

Signed PII-Shield: redact PII to an EIP-191 attestation, plus x402 pay-per-call agent tools.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

logicnodes_pii_shield

FLAGSHIP. Redact PII from text and get an EIP-191-signed attestation binding input_sha256 -> output_sha256 (prove WHAT was redacted without ever seeing the raw PII). Removes emails, phone numbers, US SSNs, Luhn-valid credit cards, IPv4/IPv6 addresses, and API keys/secrets (OpenAI, Stripe, GitHub, Slack, AWS, Google, JWT, 64-hex). Raw PII is NEVER returned or stored. $0.05 USDC per call via x402: pay USDC to the treasury shown in the 402 challenge, then retry with the X-Payment-Tx header. Verify the signature with EIP-191 ecrecover against signer 0x0D12B2B82e4aE84A15a032C31C6A8a23520Ecde7.

ParameterTypeDescription
text *stringthe text to scan and redact PII from

logicnodes_gas_oracle

Real-time Base mainnet gas price oracle. Returns current base fee, priority fee, and EIP-1559 deviation from 7-day average. Cost: $0.0001 USDC per call.

ParameterTypeDescription
percentilenumberFee percentile (50, 75, 95, 99)

logicnodes_sig_verify

Cryptographic signature verification on Base. Verifies EIP-712 typed data signatures and returns signer address with on-chain proof. Cost: $0.0001 USDC per call.

ParameterTypeDescription
message *string
signature *string
expected_signerstringOptional expected signer address

logicnodes_peg_monitor

USDC peg stability monitor. Returns current USDC/USD deviation, Circle reserve attestation status, and depeg risk score. Cost: $0.0001 USDC per call.

ParameterTypeDescription
threshold_bpsnumberAlert threshold in basis points

logicnodes_escrow_verifier

On-chain escrow state verifier. Checks LogicNodesEscrow contract for active escrow, balance, and release conditions. Cost: $0.001 USDC per call.

ParameterTypeDescription
escrow_id *stringEscrow ID or transaction hash
party_addressstringAddress to check escrow for

logicnodes_identity_register

Register an agent identity on Base mainnet via AgentIdentityRoot. Returns on-chain identity hash and registration transaction. Cost: $0.01 USDC per registration.

ParameterTypeDescription
agent_address *stringAgent wallet address
capabilities *arrayList of agent capability strings
metadata_uristringIPFS or HTTPS URI for agent metadata

logicnodes_inference_attest

Attest an AI inference result on-chain via InferenceAttestationNetwork. Produces a signed POL receipt verifiable by any chain participant. Cost: $0.001 USDC per attestation.

ParameterTypeDescription
input_hash *stringkeccak256 of inference input
model_id *string
output_hash *stringkeccak256 of inference output
confidencenumberModel confidence 0-1

logicnodes_compliance_sentry

Autonomous regulatory attestation for agent transactions. Checks action against MiCA, EU AI Act, and US EO compliance rules. Returns attestation hash and compliance score. Cost: $0.01 USDC per check.

ParameterTypeDescription
action_type *stringType of agent action (transfer, inference, governance, trade)
amount_usdnumberTransaction value in USD if applicable
jurisdictionstringRegulatory jurisdiction (EU, US, GLOBAL)

logicnodes_zk_compute_attest

Zero-knowledge compute attestation. Proves a computation was performed correctly without revealing inputs. Returns ZK proof hash anchored to Base via LogicNodesGraphCommitment. Cost: $0.05 USDC per proof.

ParameterTypeDescription
circuit_id *stringZK circuit identifier
computation_hash *stringHash of the computation to attest
public_inputsarray