Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"portabase": {
"env": {
"PORTABASE_BASE_URL": "https://your-portabase.example.com",
"PORTABASE_API_TOKEN": "your-api-key"
},
"command": "portabase-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP (Model Context Protocol) server for the Portabase v1 API. Built in Go with hexagonal architecture.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
App framework, testing framework, and inspector for MCP Apps.
MCP Security Weekly
Get CVE alerts and security updates for Portabase Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP (Model Context Protocol) server for the Portabase v1 API. Built in Go with hexagonal architecture.
Implements all endpoints from the Portabase OpenAPI spec.
internal/
core/
types.go # Domain types matching Portabase DB schema
ports.go # Outbound port interface (PortabasePort)
portabase/
client.go # HTTP client adapter (implements PortabasePort)
mcp/
server.go # MCP server with tool handlers (inbound adapter)
main.go # Composition root
| Tool | Description |
|---|---|
list_agents | List all Portabase agents |
create_agent | Create a new agent |
get_agent | Get agent by ID |
delete_agent | Delete an agent |
get_agent_key | Get agent edge key for connecting the agent |
| Tool | Description |
|---|---|
list_databases | List all databases |
get_database | Get database by ID |
get_database_status | Get database status (last contact, latest backup/restoration) |
| Tool | Description |
|---|---|
list_backups | List backups for a database |
trigger_backup | Trigger a manual backup |
get_backup | Get a specific backup with storage details |
| Tool | Description |
|---|---|
restore_database | Restore a database from a backup |
| Variable | Required | Description |
|---|---|---|
PORTABASE_BASE_URL | Yes | Portabase instance URL |
PORTABASE_API_TOKEN | Yes | API key (from Portabase dashboard) |
PORTABASE_TRANSPORT | No | stdio (default) or sse |
PORT | No | HTTP port for SSE mode (default: 8080) |
{
"mcpServers": {
"portabase": {
"command": "portabase-mcp",
"env": {
"PORTABASE_BASE_URL": "https://your-portabase.example.com",
"PORTABASE_API_TOKEN": "your-api-key"
}
}
}
}
PORTABASE_BASE_URL=https://your-portabase.example.com \
PORTABASE_API_TOKEN=your-api-key \
PORTABASE_TRANSPORT=sse \
PORT=8080 \
portabase-mcp
docker run -e PORTABASE_BASE_URL=... -e PORTABASE_API_TOKEN=... -e PORTABASE_TRANSPORT=sse -p 8080:8080 ghcr.io/rafaribe/portabase-mcp:rolling
go test ./... # Unit tests
INTEGRATION=1 go test ./tests/... -v # Integration tests (uses httptest fake server)
go build -o portabase-mcp . # Build