com.server4agent/server4agent · v1.0.9 · agents-and-memory
Server4Agent is healthy: it completed an MCP handshake in 1078 ms and exposes 41 tools.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Endpoint: https://mcp.server4agent.com (streamable-http)
Repository · Website · JSON · Add to my inventory
| Users (last 30 days) | 0 |
| Handshake | Healthy |
| Auth needed | None |
| Tool count | 41 |
| Latency | 1078 ms |
| Last checked (UTC) | 2026-11-30T10:00:15.583Z |
| Checked (UTC) | Status | Latency | Error |
|---|---|---|---|
| 2026-11-30T10:00:15.583Z | Healthy | 1078 | |
| 2026-11-28T00:45:54.885Z | Needs auth | 258 | initialize: HTTP 401 |
| 2026-11-25T17:05:22.420Z | Needs auth | 1902 | initialize: HTTP 401 |
| 2026-11-23T11:26:01.059Z | Needs auth | 1795 | initialize: HTTP 401 |
| 2026-11-21T07:40:37.892Z | Needs auth | 810 | initialize: HTTP 401 |
| 2026-11-19T05:05:14.635Z | Needs auth | 932 | initialize: HTTP 401 |
| 2026-11-17T03:40:14.956Z | Needs auth | 1262 | initialize: HTTP 401 |
| 2026-11-15T03:45:47.850Z | Needs auth | 2334 | initialize: HTTP 401 |
| 2026-11-13T05:05:25.320Z | Needs auth | 483 | initialize: HTTP 401 |
| 2026-11-11T07:25:41.184Z | Needs auth | 2841 | initialize: HTTP 401 |
| 2026-11-09T11:10:19.466Z | Needs auth | 930 | initialize: HTTP 401 |
| 2026-11-07T16:05:21.392Z | Needs auth | 596 | initialize: HTTP 401 |
| 2026-11-05T22:00:44.811Z | Needs auth | 505 | initialize: HTTP 401 |
| 2026-11-04T04:25:33.698Z | Needs auth | 2861 | initialize: HTTP 401 |
| 2026-11-02T12:00:30.987Z | Needs auth | 2629 | initialize: HTTP 401 |
| 2026-11-02T12:00:30.353Z | Needs auth | 2115 | initialize: HTTP 401 |
| 2026-10-31T20:45:25.621Z | Needs auth | 976 | initialize: HTTP 401 |
| 2026-10-30T06:20:23.855Z | Needs auth | 471 | initialize: HTTP 401 |
| 2026-10-28T16:35:11.471Z | Needs auth | 695 | initialize: HTTP 401 |
| 2026-10-27T03:30:16.607Z | Needs auth | 704 | initialize: HTTP 401 |
create_server | Provision a sized server box. Servers hold projects; each project gets a stable URL that serves once you make it public. One server holds several projects, so check list_servers for one with room before creating another. Pass `secrets` to set server-wide env vars (shared by every project on the serv |
update_server | Update a server's nickname, or how much its projects may see of each other. |
delete_server | Tear down a server and every project on it. |
control_server | Pause a server (stop), resume it (start), or reboot it (restart). A paused server stays down until it is started again: its projects are offline, it does not bill, and tools that reach it (prompt, exec, start_app, the file tools, start_build) answer that it is paused instead of waking it. |
list_servers | List your servers with their tier, kind, status, project sharing, and current project count. kind is standard for a headless box or browser for one with a screen and a browser on it. |
get_usage | Get the account's AI spend and budget: how much has been spent this billing period, the plan's included credits, any budget cap, and whether new tasks are blocked (with the reason). Call this before a long series of prompts to check remaining budget, since dispatch fails once a spend ceiling is reac |
get_server | Get a server's tier, kind, status, capacity, project count, and project sharing. kind is standard for a headless box or browser for one with a screen and a browser on it. |
list_projects | List projects. Optionally filter by server_id to see what's already on a particular server before creating a new one. |
get_project | Get a single project: name, slug, description, public URL, listen port, run plan, timestamps. listen_port is the port inside the box that this project's URL is routed to, so an app here binds that rather than a port of its own choosing, and has to be running for the URL to answer. listen_port is nul |
list_templates | List the available project starters. Each template has an id, a human label, a one-line description, default visibility/lifecycle, and a source_kind. The first entries are import templates (source_kind "git" or "archive") that seed a project from your own code; the rest are ordinary starters (source |
create_project | Create a project on a server: the home for one web page, site, app, API or bot, with its own URL at <slug>.apps.server4agent.com. Projects default to private; set visibility to "public" to expose that URL. Use lifecycle="ephemeral" for one-shot work that should be cleaned up when done (call cleanup_ |
update_project | Rename a project, update its description, change visibility, link access or lifecycle, or correct its run plan. The slug + URL stay the same. Setting run_plan only records how the project should be brought up; call init_project when you want it rebuilt. |
delete_project | Delete a project. The public URL stops working immediately. |
cleanup_project | Clean up an ephemeral project once its task is done. Deletes the workspace, retires the slug, and frees the project slot. Errors on persistent projects; use delete_project for those. |
init_project | Start or resume bring-up for a project seeded from a git/archive source: the on-server agent installs dependencies, starts the app, and confirms it responds. Returns a run_id to poll with get_run. Set proceed to true to continue past still-missing optional secrets. Not for a project whose files you |
export_project | Package a project into a portable bundle and return a time-limited download link. The bundle carries the project's source tree, its settings, its run plan, and the NAMES of the env vars it needs. Left out: dependency caches, git history, and any .env or credential file in the workspace, so the bundl |
import_project | Recreate a project on a server from a bundle that export_project produced, here or on another Server4Agent deployment. Pass the bundle base64 encoded in `bundle`, which the request size limit holds to about 3 MB, or, for a bundle exported on this deployment, the `url` export_project returned in `bun |
set_secret | Create or update a secret (an env var, key → value) on the account. One secret per key; setting an existing key updates its value. Values are write-only: never returned by any tool. Use attach_secret to bind it to a server or project. |
list_secrets | List the account's secrets: keys, notes, and where each is bound (servers/projects). Never returns values; only a masked hint. |
delete_secret | Delete a secret and all of its bindings. |
attach_secret | Bind a secret to a scope so runs there see it as an env var. Server-wide when only server_id is given; project-scoped when project_id is also given. Pass value to set-and-bind in one call; omit it to bind an existing secret by key. A key has one value on the account, shared everywhere it is bound: p |
prompt | Send a freeform prompt to the on-server agent. It plans, writes code, runs commands, and ships whatever the prompt asks for. It spends the account's AI budget, so use it when the user asks for the on-server agent or to continue a run it started; to build something yourself, write_file, exec, start_a |
exec | Run a shell command on the server and return its output. Pass project_id to run inside that project's workspace folder, with PORT set to the project's routed port; omit it to run at the server workspace root. For one-off work: installing dependencies, building, inspecting files. Runs as the workspac |
start_app | Start a project's app and keep it running: the step that puts a project online after its files are written. Runs `command` in the project folder as a background process with PORT set to the project's routed port (the app must listen on PORT), records it so it comes back after a restart, and waits up |
list_files | List paths in the server's workspace. Pass project_id to list only that project's folder (paths come back relative to the project); omit it to list the whole server workspace. |
read_file | Read a file from the server's workspace. With project_id, path is resolved inside that project's folder; without it, path is relative to the server workspace root. Use encoding:"base64" for binary files (e.g. .xlsx, images); plain text mode will corrupt non-text bytes. |
write_file | Write or overwrite a file in the server's workspace. With project_id, path is resolved inside that project's folder; without it, path is relative to the server workspace root. Use encoding:"base64" to write binary content (e.g. a generated .xlsx); plain text mode assumes UTF-8 and will corrupt binar |
delete_file | Delete a file from the server's workspace. With project_id, path is resolved inside that project's folder; without it, path is relative to the server workspace root. |
get_download_url | Mint a time-limited link to download one file from the server's workspace, e.g. after generating a report or converting a file, hand this URL back to the user instead of the raw content. With project_id, path is resolved inside that project's folder. The link needs no login and works for anyone who |
start_build | Have the on-server agent build a web page, site, app or API from a plain-language goal. Use it only when the user asks for that agent: it counts against the AI budget like prompt, and you can write the code yourself with write_file, exec and start_app, then deploy. Starts an agent run that works thr |
get_build | Get a build's status. The steps move together: running while the run works, done when it finished, failed when it did not (status still reads completed, and error says why). url is the project's address once it is built and public. run_id is the run doing the work: get_run shows its live progress, a |
get_run | Get a run's status, its latest progress note, the agent's final response, and what it changed in the workspace (commit, branch, files). Poll this with the run_id returned by prompt or init_project. |
get_logs | Read the latest log tails from a server: one entry per log file that a project's processes have written (each long-running process appends to .server4agent/<name>.log in its project folder). Read live from the server at the moment you call. If the server does not answer in time (starting, restarting |
deploy | Deploy a project to its live public URL at <slug>.apps.server4agent.com: the last step in putting a web page, site, app or API online. Checks that something in the project is listening on its `listen_port`, makes the project public, and checks its URL answers, then returns that URL with status live |
add_domain | Connect a custom domain the user owns to a project, so the app also answers at that address over HTTPS. Returns the two DNS records the user adds at their DNS provider: a CNAME that points the domain at the project's address, and a TXT record that proves they own it. Nothing is served on the domain |
check_domain | Look up a custom domain's DNS records now and, when both are right, switch it on: the certificate is issued automatically and the domain starts serving within a few minutes. Returns the domain's status (pending, verified, active or cert_failed) and, while pending, what is still wrong with the record |
remove_domain | Disconnect a custom domain from a project. It stops serving and its certificate is removed; the project keeps its own address. The DNS records stay at the user's DNS provider until they delete them. |
connect_agent_environment | Connect a hosted agent platform's self-hosted environment to a project, so that platform's agent sessions run their tools (shell, files, code) inside the project's folder on this server instead of in the platform's own sandbox. The platforms are Anthropic's Managed Agents (provider anthropic) and Op |
list_agent_environments | List the agent environments connected to a project, with each one's status: connecting, ready (waiting for a session), running (a session is working in the project), paused (the project or server is paused) or error, with the problem in words. Keys are never returned, only their last four characters |
disconnect_agent_environment | Disconnect an agent environment from a project. Sessions stop being picked up, any session running in the project is stopped, and the stored key is deleted. The environment itself stays on the platform until the owner deletes it there. |
agent_session | Start or stop the executor for one hosted agent session in a project, for a platform whose sessions each bring their own environment. That is OpenAI's Agents API, so the project needs an openai environment connected. Call start right after your app creates the session, with the environment id and re |