// New in 0.9.5 · Windows, Linux, macOS · free
AI access via MCP: your AI on your servers, no passwords
Claude Code, Claude Desktop, Codex, Cursor, VS Code and other AI tools can use the connections you share in Termax: read files, run commands, adjust configs. Termax opens the connection itself. The AI never sees a password or a key, and you decide per server how far it may go.
Off by default · only on your computer (127.0.0.1) · no account needed
// How it works
Set up in three steps
Termax is a local MCP server (Model Context Protocol, the open standard AI tools use to call external tools). Your AI tool connects to Termax, Termax connects to your servers.
- Open Termax 0.9.5 or later on your computer, go to Settings → AI access (MCP) → Set up AI access… and turn on “Allow AI access”.
- For every connection the AI may use, pick an access level (see below). Everything else stays Off and is invisible to the AI.
- Click the copy button for your tool and paste the setup there (guide per tool below). Done: ask your AI something like “How full is the disk on the web server?”
There are copy buttons for Claude Code, Claude Desktop, Cursor and VS Code. For any other tool, “Key only” copies the access key and you enter the address and header yourself. The address is http://127.0.0.1:47615/mcp; you can change the port in the same window.
// Access per connection
You decide how far the AI goes
| Level | What the AI may do | Confirmation |
|---|---|---|
| Off (default) | Nothing. The connection does not exist for the AI. | – |
| Read only | See the connection, list folders, read files (up to 1 MB) | never |
| Commands, ask first | also run commands and write files | every time, showing the full command |
| Commands without asking | same as above | none |
The tools the AI gets: list_connections, list_directory, read_file, run_command and write_file. Commands run without a terminal (like ssh host command), with a 60-second time limit (the AI can ask for up to 10 minutes). The confirmation is a window from Termax itself with “Decline” as the default. Control and invisible characters in the command are made visible there, so nothing gets slipped past you. “Don't ask again for 10 minutes” applies to that one connection only.
With Commands without asking the AI can do anything on the server that the connection’s user may do. Use it only for test servers or a restricted user.
Every call is written to a local log (connection, command or path, result) that you can see in the same window.
// Guide per tool
Setting up your AI tool
Replace tmx_ai_… with your key from Termax. The copy buttons in Termax fill it in for you. Don't put the key in files you commit to a Git repository.
Claude Code
Run once in a terminal (“Claude Code” button in Termax). Termax is then available in every session; check with /mcp.
claude mcp add --transport http termax http://127.0.0.1:47615/mcp --header "Authorization: Bearer tmx_ai_…"
Claude Desktop
Claude Desktop only starts local servers as programs, so the connection goes through the small mcp-remote bridge. This needs Node.js. In Claude Desktop open Settings → Developer → Edit config, paste the entry into claude_desktop_config.json (“Claude Desktop” button) and restart Claude Desktop.
{
"mcpServers": {
"termax": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://127.0.0.1:47615/mcp", "--header", "Authorization:${TERMAX_AUTH}"],
"env": { "TERMAX_AUTH": "Bearer tmx_ai_…" }
}
}
}
OpenAI Codex (CLI and IDE extension)
Add to ~/.codex/config.toml (Windows: %USERPROFILE%\.codex\config.toml). Copy the key with “Key only” in Termax.
[mcp_servers.termax]
url = "http://127.0.0.1:47615/mcp"
http_headers = { "Authorization" = "Bearer tmx_ai_…" }
Prefer to keep the key out of the file: instead of http_headers, use bearer_token_env_var = "TERMAX_AI_TOKEN" and put the key (without “Bearer”) in the TERMAX_AI_TOKEN environment variable.
Cursor
Paste into ~/.cursor/mcp.json (all projects) or .cursor/mcp.json in a project (“Cursor” button), then check under Settings → MCP that “termax” is green.
{
"mcpServers": {
"termax": {
"url": "http://127.0.0.1:47615/mcp",
"headers": { "Authorization": "Bearer tmx_ai_…" }
}
}
}
VS Code (GitHub Copilot, agent mode)
The “VS Code” button copies the entry for .vscode/mcp.json. For all projects, use MCP: Open User Configuration from the command palette instead. Then pick agent mode in the chat; Termax shows up among the tools.
{
"servers": {
"termax": {
"type": "http",
"url": "http://127.0.0.1:47615/mcp",
"headers": { "Authorization": "Bearer tmx_ai_…" }
}
}
}
Gemini CLI
Add to ~/.gemini/settings.json (or .gemini/settings.json in a project). Use httpUrl, not url.
{
"mcpServers": {
"termax": {
"httpUrl": "http://127.0.0.1:47615/mcp",
"headers": { "Authorization": "Bearer tmx_ai_…" }
}
}
}
Cline
In Cline open MCP Servers → Configure and paste into cline_mcp_settings.json. "type": "streamableHttp" is required.
{
"mcpServers": {
"termax": {
"type": "streamableHttp",
"url": "http://127.0.0.1:47615/mcp",
"headers": { "Authorization": "Bearer tmx_ai_…" }
}
}
}
Zed
Open settings.json with zed: open settings file and add:
{
"context_servers": {
"termax": {
"url": "http://127.0.0.1:47615/mcp",
"headers": { "Authorization": "Bearer tmx_ai_…" }
}
}
}
Other tools
Termax speaks MCP over Streamable HTTP (POST only, JSON responses). Any tool that can add an HTTP MCP server with a custom header works with these two values:
- Address:
http://127.0.0.1:47615/mcp - Header:
Authorization: Bearer tmx_ai_…
If a tool can only start local programs (stdio), use the bridge as for Claude Desktop: npx -y mcp-remote http://127.0.0.1:47615/mcp --header "Authorization:${TERMAX_AUTH}" with the environment variable TERMAX_AUTH="Bearer tmx_ai_…".
Not possible: connectors that run in the cloud, such as claude.ai or ChatGPT connectors in the browser. They cannot reach 127.0.0.1. That is intended: your servers stay reachable only from your own computer.
// Security
What Termax protects
- Off by default. The switch is off and every connection is set to Off. A connection you haven't shared can't be seen or guessed by the AI.
- No secrets for the AI. Termax opens the connection itself, with the same host key check as in the terminal. The AI only gets name, host, port, user and level, plus the output.
- Only your computer. The server listens on
127.0.0.1only, checks the access key in constant time, locks out after many failed attempts and refuses requests from web pages (no CORS, protection against DNS rebinding). A web page in your browser cannot remote-control Termax. - Only this device. Access levels, key and log are never synced. On a second computer everything starts out off again.
- Turning it off is immediate. Switch off or level Off closes open AI connections; “Create new key” disconnects every tool.
- No human, no login. If a login needs input (two-factor code, key passphrase), Termax refuses instead of letting the AI guess.
- SSH only. Telnet and serial connections are never offered to the AI.
Termax itself sends nothing to an AI model. What your AI tool does with the output is up to its provider: only share connections with sensitive data if you would trust that tool with the data anyway.
// FAQ