Skip to main content
Glama
taiyofujiwara

Agent Data Gateway

Agent Data Gateway (ADG)

Open-core middleware that gives AI agents secure, auditable access to production data. Converts existing APIs/DBs into MCP tools with credential hiding, data scoping, and immutable audit logs.

Architecture (M1)

┌─────────────┐     ┌──────────────────────────────────┐     ┌──────────────┐
│   Agent     │────▶│      ADG Proxy (Fastify)          │────▶│  Backend     │
│ (no creds)  │     │  ┌────────────┐  ┌─────────────┐  │     │  API / DB    │
│             │     │  │ Interceptor │──│ Credential   │  │     │              │
└─────────────┘     │  │ inject creds│  │ Store (mem) │  │     └──────────────┘
                    │  └────────────┘  └─────────────┘  │
                    │  ┌────────────┐                    │
                    │  │  Audit Log  │                    │
                    │  └────────────┘                    │
                    └──────────────────────────────────┘

Related MCP server: heddle

Quick Start

# Install
npm install

# Build
npm run build

# Configure
cp examples/config.yaml config.yaml
# Edit config.yaml with your sources

# Run
npm start        # production
npm run dev      # development with hot reload

API Endpoints

POST /proxy

Agent sends a request referencing a source by name. Proxy injects credentials server-side.

{
  "source": "stripe-api",
  "url": "https://api.stripe.com/v1/charges",
  "method": "GET"
}

GET /health

Health check — returns status and source count.

GET /sources

Lists known source names (no credentials).

Security

  • Credentials stored in-memory only, never persisted to disk after boot

  • All credential fields redacted from logs, error messages, and responses

  • CredentialNotFoundError leaks only the source name, never credential values

  • Credential store is immutable after initialization

Project Structure

├── src/
│   ├── index.ts               # Entry point & Fastify server
│   ├── config/
│   │   ├── loader.ts          # YAML config loader
│   │   └── schema.ts          # Zod schema & types
│   ├── credentials/
│   │   ├── store.ts           # In-memory credential store
│   │   ├── types.ts           # Credential types
│   │   └── redact.ts          # Credential redaction utilities
│   ├── proxy/
│   │   └── interceptor.ts     # Credential injection middleware
│   └── audit/
│       └── logger.ts          # Immutable audit logger
├── tests/
│   ├── credentials/
│   │   ├── redact.test.ts
│   │   └── store.test.ts
│   └── proxy/
│       └── interceptor.test.ts
├── examples/
│   └── config.yaml
├── docker-compose.yml
└── package.json
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    Enables secure, zero-trust access to MCP tools through short-lived, signed capability leases that bind tool execution to specific sessions, intents, and constraints. Prevents prompt injection attacks and privilege escalation with dynamic risk scoring, policy enforcement, and tamper-evident audit logging.
    4
    1
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Enables users to define and run MCP tools using declarative YAML configs with built-in trust enforcement, credential brokering, and tamper-evident audit logging.
    14
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Turns any web API into a governed, agent-ready MCP server with lockfile-based approval, fail-closed enforcement, and full audit trail.
    MIT

View all related MCP servers

Related MCP Connectors

  • Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.

  • A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready

  • Crypto transaction firewall and risk tools for MCP agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taiyofujiwara/agent-data-gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server