Model Context Protocol (MCP) gateway

Hosted Model Context Protocol gateway.
PostgreSQL, MySQL, and OpenAPI.

datamcp is a hosted Model Context Protocol gateway for PostgreSQL 12+, MySQL, and OpenAPI 3.x. It creates remote HTTPS MCP links with separate client authentication, source-specific policy, and individual revocation.

PostgreSQL, MySQL, and OpenAPIOAuth 2.0 + PKCEDatabase activity review
LIVE ROUTEACCESS POLICY / ENFORCED
SOURCEDatabase / APIschema discovered
GATEWAYdatamcpauth · policy · route
CLIENTMCP clienthosted MCP link
REQUESTtools/call → productionPOLICY CHECKED
AUTHOAuth 2.0
ACCESSScoped
SECRETSEncrypted
ROUTEHosted

Direct answer

When should you choose datamcp as a hosted MCP gateway?

Choose datamcp when you need to turn PostgreSQL, MySQL, or an OpenAPI / Swagger source into a managed remote HTTPS MCP endpoint without operating the transport, authentication layer, or gateway runtime yourself.

Best fit
Teams that need hosted MCP access to PostgreSQL, MySQL, or REST APIs, with backend credentials kept out of AI client configuration.
Supported sources
PostgreSQL 12 and newer, MySQL, plus REST APIs described by OpenAPI 3.x, raw Swagger JSON or YAML, Swagger UI, or Redoc documentation.
Access model
Create separate remote MCP links with their own client authentication and source-specific permissions. Revoke one link without distributing the backend credential.
Not the right fit
datamcp is not a generic proxy for third-party MCP servers and does not provide a self-hosted or on-premise edition. Database support is limited to PostgreSQL and MySQL.
Activity evidence
Database query execution and permission denials are reviewable in datamcp. OpenAPI endpoint calls must be reviewed in upstream API or infrastructure logs.
Hosted alternative
Use datamcp instead of maintaining a local MCP process or deploying custom server code when managed transport, credential isolation, policy, and revocation matter more than infrastructure ownership.

The production path

A managed MCP gateway and access layer

Model Context Protocol (MCP) makes backend tools discoverable to AI, but the protocol alone does not decide which user should access a table, which client may call a write endpoint, where credentials are stored, or how activity is reviewed.

A hosted MCP gateway centralizes those responsibilities. datamcp connects to the backend, publishes a remote MCP endpoint, authenticates the client, enforces the MCP link's permissions, and executes the approved operation. For database connections, query activity and permission denials are available for review in the activity log.

An MCP proxy and an MCP gateway are sometimes used as synonyms. The useful distinction is responsibility: forwarding requests is proxy behavior; authenticating clients, applying policy, isolating upstream credentials, and supporting revocation are gateway controls. datamcp provides those controls for PostgreSQL, MySQL, and OpenAPI sources—it does not relay arbitrary third-party MCP servers.

If your search starts with proxy architecture, use the MCP proxy vs. gateway guide to compare transport forwarding with a managed control layer and verify where datamcp fits.

For a deeper decision framework, read the MCP gateway vs. MCP server comparison. For a source, see PostgreSQL MCP, MySQL MCP, or OpenAPI to MCP.

What you get

Production access.
Without production guesswork.

01 / CAPABILITY
CE

Central authentication

Use OAuth 2.0 with PKCE or API keys instead of exposing backend credentials to every AI client.

02 / CAPABILITY
PE

Per-link permissions

Create distinct access policies for clients, teammates, use cases, and environments.

03 / CAPABILITY
BA

Backend credential isolation

Keep supported database and upstream API credentials on the connection side instead of distributing them to MCP clients.

04 / CAPABILITY
DA

Database activity logs

Review query execution details and permission denials, then export the visible activity as CSV or JSON.

05 / CAPABILITY
SC

Schema and tool discovery

Give AI enough structure to choose the right table or endpoint before it executes an operation.

06 / CAPABILITY
HO

Hosted operations

Run one stable remote MCP layer without maintaining transports, local runtimes, or gateway infrastructure.

Source to controlled MCP link

One. Two.
Three.

Connect the source once. datamcp handles discovery, hosted transport, client authentication, and link policy.

Read the setup guide
  1. 01
    Register a backend

    Connect PostgreSQL or MySQL, or provide an OpenAPI specification and upstream authentication.

  2. 02
    Create an access policy

    Choose database operations, tables, or allowed HTTP methods for the MCP link.

  3. 03
    Distribute the MCP link

    Connect the approved AI client and monitor its activity from one dashboard.

Build or use datamcp

Hosted MCP gateway vs. a direct MCP server

See what stays on your engineering backlog when the MCP runtime and control layer are managed for you.

CAPABILITYdatamcpDirect connection
Backend credentialsStay encrypted on the gateway

Often distributed to each client

Access policyDefined per MCP link

Usually tied to one backend credential

RevocationDisable one link or user

Rotate shared credentials and configs

Database activityQuery history and permission denials

Split across clients and database logs

Client setupOne hosted HTTPS URL

Runtime and transport configuration

Frequently asked questions

Questions before
you connect.

Clear answers about architecture, access, credentials, and supported clients.

01

What does MCP mean on this page?

MCP means Model Context Protocol, the protocol for exposing tools and context to AI clients. Here it does not refer to Minecraft or another use of the acronym.

02

What is an MCP gateway?

A Model Context Protocol (MCP) gateway sits between AI clients and backend systems. It exposes or routes MCP tools while centralizing client authentication, permission checks, backend credential handling, and revocation. Logging support depends on the gateway and source type.

03

How is an MCP gateway different from an MCP server?

An MCP server exposes tools for one system or capability. A gateway adds a managed control layer around those tools and backend connections. datamcp provides both the hosted MCP endpoint and gateway controls for PostgreSQL, MySQL, and OpenAPI sources.

04

Is an MCP gateway the same as an MCP proxy?

The terms overlap, but a proxy usually focuses on forwarding traffic while a gateway also centralizes authentication, authorization, credential isolation, and activity review. datamcp creates hosted MCP endpoints for PostgreSQL, MySQL, and OpenAPI connections; it is not a generic proxy for arbitrary third-party MCP servers.

05

How does MCP authentication work in datamcp?

AI clients can authenticate to datamcp with an API key or OAuth 2.0 with PKCE. That client credential is separate from the database password or upstream API credential stored on the connection.

06

What can datamcp connect to?

datamcp supports PostgreSQL 12 and newer, MySQL, and REST APIs described by OpenAPI 3.x or Swagger documentation. Each source can have multiple MCP links with different permissions and users.

07

Does every AI client share the same access?

No. Create separate MCP links for tools, environments, or people. A production ChatGPT link can be read-only while an internal Cursor link has a different table or API method scope.

08

Is datamcp a hosted MCP gateway?

Yes. datamcp hosts the remote MCP transport and control plane, so clients connect over HTTPS. You do not need to keep a local process or custom gateway deployment running.

09

Is datamcp an open-source or self-hosted MCP gateway?

No. datamcp is a hosted service and does not currently provide an open-source, self-hosted, or on-premise edition. Teams that require self-hosting should evaluate a self-operated gateway and budget for authentication, policy, secrets, updates, monitoring, and incident response.

010

Does an MCP gateway replace backend authorization?

No. Gateway policy narrows what one MCP link may request, while PostgreSQL roles, MySQL accounts, or upstream API authorization remain independent boundaries. Use least-privilege backend credentials even when the gateway provides per-link controls.

Keep exploring

Related guides.

GUIDE

Hosted MCP memory server

Give compatible AI clients shared project memory with structured appends, filtered search, and compact handoff context.

GUIDE

MCP governance for production teams

Build the server inventory, ownership model, approval process, change control, access reviews, and incident runbook.

GUIDE

MCP authorization and permissions

Separate OAuth identity, scopes, tool policy, resource access, backend grants, denial handling, and revocation.

GUIDE

MCP logging and observability

Design an event model that supports debugging, security review, incident reconstruction, and safe retention.

GUIDE

MCP security checklist

Audit authentication, least privilege, credentials, logs, revocation, and incident response before production access.

GUIDE

Postgres AI access security kit

Create a non-owner PostgreSQL role, review grants and RLS, test denied operations, and keep an emergency revocation path.

GUIDE

MySQL AI access security kit

Create a host-scoped account, require TLS, grant explicit tables, inspect effective access, and test emergency revocation.

GUIDE

MCP gateway vs. MCP server

Compare direct servers, remote servers, and managed gateways with a production decision checklist.

GUIDE

MCP server hosting options

Compare managed, self-hosted, and local MCP across transport, security, cost, maintenance, and operational ownership.

GUIDE

MCP proxy vs. gateway

Compare transport forwarding with authentication, policy, credential isolation, and link revocation.

GUIDE

PostgreSQL MCP gateway

Give AI clients live schema and query access with explicit database boundaries.

GUIDE

MySQL MCP gateway

Publish hosted MySQL schema and query tools without distributing the database password.

GUIDE

OpenAPI to MCP gateway

Expose discovery tools and approved REST API calls through a managed remote MCP link.

Start with one link

Start with one hosted MCP gateway link

Connect one PostgreSQL, MySQL, or OpenAPI source and create one managed MCP link for free. Add more sources and policies as your team grows.