Self-hosted Notion alternative where AI agents' edits arrive as tracked changes you accept or reject. Docs, databases, MCP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add stuga --env STUGA_URL='<STUGA_URL>' -- npx -y @stuga/mcp~/.codex/config.toml
[mcp_servers.stuga]
command = "npx"
args = ["-y", "@stuga/mcp"]
env = { STUGA_URL = "<STUGA_URL>" }
# codex mcp add stuga --env STUGA_URL='<STUGA_URL>' -- npx -y @stuga/mcp~/.cursor/mcp.json
{
"mcpServers": {
"stuga": {
"command": "npx",
"args": [
"-y",
"@stuga/mcp"
],
"env": {
"STUGA_URL": "<STUGA_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"stuga": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@stuga/mcp"
],
"env": {
"STUGA_URL": "<STUGA_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"stuga": {
"command": "npx",
"args": [
"-y",
"@stuga/mcp"
],
"env": {
"STUGA_URL": "<STUGA_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"stuga": {
"command": "npx",
"args": [
"-y",
"@stuga/mcp"
],
"env": {
"STUGA_URL": "<STUGA_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"stuga": {
"command": "npx",
"args": [
"-y",
"@stuga/mcp"
],
"env": {
"STUGA_URL": "<STUGA_URL>"
}
}
}
}Environment variables
STUGA_URL
Replace the placeholders with your own credentials and keep them out of version control.