Catflap
Help centre

How can we help?

Getting started

Pick the guide that matches you. Each takes five minutes or less.

Beginner · 5 min

Your first tunnel with the app

  1. Download the app from the download page and install it.
  2. Open it and press Sign in. Your browser opens once; sign in or create an account.
  3. Choose what to share. Start with the sandbox: it only reaches the folders you pick. Press Start sharing.
  4. The app shows the tunnel's address. In Claude, open Settings → Connectors, add a custom connector and paste it.
  5. Claude opens a Catflap page: check the tunnel's name and press Allow. Done: ask Claude to use the sandbox.
Developer · 3 min

Share an MCP server from the terminal

Get the command line from the download page, then:

Terminal
$ catflap login
$ catflap enter --name weather -- npx -y @mcp/weather

The tunnel is created the first time you use a name. Its address is https://catflap.uni-obuda.hu/s/USER/weather/mcp; your dashboard has the client config for Claude, Cursor, VS Code and others.

Admin · 4 min

Run Catflap on a lab server

  1. Create an API key named after the machine. Copy it: it is shown once.
  2. Store it on the machine, e.g. in /etc/catflap.env as CATFLAP_KEY=cfk_…, readable only by the service user.
  3. Run the server as a service, for example with a systemd unit:
catflap.service
[Service]
EnvironmentFile=/etc/catflap.env
ExecStart=/usr/local/bin/catflap --gateway https://catflap.uni-obuda.hu enter --name lab -- /opt/mcp/server
Restart=always

To switch the machine off, revoke its key on the API keys page: its tunnels go offline at once and can't reconnect.

Connect your AI

Each tunnel's page on your dashboard has the exact steps and the config for your app. In short:

Claude

Settings → Connectors → Add custom connector. Paste the tunnel's address, press Connect, sign in with Catflap and press Allow.

ChatGPT

Add a custom connector (remote MCP server) with the address and OAuth. Your plan may need developer mode switched on.

Cursor and VS Code

Add the address to mcp.json (Cursor) or .vscode/mcp.json (VS Code). They open the sign-in page on first use.

Any other MCP client

Use the tunnel's client token as a header: Authorization: Bearer cft_…. Anyone with the token can use the tunnel, so replace it when in doubt.

Open your tunnels →

What to share

Each tunnel shares one thing. Choose the least your AI needs.

Contained · recommended

A sandbox

A sealed Podman container with only the tools and folders you pick. Ideal for running code from an AI; the app shows you how to set it up.

Command line: catflap enter --name NAME --sandbox

Depends on the server

An MCP server

Any server that speaks MCP, from npm, PyPI or your own code. It can do what that server can do.

Command line: catflap enter --name NAME -- CMD

Full access

This computer

Read and write files and run commands as you. Powerful, for AI you trust and work you watch.

Command line: catflap enter

What the status means

The same words appear in the app, on the website and in the tray.

StatusWhat it meansWhat to do
OnlineYour AI can use it now.Nothing.
ConnectingCatflap is starting what you share and connecting to the gateway.Wait a few seconds. Still connecting after a minute? Check your internet connection.
ReconnectingThe connection dropped. Catflap keeps trying, and your AI waits meanwhile.Wait. Still reconnecting after a minute? Check your internet connection.
OfflineWaiting for your computer: Catflap isn't running there, or sharing was stopped.Open Catflap on that computer and press Start.
FailedWhat you share stopped with an error, such as a missing tool.Open the share in the Catflap app: it says what went wrong and how to fix it.
StoppedYou stopped sharing. The address stays reserved for you.Press Share again to bring it back.
PausedSharing is paused from the tray. The address stays reserved for you.Press Resume to share it again.

Online, but my AI says it can't connect

Open the tunnel on your dashboard and press Test connection. If the test works, remove the connector in your AI app and add it again, then sign in. If you use a client token, check that it is the current one.

Security and privacy

Only you sign in. AI apps connect with your Catflap account (OAuth) and only after you press Allow. You can revoke an app on any tunnel's page.

Tokens and keys are revocable. A client token is a password for one tunnel; replace it to lock old copies out. Revoke an API key and its machine disconnects at once.

Nothing is stored. The gateway passes requests between your AI and your computer. It keeps a short list of recent calls (tool names and timings) so you can see what happened, not their content.

You stay in control. Stop sharing in the app, or quit it, and the tunnel is offline. Deleting a tunnel on the dashboard ends its address and token for good.

Command line reference

Everything the app does, for servers and scripts.

CommandWhat it does
catflap loginSign in through the browser. You stay signed in.
catflap login --deviceSign in with a code you confirm on another device, on a machine without a browser.
catflap enter --name NAME -- CMDShare any MCP server under a tunnel name.
catflap enter --name NAME --sandboxShare the Podman sandbox (set it up in the app).
catflap enterShare this computer's files and shell (fs_list, fs_read, fs_write, shell_exec).
catflap --gateway URL …Use another gateway than the one you signed in to, e.g. https://catflap.uni-obuda.hu.
catflap whoamiShow who is signed in.
catflap logoutSign out and forget the stored login.
CATFLAP_KEY=cfk_…Use an API key instead of a login (unattended machines).

Glossary

Tunnel
A private address, like …/s/anna/zotero/mcp, that leads from your AI app to something on your computer.
MCP
Model Context Protocol: the common plug that lets AI apps use tools, such as reading files or querying a database.
MCP server
A small program that offers tools to AI apps. Many are published on npm and PyPI.
Sandbox
A sealed container (Podman) with only the tools and folders you choose. The safest thing to share.
Client token
A password for one tunnel, for apps that can't sign in. Starts with cft_. Replace it to lock old copies out.
API key
Lets an unattended machine share tunnels for you. Starts with cfk_. One per machine.
Gateway
The Catflap server that joins your AI app and your computer, like this one. It never stores your files. Anyone can run one: Catflap is open source.
Custom connector
What Claude and ChatGPT call an MCP server you add by address. You sign in to Catflap to allow it.

Contact

Still stuck? Write to the team running this server. Say what you tried and add the diagnostics from the app's Help menu, so we can help faster. Found a bug in Catflap itself? Report it to the open-source project.