Server4Agent

com.server4agent由 server4agent.com 发布官方发布者v1.0.9更新于 Oct 31, 2026

MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.

已验证Streamable HTTP可网页运行云端与基础设施文件与存储开发者工具

概览

AI 生成的概览

远程 MCP 服务器,让助手开通服务器、编写并运行代码,把应用、API 和机器人发布到可访问的网址。

可以做什么
  • 开通、查看、暂停、重启和删除按规格计费的服务器,并查询 AI 花费与预算
  • 创建、配置、导出、导入和删除项目,每个项目都有自己的公开网址
  • 执行 shell 命令、启动应用、向服务器上的代理发送提示,并查看运行状态与日志
  • 列出、读取、写入和删除工作区文件,并生成限时下载链接
  • 以只写方式管理密钥环境变量,并绑定到服务器或项目
  • 按自然语言目标构建项目,并部署到线上网址
适用场景
适合希望助手从想法直接做到可公开访问的网页、站点、应用、API、机器人或定时任务,而不必自行搭建本地基础设施,并让进程在对话结束后继续运行的情况。
运行要求
需要 Server4Agent 账号,并连接到托管的 streamable HTTP 远程端点。登录方式为 OAuth 2.1(支持动态客户端注册),或不支持 OAuth 的主机使用控制台生成的 API 密钥,以 Authorization Bearer 请求头发送。本地无需安装任何东西。
安装前请注意
助手可以执行 shell 命令、写入和删除文件,以及创建、暂停或拆除服务器和项目,包括连同其上所有项目一起删除服务器;许多工具被标记为破坏性操作。密钥值会发送给该服务且只能写入、无法读回。服务器上的代理运行会消耗账号的 AI 预算,且可能设有上限。文件、应用和密钥会一直保留到被删除;日志保留 30 天。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Server4Agent,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.server4agent%2Fserver4agent/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "server4agent": {
      "type": "http",
      "url": "https://mcp.server4agent.com/"
    }
  }
}

README

Server4Agent

MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.

Server4Agent is a remote MCP server. Connect it to your AI assistant and ask for a web page, a site, an app, an API, a bot or a scheduled job. The assistant gets a server to build on, writes and runs the code there, and publishes each project at its own live URL. Processes keep running after the conversation ends, so backends and bots stay up.

There is nothing to install or run on your machine. The server is hosted at https://mcp.server4agent.com, and this repository holds its listing in the MCP Registry.

Connect

  • Endpoint: https://mcp.server4agent.com
  • Transport: streamable HTTP
  • Sign-in: OAuth 2.1 with dynamic client registration, or an API key sent as a bearer token

You need a Server4Agent account: https://www.server4agent.com

VS Code and GitHub Copilot

Install Server4Agent from the MCP server gallery in the Extensions view (search for @mcp Server4Agent), or add it to .vscode/mcp.json:

json
{  "servers": {    "server4agent": {      "type": "http",      "url": "https://mcp.server4agent.com"    }  }}

Start the server and VS Code opens a browser to sign in. There is no key to copy, and you can revoke the sign-in from the dashboard. The tools are then available to Copilot Chat in agent mode.

GitHub Copilot CLI and other hosts

Add https://mcp.server4agent.com as a remote MCP server. A host that supports OAuth opens a browser to sign in and needs nothing else. A host without OAuth, the Copilot CLI among them, takes an API key from the dashboard, which you add in that host's own settings as an Authorization: Bearer header. Steps for each app: https://www.server4agent.com/integrations

As a plugin or a skill

This repository is also a plugin: the skill plus this server, in one install. In a host that reads plugin marketplaces:

/plugin install server4agent --marketplace Server4Agent/server4agent-mcp

For the skill alone, in any agent that reads Agent Skills:

bash
npx skills add Server4Agent/server4agent-mcp --skill server4agent

Setup for more apps: https://www.server4agent.com/integrations

Use it

Ask in plain language. For example:

  • "Write a landing page for my bakery and deploy it to a live URL."
  • "Write a small API that turns a CSV upload into JSON, run it on my server and give me the URL."
  • "Write a script that checks our website every hour, run it on my server on a schedule, and log when it is down."
  • "What is running on my servers, and how much have I spent this month?"

How it fits together:

  • A server is a sized box (small, medium or large) that holds projects. One server holds several.
  • A project is a folder plus an app, with its own URL at <slug>.apps.server4agent.com. Projects are private until deploy makes them public.
  • Your assistant writes the code and runs it on the server itself. The agent that runs on the server (start_build, prompt) can build for you when you ask for it, and spends the account's AI budget.
  • Tools that delete or overwrite are marked destructive, so your host can ask you before it runs one.

Tools

34 tools. [read-only] never writes; [destructive] may delete or overwrite.

Servers

A server is a sized compute box. Projects live inside it and share its resources.

  • create_server: Provision a sized server box.
  • list_servers [read-only]: List your servers with their tier, kind, status, project sharing, and current project count.
  • get_server [read-only]: Get a server's tier, kind, status, capacity, project count, and project sharing.
  • update_server [destructive]: Update a server's nickname, region, or how much its projects may see of each other.
  • control_server [destructive]: Pause a server (stop), resume it (start), or reboot it (restart).
  • delete_server [destructive]: Tear down a server and every project on it.
  • get_usage [read-only]: 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).

Projects

A project is a workspace plus an app inside a server, with its own slug and URL. New projects are private: the URL only serves once you make it public.

  • list_templates [read-only]: List the available project starters.
  • 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.
  • list_projects [read-only]: List projects.
  • get_project [read-only]: Get a single project: name, slug, description, public URL, listen port, run plan, timestamps.
  • update_project [destructive]: Rename a project, update its description, change visibility, link access or lifecycle, or correct its run plan.
  • init_project [destructive]: 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.
  • export_project: Package a project into a portable bundle and return a time-limited download link.
  • import_project: Recreate a project on a server from a bundle that export_project produced, here or on another Server4Agent deployment.
  • cleanup_project [destructive]: Clean up an ephemeral project once its task is done.
  • delete_project [destructive]: Delete a project.

Secrets

Env vars for servers and projects. Values are write-only: no tool ever reads one back.

  • set_secret [destructive]: Create or update a secret (an env var, key → value) on the account.
  • list_secrets [read-only]: List the account's secrets: keys, notes, and where each is bound (servers/projects).
  • attach_secret [destructive]: Bind a secret to a scope so runs there see it as an env var.
  • delete_secret [destructive]: Delete a secret and all of its bindings.

Agent runtime

Start and keep your app running, drive the shell yourself, or, when the user asks for it, hand work to the agent running on the server.

  • start_app [destructive]: Start a project's app and keep it running: the step that puts a project online after its files are written.
  • prompt [destructive]: Send a freeform prompt to the on-server agent.
  • exec [destructive]: Run a shell command on the server and return its output.
  • get_run [read-only]: Get a run's status, its latest progress note, the agent's final response, and what it changed in the workspace (commit, branch, files).
  • get_logs [read-only]: 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).

File workspace

Read and write the project's files directly when you do not need the agent.

  • list_files [read-only]: List paths in the server's workspace.
  • read_file [read-only]: Read a file from the server's workspace.
  • write_file [destructive]: Write or overwrite a file in the server's workspace.
  • delete_file [destructive]: Delete a file from the server's workspace.
  • 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.

Build and deploy

Put a running project online with deploy, or, when the user asks for one, start an agent run that builds from a goal.

  • start_build [destructive]: Have the on-server agent build a web page, site, app or API from a plain-language goal.
  • get_build [read-only]: Get a build's status.
  • 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.

Every tool's arguments, with worked examples, are in the Agent Skill at https://www.server4agent.com/skill.md, and in each tool's JSON schema once you are connected.

Where your data goes

Your assistant sends data to two Server4Agent endpoints, and to no other service:

  • https://mcp.server4agent.com, the MCP server this plugin connects. It receives every tool call and its arguments: the files, commands, prompts and secret values your assistant sends.
  • https://api.server4agent.com/pages, which the skill uses only when no connection is set up, to publish a static page without an account. It receives that page's files.

The skill also links to pages on https://www.server4agent.com for reference. Nothing is sent there.

How long it is kept:

  • Files, apps and secrets on a server stay until you delete them, or the server they are on.
  • A page published without an account is public for a day and can be claimed for three. If nobody claims it, its files are deleted after that.
  • Account data is kept while the account is open, and for up to 90 days after it closes. Server logs are kept for 30 days.

What happens to it on our side, including the services we use to run it, is in the privacy policy: https://www.server4agent.com/privacy

Links

来源:README.md,提交 59a7655

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

5
  1. v1.0.9最新Oct 31, 2026
  2. v1.0.6Oct 29, 2026
  3. v1.0.5Oct 24, 2026
  4. v1.0.3Oct 13, 2026
  5. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分