Plinth

dev.tryplinth/plinth · v1.0.0 · cloud-and-infra

Plinth is healthy: it completed an MCP handshake in 979 ms and exposes 72 tools.

App hosting your agent runs: git, deploys, staging/production, Postgres. Owner approves risky steps.

Endpoint: https://tryplinth.dev/mcp (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count72
Latency979 ms
Last checked (UTC)2026-10-16T21:40:43.130Z

Health history

Checked (UTC)StatusLatencyError
2026-10-16T21:40:43.130ZHealthy979
2026-10-15T14:35:10.480ZHealthy1221

Tools (72)

account.createCreate a Plinth account for your human owner (or join theirs if their email already has one). Plinth emails them a link to approve; then call account.status with the returned signup_id and poll to collect your token.
account.statusFinish signup: checks whether the owner approved, and returns your token (once) when they have.
whoamiShow the account this token belongs to, its policy and projects.
project.createCreate a project: a git repo plus production and staging environments, each with its own Postgres database. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
project.listList projects with their environments, live releases and URLs.
project.getShow one project: git remote, environments, live release per environment, URLs.
project.deleteDelete a project, its repo, environments and databases. Irreversible. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
code.writeCommit files to the project without git: for agents that cannot run git or the CLI (e.g. Claude or ChatGPT in the cloud). Writes and deletes files on a branch (main deploys to staging; other branches get preview environments) and starts the deploy. Send whole files; text as utf8, binary as base64. U
code.listList files in the project repo (path and size) on a branch or commit.
code.readRead one file from the project repo. Text comes back as utf8; binary files as base64.
git.remoteGet the authenticated git remote URL for pushing. Pushing main deploys staging; any other branch gets a preview environment.
git.logRecent commits on a branch.
git.branchesBranches and their head commits.
git.revertRevert a commit on a branch server-side. The new commit deploys like a push.
env.listEnvironments for a project with live release and URL.
env.secrets.setSet an environment variable for an environment. Restarts the env so it takes effect.
env.secrets.listList environment variable names (values are never returned).
env.secrets.importSet many environment variables at once from .env text (KEY=value lines; # comments, quotes and "export" are fine). One restart at the end. Keys starting with VITE_/NEXT_PUBLIC_/PUBLIC_ also reach the build.
env.secrets.unsetRemove an environment variable.
deployRebuild and deploy the head of the branch an environment tracks (staging tracks main). Production only changes via promote.
deploy.statusReleases for an environment, newest first, with status and build log of the latest. Pass log_from (a character offset) to get only the log written since; build_log_length tells you where to continue.
deploy.cancelStop a build that is still running (the latest one in the environment, or a given release id). The live release keeps serving.
promotePromote the release running on one environment to another (default staging to production). Applies pending migrations first. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
rollbackPoint an environment back at its previous release (or a given release id). Does not roll back the database.
db.queryRun SQL against an environment database. Returns up to 500 rows. On production, reads (SELECT, WITH, SHOW, EXPLAIN) run in a read-only transaction; any write needs owner approval. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
db.migrationsApplied and pending migrations (files in migrations/*.sql, applied in name order).
db.migrateApply pending migrations from the live release now (deploys do this automatically). Takes a snapshot first. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
db.snapshotTake a snapshot (pg_dump) of an environment database.
db.snapshotsList snapshots for an environment. Staging and production get one automatically every night at 03:00 UTC, kept 7 days.
db.restoreRestore an environment database from a snapshot. Takes a safety snapshot first. Production needs owner approval. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
db.connectionGet the DATABASE_URL for an environment (the same one the app receives). Production needs owner approval. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
cron.addSchedule a job: Plinth POSTs to path on the environment at each tick (5-field cron, UTC), with the header x-plinth-cron-secret. Paths under /api/cron/ refuse any other caller. Outside production jobs start paused unless enabled is true. Jobs can also be declared in plinth.json "crons".
cron.listCron jobs on an environment with last run and next run.
cron.pausePause a cron job (it stays defined but does not run).
cron.resumeResume a paused cron job.
cron.removeDelete a cron job.
cron.runRun a cron job now and return its result.
cron.runsRecent runs of a cron job.
domains.connectMap a domain you own to an environment. Point its DNS at the Plinth host; returns the record to create.
domains.listDomains mapped to a project.
domains.verifyCheck the TXT record of a connected domain; once it matches, the domain is served.
domains.removeUnmap a domain.
billing.statusWhether a card is on file, this month's spend, the spend cap and recent charges.
project.upgradeMove a project to Pro ($19/month per project): own domains and more room. Charges the owner's card now (prorated) after they approve. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
project.downgradeMove a project back to the free plan. Its custom domains stop being served. The subscription shrinks with a prorated credit.
billing.cardAsk the owner to add or replace the payment card. Returns an approve_url; approving opens a Stripe page where the owner enters the card. Plinth never sees card numbers. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
domains.searchCheck if domains can be bought here, with price. Pass a name ("acme" checks acme.com, .dev, .app, .io, .co, .net, .ai, .org) or a full domain.
domains.buyBuy a domain and connect it to an environment: registers it, points DNS at Plinth, issues HTTPS. Always shows the owner the exact price first. Standard registrations only. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
domains.ordersDomains bought through Plinth on this account, with price, status and expiry.
logs.queryLogs for an environment: app stdout/stderr, build, cron and system lines. Filter by text and stream.
metrics.getRequest count, error rate and latency percentiles for an environment.
analytics.getVisitors and page views per day, top pages, where visitors come from, and phone vs desktop. No cookies; visitors are counted per day. Free shows today; Pro up to 90 days.
seo.setupCheck how search engines see an environment (title, description, robots.txt, sitemap, noindex) and get the steps to connect OpenSEO (openseo.so), an open-source SEO tool your agent uses over MCP: keyword research, rank tracking, backlinks, site audits. The owner signs up on OpenSEO; Plinth does not
env.statusDebug an environment: is it running, restarts, out-of-memory kills, memory/CPU use, live release, and the last errors from its logs.
env.restartRestart an environment on its current release (fresh sandbox, same code and data).
env.execProduction needs owner approval. Run a shell command inside the environment's running sandbox (same code, env vars, network and limits as the app), e.g. "node -e '...'", "ls", "env | sort". 30s timeout, 20 KB of output. Code is read-only; /tmp is writable. May return pending_approval: the owner is e
http.probeSend one HTTP request to the environment from inside Plinth and return status, headers, timing and the first 8 KB of the body. Use it to reproduce a failing route.
requests.queryRecent HTTP requests to an environment: method, path, status, time taken. Filter to failures with min_status 500, or by path.
approvals.listApprovals requested by this account, newest first. status: pending, approved, denied, cancelled, superseded (default all). Pending ones include approve_url, which the signed-in owner can approve at (the owner also gets each request by email).
approval.cancelWithdraw a pending approval request you made (for example one that is no longer needed). The owner can no longer approve it.
approval.statusCheck an approval. When approved, result holds the action output.
support.sendSend the Plinth team a bug report, feature request or question. Include what you tried and what happened. Recent errors for the project are attached automatically. Replies show up in support.list.
support.listYour support tickets with their status and the team's reply.
webhooks.addSend Plinth events to a URL (your bot, Slack, Discord, Telegram, Zapier...). Events: deploy.succeeded, deploy.failed, approval.requested, approval.decided, app.down, app.up, support.created, support.replied, charge.succeeded, signup.approved. Leave events empty for all. Payloads are JSON with a "tex
webhooks.listYour webhooks with their last delivery status.
webhooks.removeDelete a webhook.
webhooks.testSend a test event to all your webhooks; check webhooks.list a few seconds later for the result.
console.signinGet the owner into the web console. Plinth emails the owner a sign-in link; approving it signs that browser in for 12 hours. The agent never receives a session. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
token.rotateReplace your own agent token with a new one; the old one stops working immediately. Save the new token in ~/.plinth/config.json (the CLI does this for you).
agents.listAgents that have a key to this account, when each was last used, and which one you are.
agents.revokeOwner only. Remove an agent's access to this account immediately.
policy.setOwner only. Choose which approval types run without asking. Keys: project.create, project.delete, promote.production, migration.destructive, db.restore.production, billing.