Complete AI Training

MCP server · Analytics

Heimdall MCP proxy

by enmanuelmag

Watch and control what your AI does through MCP servers, with timing, logs, and simple allow or deny rules.

Flow diagram: you ask your AI “Why did my last request take so long?”, the Heimdall MCP proxy keeps repeating: your AI asks to do something, heimdall checks your rules, the real tool does the work, heimdall times and saves it, and you get back A record of every request.

Heimdall is a small helper that sits between your AI assistant and the other MCP servers you use. It watches every request and reply, times how long each one takes, and can block actions you don't want. It is handy if you want to see what your AI is actually doing or keep it away from certain files and tools.

What is an MCP server? The 30-second version

On its own, your AI can only chat. An MCP server is a small helper program that gives your AI a new skill or a connection to an app or service. Heimdall is a special helper that sits in front of your other MCP servers, like a security camera and a door guard for the messages going back and forth. You keep using your AI the same way, and Heimdall quietly records what happened and checks the rules you set.

What this MCP server does

You ask your AI to do something, like read a file or run a database query. Your AI sends that request to Heimdall instead of straight to the real MCP server. Heimdall checks your rules, then passes the request along to the real server, which does the work and sends back a reply. Heimdall times the whole trip, saves a record of it in a database, and hands the reply back to your AI. If a rule says no, Heimdall stops the request and tells your AI it was blocked.

Flow diagram: you ask your AI “Why did my last request take so long?”, the Heimdall MCP proxy keeps repeating: your AI asks to do something, heimdall checks your rules, the real tool does the work, heimdall times and saves it, and you get back A record of every request. Click to zoom

What you can do with it

  • See how long each AI request takes and where time is spent
  • Keep a log of every request and reply in a database
  • Allow or block specific tools for each MCP server
  • Block file paths or arguments that match patterns you choose
  • Prevent two AI sessions from writing the same file at once
  • Send timing records to Jaeger so you can view them as traces
  • Test rules in warning-only mode before turning them on

Try asking your AI

  • “Show me the slowest MCP calls from the last hour”
  • “Block the filesystem server from writing or deleting any files”
  • “Why did my last request take so long”
  • “Only allow the database server to run read queries, not drop or truncate”

What it gives back to you

Heimdall mostly works behind the scenes, so your chat looks normal. It saves a record of each request and reply, including timing and the input and output, in a database you can look at later. If you turn on Jaeger, you can open a web page and see each call as a trace with its duration. When a request is blocked, your AI gets a short error message saying it was not allowed.

Before you start

What you need

  • Node.js 18 or newer
  • The command to start the MCP server you want to wrap
  • Optional: a PostgreSQL or MySQL database if you want shared storage
  • Optional: a Jaeger setup if you want to view traces in a web UI

Good to know

It can block or change how your AI talks to other MCP servers, and it records the full contents of requests and replies in a database, so keep that database somewhere private.

Install it with your AI

Add Heimdall MCP proxy to your AI, no technical skills needed

You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.

Sign in to get the install prompt

Members get a ready-made prompt that lets the Claude desktop app check Heimdall MCP proxy, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,066 MCP servers here for you.

Sign in Become a member

Who it's for

People who use several MCP servers with their AI and want to see what is happening or set simple safety rules, especially in teams.