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.
概覽
遠端 MCP 伺服器,為助理提供依規格配置的雲端伺服器,用來撰寫、執行並部署網頁、應用程式、API 與機器人,並發布到線上網址。
- 可以做什麼
- 建立、檢視、暫停、重新啟動與刪除依規格配置的伺服器,並查詢 AI 花費與預算
- 建立、設定、匯出、匯入與刪除專案,每個專案都有自己的公開網址
- 執行 shell 指令、啟動應用程式、向伺服器上的代理送出提示,並查看執行狀態與日誌
- 列出、讀取、寫入與刪除工作區檔案,並產生限時下載連結
- 依自然語言目標建置專案並部署到線上網址
- 綁定自有網域並自動簽發 HTTPS,檢查其 DNS 記錄
- 適用情境
- 適合希望助理從一句自然語言需求直接產出可公開存取的網頁、API、機器人或排程工作,而不必自行架設主機環境,並讓這些程序在對話結束後繼續運作的情況。
- 執行需求
- 遠端 streamable HTTP 端點,本機不需安裝任何東西。需要 Server4Agent 帳號,透過 OAuth 2.1(動態用戶端註冊)登入,或在沒有 OAuth 的宿主中以 Authorization Bearer 標頭傳入 API 金鑰。自訂網域僅限付費方案。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Server4Agent,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
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:
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:
For the skill alone, in any agent that reads Agent Skills:
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 untildeploymakes 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
37 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.
Custom domains
Serve a public project at a domain the user owns, with HTTPS issued automatically. On paid plans. The user adds two DNS records; check_domain switches the domain on once both are found.
add_domain: Connect a custom domain the user owns to a project, so the app also answers at that address over HTTPS.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.remove_domain[destructive]: Disconnect a custom domain from a project.
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
- Website: https://www.server4agent.com
- Connect another app: https://www.server4agent.com/integrations
- Questions: [email protected]
來源:README.md,提交 a9bf52f
工具
0版本歷史
5- v1.0.9最新Oct 31, 2026
- v1.0.6Oct 29, 2026
- v1.0.5Oct 24, 2026
- v1.0.3Oct 13, 2026
- v1.0.1Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分