api-glue-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
api-glue-mcp
Author: NAHIAN AKHTAR · Senior AI Systems & QA Automation Engineer (New York, NY) · nahianakhtar.github.io
A TypeScript MCP v2 (@modelcontextprotocol/server@2.4.0) stdio server and idempotent webhook/API-glue CLI (api-glue) engineered as a self-hosted replacement for brittle Zapier/Make webhook chains. Built on Node.js 22 native node:sqlite (WAL mode) and zod@4.6.7.
Problem Solved
Idempotent Webhook Ingestion: Stores processed
eventIdkeys and SHA-256 payload digests in embedded SQLite WAL so duplicate webhook deliveries returndeduplicatedwith zero duplicate side effects.Pre-Action Security Checks: Verifies HMAC-SHA256 signatures (
crypto.timingSafeEqual) with±300sreplay protection, blocks SSRF (http://, loopback, RFC 1918,169.254.169.254,::1, embedded credentials) and unallowlisted hosts, and defaults to dry-run unless both--allow-dispatchandapply=trueare set.Retry, Backoff & Dead-Letter Queue: Honors
Retry-Afterheaders on HTTP429/503, applies bounded exponential backoff, opens a circuit breaker after consecutive failures, captures failures in SQLitedlq_events, and supports controlled DLQ replay.Secret-Scrubbed Audit Trail: Appends every verification, dry-run, denial, dispatch, and DLQ event to JSONL (
JsonlAuditLog) while redacting API keys, Bearer tokens, and email addresses.
Related MCP server: genpark-event-driven-webhook-signature-verifier-skill
Architecture & Tools
Surface | Name | Role |
MCP Tool |
| Constant-time HMAC-SHA256 + timestamp skew verification ( |
MCP Tool |
| Schema validation, SSRF/allowlist check, SQLite deduplication, dry-run/dispatch |
MCP Tool |
| Inspect pending Dead-Letter Queue entries ( |
MCP Tool |
| Read last |
CLI |
|
|
30-Second Quickstart
pnpm install --frozen-lockfile
pnpm run typecheck
pnpm run build
pnpm testSample CLI Usage
# 1. Dry-run preview (default safe mode: zero outbound HTTP calls)
node --no-warnings dist/cli.js ingest \
--db ./.api-glue/ledger.sqlite \
--payload ./event.json \
--target https://hooks.example.com/ingest \
--allow-host hooks.example.com
# 2. Start MCP v2 stdio server (clean JSON-RPC stdout; dry-run unless --allow-dispatch)
node --no-warnings dist/cli.js serve \
--db ./.api-glue/ledger.sqlite \
--allow-host hooks.example.comVerified Local Checks
Command | Scope | Verified Result |
| TypeScript |
|
|
| Exits |
| Offline |
|
License
Released under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Guarded webhook inbox and SSRF-safe HTTP/gRPC action gateway for AI agents via remote MCP.
Host any HTTP API as MCP tools with a tamper-evident cross-agent settlement ledger.
Ephemeral webhook inboxes with Stripe, GitHub, Shopify, Slack & Linear HMAC verification/replay.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA webhook management and delivery service with MCP tools for endpoints, deliveries, relay, and incoming webhooks, enabling autonomous agents to send, track, and relay webhooks.MIT
- FlicenseNot gradedqualityBmaintenanceEnables verifying event-driven webhook signatures and providing HMAC replay protection for AI agents and MCP clients.8-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to execute real-world API actions with exactly-once reliability, deduplication, auditing, and human-in-the-loop safeguards via MCP.3-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables secure ingestion and validation of payment webhooks using HMAC-SHA256 signatures, replay tolerance, and atomic idempotency locking to prevent duplicate financial transactions. It provides deterministic ledger integrity and risk auditing for autonomous financial agents and payment rails.MIT