{"_id":"@digital-mineral/mcp-bridge","name":"@digital-mineral/mcp-bridge","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"name":"@digital-mineral/mcp-bridge","version":"2.0.0","description":"Legacy API to Model Context Protocol (MCP) translation layer","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"vitest run","typecheck":"tsc --noEmit"},"devDependencies":{"@types/node":"^25.9.5","typescript":"^5.9.3","vitest":"^4.1.11"},"gitHead":"8fbf09d1bed98547793b3dd76b95464629a5e5c2","_id":"@digital-mineral/mcp-bridge@2.0.0","_nodeVersion":"26.4.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-H627TBTSi58IFAy3aCQ1kPpUf7AgtaepfHSa2SDS7whWLBTgp/+zoJhhjxwE3G1iSE8TXCfv4Yh5gkSGr7SjHA==","shasum":"f3fce36eab43ac3b9797840eaf879cf0bc36d974","tarball":"https://registry.npmjs.org/@digital-mineral/mcp-bridge/-/mcp-bridge-2.0.0.tgz","fileCount":23,"unpackedSize":32177,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDpzhpaGtEu3dn3ZhEq+lmmxICu+zmHM+p8FbFaJ5CE5AIgd0hn4GkBOD0B3PPMtZNqM51iV7WfAOGiQLIsBkPyg5g="}]},"_npmUser":{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"},"directories":{},"maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-bridge_2.0.0_1787850543359_0.1066832134842699"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-27T17:09:03.196Z","2.0.0":"2026-08-27T17:09:03.498Z","modified":"2026-08-27T17:09:03.757Z"},"maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"description":"Legacy API to Model Context Protocol (MCP) translation layer","readme":"# @digital-mineral/mcp-bridge 🛡️\n\n**Enterprise MCP Gateway for Legacy Systems.**\n\n## What MCP Bridge Is\nA secure, zero-trust perimeter that safely exposes legacy REST, SOAP, and HTTP systems to autonomous AI agents utilizing the Model Context Protocol (MCP). \n\n## Why It Exists\nAutonomous coding agents cannot be blindly trusted with internal network access or raw API credentials. This bridge acts as an isolation layer, translating agent intents into strict, policy-driven legacy requests.\n\n## Security Model\n- **Zero-Trust Network:** Employs Node's native DNS resolution to block SSRF, DNS rebinding, and 301-redirect attacks aimed at `localhost`, private subnets, or cloud metadata endpoints.\n- **Credential Isolation:** The AI agent **never** receives auth tokens. The Gateway maps `credentialRef` pointers to a secure backend provider before appending headers.\n- **Agent Escrow Integration:** Mutating endpoints (POST/PUT/DELETE) automatically halt execution and trigger `ExternalAuthorizationProvider` interfaces for human-in-the-loop approval.\n- **Strict Output Constraints:** Implements a hard 2MB payload ceiling to prevent memory exhaustion on edge nodes.\n\n## Multi-Tenancy & Audit\nFull RBAC and tenant isolation are enforced at the request level. All operations produce structured, secret-scrubbed audit logs including execution latency and authorization decisions.\n\n## Installation\nnpm install @digital-mineral/mcp-bridge\n","readmeFilename":"README.md","_rev":"1-97b5256b4816cf9079f094df933c4c60"}