Space

sh.getspace由 getspace.sh 發布官方發布者v1.0.0更新於 Oct 26, 2026

One shared memory for all your AI agents: documents, tasks, databases and memories in one workspace

已驗證Streamable HTTP可網頁執行資料庫效率與工作流知識與記憶

概覽

AI 產生的概覽

Space 是一個共享工作區,讓 AI 代理透過同一個 MCP 端點讀寫文件、任務、資料庫與長期記憶。

可以做什麼
  • 建立與編輯文件及任務,並保留完整修訂歷史
  • 以 SQL 查詢與修改具型別的資料庫表格與看板
  • 記住、附引用地回想、更正與遺忘代理的聲明,並在 session 之間交接
  • 以詞語搜尋整個工作區,設定模型供應商後還可依語意檢索
  • 把新工作歸檔到專案、資料夾、分區與分類中
適用情境
適合多個代理或 session 需要共用同一份持久記憶與工作區,且你希望在網站上檢視與更正它們所寫內容的情況。也適合能執行一台小型自架伺服器、想擁有自己實例而不使用雲端帳號的人。
執行需求
自架版需要一台至少 1 GB 記憶體的 Linux 伺服器,以 Docker Compose 執行;對外公開還需要指向它的網域名稱。代理以可撤銷的權杖或瀏覽器登入連線,託管型助理則使用自訂連接器。語意記憶需要 OpenAI 相容端點或 Ollama,選用的決策模型使用 OpenRouter。
安裝前請注意
代理可以寫入、修改與刪除文件、任務、資料庫列與記憶,因此應謹慎授予寫入權限,並使用可撤銷的個別代理權杖。系統沒有應用層加密,營運伺服器的人可讀取全部資料,需做好備份與防護。私有模式完全沒有存取檢查,絕不可對外公開。代理要求 Space 處理的文字會傳送給所設定的模型供應商。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Space,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/sh.getspace%2Fspace/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "space": {
      "type": "http",
      "url": "https://api.getspace.sh/mcp/"
    }
  }
}

README

Space

Space is a workspace your AI agents share with you: documents, tasks, databases and long-term memory that agents read and write over MCP, with a website where you see, correct and edit the same work. Connect Claude Code, Codex, Cursor or any MCP client, and what one session learns is there for the next one.

This repository is the open-source, self-hosted edition. It runs on one machine you control, such as a small VPS, with Docker Compose. It needs no cloud account: no hosted database, object storage, key service or sign-in provider.

What you get

  • Documents and tasks with full revision history, edited from the website or by agents.
  • Databases: typed tables and boards, which agents can query and change with SQL.
  • Agent memory: handoffs between sessions, and claims agents remember, recall with citations, correct and forget.
  • Search and recall across everything in the Space, by words; by meaning too once a model provider is configured.
  • One MCP endpoint for every agent, with a revocable token or browser sign-in per agent and attribution of who wrote what.
  • A REST API with personal API keys, and signed webhooks when database rows change.
  • Projects, folders, sections and categories that agents follow when they file new work.

How it is built

PartWhat it runs
caddyThe only published service. Serves HTTPS with automatic certificates and routes requests.
webThe website (TanStack Start on Node.js).
apiThe REST API and the MCP endpoint (Python, FastAPI).
workerBackground memory extraction.
webhooksSigned webhook delivery.
dbPostgreSQL 17 with pgvector. Every document, task, memory and setting lives here.

Content is stored as readable JSON in PostgreSQL. There is no application-level encryption: whoever operates the server can read the data, as with any self-hosted application. Back up the database and protect the server accordingly.

Install

You need a Linux server with at least 1 GB of memory, such as a small VPS, and, for public access, a domain name whose DNS record points at it. On the server, run:

sh
curl -fsSL https://raw.githubusercontent.com/Hugo-SEQUIER/getspace/main/scripts/install.sh | sudo bash

The installer installs Docker if it is missing, downloads the latest release into /opt/space, asks for the access mode, your domain and your name, starts Space and prints its address and access key. To do the same steps by hand:

sh
git clone https://github.com/Hugo-SEQUIER/getspace.gitcd getspacegit checkout "$(git tag -l 'v*' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)"   # latest releasescripts/setup.sh                 # asks for the access mode and your domain, writes .envdocker compose up -d             # downloads the released images and starts everythingdocker compose exec api python -m space.check   # checks every setting, in plain words

Both offer two access modes:

  • Key mode (default): Space is reachable from the internet at https://your-domain. The website asks for the instance's access key once per browser, and each agent connects with its own revocable token. Point a DNS record at the server and open ports 80 and 443; Caddy obtains the certificate.
  • Private mode: no access check at all. Space listens on 127.0.0.1:8080 and you reach it through an SSH tunnel or a VPN such as Tailscale. Never expose this mode publicly.

There are no user accounts: one installation belongs to one person, the owner. Self-hosting covers both modes, every setting, upgrades, backups and troubleshooting.

Moving from the hosted Space? Export your Space there and import it here: Moving from the hosted Space.

Connect an agent

Open Agents → Connect an agent on the website, choose a name and whether the agent may write, and copy the setup it shows. For Claude Code:

sh
claude mcp add --transport http space https://your-domain/mcp/ \  --header "Authorization: Bearer spc_..."

Hosted assistants such as claude.ai and ChatGPT sign in instead: add https://your-domain/mcp/ to the app as a custom connector, and approve it when it opens Space in your browser.

In private mode agents need no token: claude mcp add --transport http space http://127.0.0.1:8080/mcp/. Connecting agents has setups for Codex, Cursor and other clients, and the optional agent skills teach an agent when to recall, remember and hand off.

Memory with a model provider

Documents, tasks, databases, handoffs and word search work without any model. Automatic memory (extracting claims from text, embeddings and semantic recall) needs an OpenAI-compatible endpoint or Ollama; set SPACE_MEMORY_PROVIDER and the related settings in .env. Only the text an agent asks Space to process is sent to that provider. A decision model on OpenRouter's Decisions API can also assess recall evidence, organize memories against your categories and projects, and link related memories; each of those is off until you turn it on. See memory.

Back up and upgrade

sh
scripts/backup.sh                                  # writes backups/space-<time>.dumpscripts/upgrade.sh                                 # backs up, then moves to the latest releasescripts/restore.sh backups/space-<time>.dump       # replace this installation's data

Copy backups off the server: a backup on the same disk is not a backup.

Documentation

DocumentWhat it covers
Self-hostingInstall, access modes, configuration, upgrades, backups, security and troubleshooting.
Moving from the hosted SpaceExporting a hosted Space and importing it into your own installation.
Connecting agentsTokens, client setups, agent identities and the device-code flow.
ArchitectureProcesses, storage, access control and background work.
DevelopmentRunning from source, tests and checks.
MCPThe agent interface and its tools.
MemoryHandoffs, claims, recall and the claim index.
WebhooksSigned notifications when database rows change.
GlossaryEvery term the system uses.
API referenceThe REST API a personal API key can call (OpenAPI).

License

Space is free software under the MIT License. You may use, change, share and self-host it for any purpose, including commercially, as long as the copyright and permission notice stays with copies or substantial portions of the software. The vendored Memora runtime keeps its own MIT license; see NOTICE and THIRD-PARTY.md.

Contributions are welcome. Read CONTRIBUTING.md and accept the Contributor License Agreement before your first pull request.

來源:README.md,提交 3b3991e

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.0最新Oct 22, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分