{"server":"in.termal/termalin-web","count":14,"tools":[{"name":"data_query","title":null,"description":"Run a database query on one of your servers — passwordless. It executes the engine's own client on the host over Termalin's keyless tunnel, using the database's local trust (Postgres peer auth via `sudo -u postgres`, MySQL/MariaDB unix-socket via `sudo mysql`, redis-cli, mongosh, sqlite3) — so no database password is needed or stored anywhere. Read-only by default: only SELECT/SHOW-style statements run unless allowWrites is set (full-access keys only). SQL engines return CSV/TSV with a header. For MongoDB pass a shell expression, e.g. db.products.find({}).limit(20).toArray().","input_schema":{"type":"object","required":["host","query"],"properties":{"host":{"type":"string","description":"Server id from hosts_list"},"query":{"type":"string","description":"The statement / command / expression to run"},"engine":{"enum":["postgres","mysql","mariadb","redis","mongodb","sqlite"],"type":"string","description":"Database engine on that server (default postgres)"},"database":{"type":"string","description":"Database name (for sqlite: the .db file path)"},"username":{"type":"string","description":"SSH login user (defaults to the tunnel's user, else root)"},"allowWrites":{"type":"boolean","description":"Allow a non-read statement (full-access keys only; default false)"},"timeoutSeconds":{"type":"number","description":"Max seconds to wait (default 60). Calls longer than about 90 seconds are usually cut off by the network before they answer — run long jobs in the background instead."}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Query a database","readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"data_schema","title":null,"description":"Describe one table of a database on one of your servers: its columns with type, whether they can be empty, default value and primary key. Call it before writing a query against a table you have not seen. Works for postgres, mysql, mariadb and sqlite.","input_schema":{"type":"object","required":["host","table"],"properties":{"host":{"type":"string","description":"Server id (or exact name) from hosts_list"},"table":{"type":"string","description":"Table name, optionally with its schema (e.g. users or public.users)"},"engine":{"enum":["postgres","mysql","mariadb","sqlite"],"type":"string","description":"Database engine on that server (default postgres)"},"database":{"type":"string","description":"Database name (for sqlite: the .db file path)"},"username":{"type":"string","description":"SSH login user (defaults to the server's user, else root)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Describe a table","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"data_tables","title":null,"description":"List the tables / collections / keys of a database on one of your servers — passwordless, over the same local-client path as data_query.","input_schema":{"type":"object","required":["host"],"properties":{"host":{"type":"string","description":"Server id from hosts_list"},"engine":{"enum":["postgres","mysql","mariadb","redis","mongodb","sqlite"],"type":"string","description":"Database engine on that server (default postgres)"},"database":{"type":"string","description":"Database name (for sqlite: the .db file path)"},"username":{"type":"string","description":"SSH login user (defaults to the tunnel's user, else root)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"List tables","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"generate_password","title":null,"description":"Generate a strong random password — handy when creating a user or setting a password on a server. Returns the password only; nothing is stored.","input_schema":{"type":"object","properties":{"length":{"type":"integer","description":"length (default 20, 8-128)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Generate a password","readOnlyHint":true,"openWorldHint":false,"idempotentHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"hosts_list","title":null,"description":"List the servers reachable through Termalin (your tunnel agents). Returns id, name, whether the server is online, the user commands run as, when it was last seen, its country, and ownerNote — what the owner wrote about that server for you (what it is, what to leave alone); follow it. Use the id (or the exact name) as 'host' in the other tools.","input_schema":{"type":"object","properties":{},"additionalProperties":false},"output_schema":null,"annotations":{"title":"List servers","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"job_list","title":null,"description":"List the recent background jobs on a server (newest first): id, state, start time and the command.","input_schema":{"type":"object","required":["host"],"properties":{"host":{"type":"string","description":"Server id (or exact name) from hosts_list"},"username":{"type":"string","description":"Login user whose jobs to list (defaults to the server's user, else root)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"List background jobs","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"job_start","title":null,"description":"Start a long-running shell command on a server in the background and return a job id right away. Use it for anything that can take more than about a minute — package installs, builds, backups, migrations, large downloads. The job keeps running after this call returns and survives the connection closing; its output goes to a log you read with job_status. The command runs from the login user's home directory.","input_schema":{"type":"object","required":["host","command"],"properties":{"host":{"type":"string","description":"Server id (or exact name) from hosts_list"},"command":{"type":"string","description":"Shell command to run in the background"},"username":{"type":"string","description":"Login user (defaults to the server's user, else root). Use the same one for job_status/job_stop."}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Start a background job","readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"job_status","title":null,"description":"Check a background job started with job_start: whether it is still running or finished (with its exit code), when it started, and the last lines of its output.","input_schema":{"type":"object","required":["host","job"],"properties":{"job":{"type":"string","description":"Job id returned by job_start"},"host":{"type":"string","description":"Server id (or exact name) from hosts_list"},"lines":{"type":"integer","description":"How many last lines of output to return (default 40, at most 500)"},"username":{"type":"string","description":"Login user the job was started as (if one was given to job_start)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Check a background job","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"job_stop","title":null,"description":"Stop a background job started with job_start (asks it to terminate, then forces it after two seconds). Does nothing if the job already finished.","input_schema":{"type":"object","required":["host","job"],"properties":{"job":{"type":"string","description":"Job id returned by job_start"},"host":{"type":"string","description":"Server id (or exact name) from hosts_list"},"username":{"type":"string","description":"Login user the job was started as (if one was given to job_start)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Stop a background job","readOnlyHint":false,"openWorldHint":true,"idempotentHint":true,"destructiveHint":true},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"sftp_list","title":null,"description":"List a directory on one of your servers over SFTP. Returns each entry's name, whether it's a directory, size and modified time. Runs keyless over Termalin's tunnel, like ssh_exec.","input_schema":{"type":"object","required":["host"],"properties":{"host":{"type":"string","description":"Server id from hosts_list"},"path":{"type":"string","description":"Directory to list (default the login home, \".\")"},"username":{"type":"string","description":"Login user (defaults to the tunnel's user, else root)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"List a directory","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"sftp_read","title":null,"description":"Read a text file from one of your servers over SFTP and return its contents. Files over 512 KB or non-text (binary) files are refused — use ssh_exec (e.g. sed/tail) for those.","input_schema":{"type":"object","required":["host","path"],"properties":{"host":{"type":"string","description":"Server id from hosts_list"},"path":{"type":"string","description":"Absolute or home-relative file path"},"username":{"type":"string","description":"Login user (defaults to the tunnel's user, else root)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Read a file","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"sftp_write","title":null,"description":"Create or overwrite a text file on one of your servers over SFTP. 'content' is written as UTF-8. Capped at 512 KB; for binary uploads use a terminal/scp instead.","input_schema":{"type":"object","required":["host","path","content"],"properties":{"host":{"type":"string","description":"Server id from hosts_list"},"path":{"type":"string","description":"Destination file path (created or overwritten)"},"content":{"type":"string","description":"UTF-8 text to write"},"username":{"type":"string","description":"Login user (defaults to the tunnel's user, else root)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Write a file","readOnlyHint":false,"openWorldHint":true,"idempotentHint":true,"destructiveHint":true},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"ssh_exec","title":null,"description":"Run a single shell command on one of your servers and return its combined output and exit code. Runs keyless over Termalin's tunnel — no SSH key, and the server needs no open inbound port. Each call is a fresh shell (cd does not persist — chain with &&). Keep a call under about 90 seconds: for anything longer (installs, builds, backups) use job_start and check on it with job_status.","input_schema":{"type":"object","required":["host","command"],"properties":{"host":{"type":"string","description":"Server id from hosts_list"},"command":{"type":"string","description":"Shell command to execute"},"username":{"type":"string","description":"Login user (defaults to the tunnel's user, else root)"},"timeoutSeconds":{"type":"number","description":"Max seconds to wait (default 60). Calls longer than about 90 seconds are usually cut off by the network before they answer — run long jobs in the background instead."}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Run a command over SSH","readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"},{"name":"ssh_exec_many","title":null,"description":"Run the same shell command on several of your servers at once and return each server's output and exit code. Use it to compare or check a fleet (disk space, versions, a service's state) in one call instead of one call per server. Up to 10 servers; the same 90-second limit as ssh_exec applies.","input_schema":{"type":"object","required":["hosts","command"],"properties":{"hosts":{"type":"array","items":{"type":"string"},"maxItems":10,"minItems":1,"description":"Server ids (or exact names) from hosts_list"},"command":{"type":"string","description":"Shell command to execute on each server"},"timeoutSeconds":{"type":"number","description":"Max seconds to wait per server (default 60, at most 80)"}},"additionalProperties":false},"output_schema":null,"annotations":{"title":"Run a command on several servers","readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-10T00:40:34.242Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/in.termal%2Ftermalin-web/connection?target=mcpServers","arguments":{"name":"in.termal/termalin-web","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/in.termal%2Ftermalin-web","arguments":{"name":"in.termal/termalin-web"}}]}