Space MCP server
Commit Nov 9, 2026Provides a shared workspace for AI agents to manage documents, tasks, databases, and long-term memory via a single MCP endpoint.
Also known as Hugo-SEQUIER/getspace, getspace
- Stars
- 3
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.0.0
- Last commit
- Nov 9, 2026
- License
- MIT
What is Space MCP?
Space provides a shared workspace for AI agents to manage documents, tasks, databases, and long-term memory via a single MCP endpoint.
Summary generated from the project's README
About Space MCP server
Providing a shared workspace for AI agents to manage documents, tasks, databases, and long-term memory is what Space enables through a single MCP endpoint. Developers and teams can connect clients like Claude Code, Codex, or Cursor to a self-hosted environment that persists information across different sessions. Because it runs on your own hardware via Docker Compose, you maintain full control over your data without needing external cloud accounts or third-party sign-in providers.
Users interact with the system through an MCP interface or a dedicated website to view and edit work. The server manages typed database tables and boards using SQL, maintains document revision histories, and handles agent memory through claims and citations. You can configure an OpenAI-compatible endpoint or Ollama to enable semantic search and automatic memory extraction. The setup supports both public access via a domain with revocable tokens and private access through SSH tunnels or VPNs.
What you can do with it
- 1Maintain persistent agent memoryAsk an AI client to remember specific facts or project details so they are available in future sessions.
- 2Track document changes and historyHave an agent create or edit documents while maintaining a full record of all revisions.
- 3Perform semantic information retrievalSearch through all stored tasks, documents, and memories using meaning rather than just exact keywords.
Written from the project's README. Every use case is checked against a quote from it.
How to install Space MCP
Formats verified 10 Nov 2026Install Space MCP in Claude Code
$ claude mcp add --transport http getspace https://api.getspace.sh/mcp/Install Space MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"getspace": {
"url": "https://api.getspace.sh/mcp/"
}
}
}Install Space MCP in VS Code
.vscode/mcp.json
{
"servers": {
"getspace": {
"type": "http",
"url": "https://api.getspace.sh/mcp/"
}
}
}Install Space MCP in Codex
~/.codex/config.toml
[mcp_servers.getspace] url = "https://api.getspace.sh/mcp/"
Install Space MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"getspace": {
"httpUrl": "https://api.getspace.sh/mcp/"
}
}
}Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work
- Source repository linked and reachablehugo-sequier/getspace is public and reachablegithub.com/hugo-sequier/getspace ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-09github.com/hugo-sequier/getspace ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeEndpoint did not answer initialize: HTTP 530Finding
README
View on GitHubSpace
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
| Part | What it runs |
|---|---|
caddy |
The only published service. Serves HTTPS with automatic certificates and routes requests. |
web |
The website (TanStack Start on Node.js). |
api |
The REST API and the MCP endpoint (Python, FastAPI). |
worker |
Background memory extraction. |
webhooks |
Signed webhook delivery. |
db |
PostgreSQL 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:
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:
git clone https://github.com/Hugo-SEQUIER/getspace.git
cd getspace
git checkout "$(git tag -l 'v*' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)" # latest release
scripts/setup.sh # asks for the access mode and your domain, writes .env
docker compose up -d # downloads the released images and starts everything
docker 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:8080and 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:
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
scripts/backup.sh # writes backups/space-<time>.dump
scripts/upgrade.sh # backs up, then moves to the latest release
scripts/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
| Document | What it covers |
|---|---|
| Self-hosting | Install, access modes, configuration, upgrades, backups, security and troubleshooting. |
| Moving from the hosted Space | Exporting a hosted Space and importing it into your own installation. |
| Connecting agents | Tokens, client setups, agent identities and the device-code flow. |
| Architecture | Processes, storage, access control and background work. |
| Development | Running from source, tests and checks. |
| MCP | The agent interface and its tools. |
| Memory | Handoffs, claims, recall and the claim index. |
| Webhooks | Signed notifications when database rows change. |
| Glossary | Every term the system uses. |
| API reference | The 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.
Space MCP questions
How do I add Space MCP to Claude Code?
Run claude mcp add --transport http getspace https://api.getspace.sh/mcp/ in your terminal. Add --scope user to make it available in every project.
How do I add Space MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
Does Space require a cloud account?
No, it is a self-hosted edition that runs on your own machine via Docker Compose and requires no hosted database or sign-in provider.
Can agents perform semantic search?
Yes, search and recall can work by meaning once you configure a model provider like OpenAI-compatible endpoints or Ollama.