Dmint MCP Proxy
Provides a proxy integration for a downstream SQLite MCP server, allowing policy enforcement on SQLite database operations such as read and delete queries before calls reach the server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dmint MCP Proxywrap my sqlite MCP server, expose read_query, block delete_query"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dmint-mcp
MCP Proxy Server and Tool Enforcement Gateway for Dmint.
dmint-mcp allows developers to wrap existing Model Context Protocol (MCP) servers with deterministic policy enforcement gates. It intercepts agent tools/call requests over stdio, evaluates Dmint security policy, and routes only authorized calls downstream.
┌─────────────────┐
│ AI Client │
└────────┬────────┘
│ stdio (tools/list, tools/call)
▼
┌─────────────────────────────────┐
│ Dmint MCP Proxy │
│ │
│ ┌───────────────────────────┐ │
│ │ Enforcement Gate │ │
│ └─────────────┬─────────────┘ │
└────────────────┼────────────────┘
│ stdio (authorized call only)
▼
┌─────────────────────────────────┐
│ Downstream MCP Server │
└─────────────────────────────────┘Why This Exists
When using external MCP servers that you cannot modify, dmint-mcp acts as an out-of-process security proxy between the AI agent and the MCP server.
Tool Discovery Control: Expose or hide tools dynamically from
tools/listbased on configuration.Pre-Call Interception: Intercepts
tools/call, maps parameters to a DmintToolRequest, and enforcesALLOW,DENY, orAPPROVAL_REQUIRED.Zero Downstream Leakage: Unapproved or denied calls never reach the downstream MCP server process.
Approved Retries: Supports Ed25519-signed retry assertion credentials to execute approved workflows over stdio.
Related MCP server: protect-mcp
Installation
pip install dmint-mcpQuickstart
import anyio
from dmint_mcp import DmintMCPProxy, MCPIntegrationConfig, MCPToolBinding, DiscoveryMode
from dmint.policy import Policy
# 1. Define integration configuration
config = MCPIntegrationConfig(
integration_id="sqlite-server",
command="python3",
args=["-m", "sqlite_server"],
tool_bindings=[
MCPToolBinding(tool_name="read_query", capability="db.read", discovery=DiscoveryMode.EXPOSED),
MCPToolBinding(tool_name="delete_query", capability="db.delete", discovery=DiscoveryMode.HIDDEN),
],
)
# 2. Define policy
policy = Policy.from_mapping({
"rules": [
{"effect": "allow", "tool": "db", "action": "read", "resource": "*"},
{"effect": "deny", "tool": "db", "action": "delete", "resource": "*"},
]
})
# 3. Instantiate and run proxy over stdio
proxy = DmintMCPProxy(integration_config=config, policy=policy)
async def main():
await proxy.serve_stdio()
if __name__ == "__main__":
anyio.run(main)Disclosure Modes
Control error disclosure returned to the AI client on denied or approval-required requests:
DOG(default): Returns structured recovery JSON containingrequest_id,approval_id, andrequest_fingerprint.GOD: Returns minimal opaque error responses (DMT_403: access denied).CAT: Returns structured error codes without revealing internal request fingerprints.
Supported Transports
Stdio (
stdio): Standard input/output process transport for local MCP servers.
Testing
Run the MCP integration and unit test suite:
pytest -vLicense
Licensed under the Apache License, Version 2.0.
See the LICENSE file for the complete license text.
This server cannot be deployed
Maintenance
Related MCP Connectors
Security & DLP proxy for MCP: tool-poisoning scans, PII redaction on tool args/results. Beta.
- gatewayOAuthai.sealgate
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseBqualityCmaintenanceSecurity gateway that wraps any MCP server with per-tool policies, approval gates, and optional Ed25519-signed decision receipts. Shadow mode logs every tool call without blocking; enforce mode applies block, rate-limit, and minimum-tier rules. Receipts are independently verifiable offline with no accounts needed.51,279 npm10MIT
- AlicenseNot gradedqualityAmaintenanceSecurity gateway for MCP servers. Wraps any MCP server with per-tool policies (Cedar + JSON), Ed25519-signed decision receipts, human approval gates, and trust tiers. Shadow mode by default — logs everything, blocks nothing.1,279 npm9MIT
- AlicenseNot gradedqualityAmaintenanceSecurity gateway for MCP tool calls. Sits between your LLM client and MCP servers, enforcing per-tool policies (allow/block/approve/read-only), logging every call, and pausing dangerous operations for human approval in terminal or Slack.4 npm1MIT
- AlicenseNot gradedqualityBmaintenanceSelf-hosted MCP gateway that applies deterministic, compiled policy to tool discovery, invocation, and outbound data flow, with no model in the enforcement path. Every decision emits a hash-chained receipt sealed with Ed25519 and verifiable using public keys only.Apache 2.0