Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-scormave-gramps-web-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"GRAMPS_API_URL=<YOUR_VALUE>",
"-e",
"GRAMPS_USERNAME=<YOUR_VALUE>",
"-e",
"GRAMPS_PASSWORD=<YOUR_VALUE>",
"-e",
"GRAMPS_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"GRAMPS_TREE_ID=<YOUR_VALUE>",
"-e",
"GRAMPS_READ_ONLY=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_SERIALIZE=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_MIN_INTERVAL_MS=<YOUR_VALUE>",
"-e",
"GRAMPS_CONFIRMATION=<YOUR_VALUE>",
"-e",
"GRAMPS_REQUIRE_USER_INTERACTION=<YOUR_VALUE>",
"-e",
"GRAMPS_LOG_LEVEL=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_RESOURCES_ENABLED=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_MAX_BYTES=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_ALLOW_PRIVATE=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_DIRS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_HOSTS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_MAX_BYTES=<YOUR_VALUE>",
"ghcr.io/scormave/gramps-web-mcp:2.11.4"
]
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-scormave-gramps-web-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"GRAMPS_API_URL=<YOUR_VALUE>",
"-e",
"GRAMPS_USERNAME=<YOUR_VALUE>",
"-e",
"GRAMPS_PASSWORD=<YOUR_VALUE>",
"-e",
"GRAMPS_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"GRAMPS_TREE_ID=<YOUR_VALUE>",
"-e",
"GRAMPS_READ_ONLY=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_SERIALIZE=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_MIN_INTERVAL_MS=<YOUR_VALUE>",
"-e",
"GRAMPS_CONFIRMATION=<YOUR_VALUE>",
"-e",
"GRAMPS_REQUIRE_USER_INTERACTION=<YOUR_VALUE>",
"-e",
"GRAMPS_LOG_LEVEL=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_RESOURCES_ENABLED=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_MAX_BYTES=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_ALLOW_PRIVATE=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_DIRS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_HOSTS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_MAX_BYTES=<YOUR_VALUE>",
"ghcr.io/scormave/gramps-web-mcp:2.11.4"
]
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-scormave-gramps-web-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"GRAMPS_API_URL=<YOUR_VALUE>",
"-e",
"GRAMPS_USERNAME=<YOUR_VALUE>",
"-e",
"GRAMPS_PASSWORD=<YOUR_VALUE>",
"-e",
"GRAMPS_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"GRAMPS_TREE_ID=<YOUR_VALUE>",
"-e",
"GRAMPS_READ_ONLY=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_SERIALIZE=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_MIN_INTERVAL_MS=<YOUR_VALUE>",
"-e",
"GRAMPS_CONFIRMATION=<YOUR_VALUE>",
"-e",
"GRAMPS_REQUIRE_USER_INTERACTION=<YOUR_VALUE>",
"-e",
"GRAMPS_LOG_LEVEL=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_RESOURCES_ENABLED=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_MAX_BYTES=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_ALLOW_PRIVATE=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_DIRS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_HOSTS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_MAX_BYTES=<YOUR_VALUE>",
"ghcr.io/scormave/gramps-web-mcp:2.11.4"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-scormave-gramps-web-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"GRAMPS_API_URL=<YOUR_VALUE>",
"-e",
"GRAMPS_USERNAME=<YOUR_VALUE>",
"-e",
"GRAMPS_PASSWORD=<YOUR_VALUE>",
"-e",
"GRAMPS_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"GRAMPS_TREE_ID=<YOUR_VALUE>",
"-e",
"GRAMPS_READ_ONLY=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_SERIALIZE=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_MIN_INTERVAL_MS=<YOUR_VALUE>",
"-e",
"GRAMPS_CONFIRMATION=<YOUR_VALUE>",
"-e",
"GRAMPS_REQUIRE_USER_INTERACTION=<YOUR_VALUE>",
"-e",
"GRAMPS_LOG_LEVEL=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_RESOURCES_ENABLED=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_MAX_BYTES=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_ALLOW_PRIVATE=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_DIRS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_HOSTS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_MAX_BYTES=<YOUR_VALUE>",
"ghcr.io/scormave/gramps-web-mcp:2.11.4"
]
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-scormave-gramps-web-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"GRAMPS_API_URL=<YOUR_VALUE>",
"-e",
"GRAMPS_USERNAME=<YOUR_VALUE>",
"-e",
"GRAMPS_PASSWORD=<YOUR_VALUE>",
"-e",
"GRAMPS_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"GRAMPS_TREE_ID=<YOUR_VALUE>",
"-e",
"GRAMPS_READ_ONLY=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_SERIALIZE=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_MIN_INTERVAL_MS=<YOUR_VALUE>",
"-e",
"GRAMPS_CONFIRMATION=<YOUR_VALUE>",
"-e",
"GRAMPS_REQUIRE_USER_INTERACTION=<YOUR_VALUE>",
"-e",
"GRAMPS_LOG_LEVEL=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_RESOURCES_ENABLED=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_MAX_BYTES=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_ALLOW_PRIVATE=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_DIRS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_HOSTS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_MAX_BYTES=<YOUR_VALUE>",
"ghcr.io/scormave/gramps-web-mcp:2.11.4"
]
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-scormave-gramps-web-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"GRAMPS_API_URL=<YOUR_VALUE>",
"-e",
"GRAMPS_USERNAME=<YOUR_VALUE>",
"-e",
"GRAMPS_PASSWORD=<YOUR_VALUE>",
"-e",
"GRAMPS_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"GRAMPS_TREE_ID=<YOUR_VALUE>",
"-e",
"GRAMPS_READ_ONLY=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_SERIALIZE=<YOUR_VALUE>",
"-e",
"GRAMPS_MUTATION_MIN_INTERVAL_MS=<YOUR_VALUE>",
"-e",
"GRAMPS_CONFIRMATION=<YOUR_VALUE>",
"-e",
"GRAMPS_REQUIRE_USER_INTERACTION=<YOUR_VALUE>",
"-e",
"GRAMPS_LOG_LEVEL=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_RESOURCES_ENABLED=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_MAX_BYTES=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_ALLOW_PRIVATE=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_DIRS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_HOSTS=<YOUR_VALUE>",
"-e",
"GRAMPS_MEDIA_UPLOAD_MAX_BYTES=<YOUR_VALUE>",
"ghcr.io/scormave/gramps-web-mcp:2.11.4"
]
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| MCP_TRANSPORT | No | Pinned to stdio for registry-installed containers that the client spawns itself. The image's own default is http (Streamable HTTP on port 8080) for networked Docker deployments; see the README for that setup. |
| GRAMPS_API_URL | Yes | Base URL of your Gramps Web instance (no trailing slash) |
| GRAMPS_USERNAME | Yes | API user name |
| GRAMPS_PASSWORD secret | Yes | API password or token |
| GRAMPS_REFRESH_TOKEN secret | No | Refresh token for instances with password login disabled; replaces GRAMPS_USERNAME and GRAMPS_PASSWORD |
| GRAMPS_TREE_ID | Yes | Tree UUID on that server |
| GRAMPS_READ_ONLY | No | Set to true to block create, update, and delete tools Default: false |
| GRAMPS_MUTATION_SERIALIZE | No | Serialize create/update/delete HTTP calls in-process (set false to allow parallel writes) Default: true |
| GRAMPS_MUTATION_MIN_INTERVAL_MS | No | Minimum milliseconds between mutation HTTP calls. Use 250 or 500 on SQLite if you see database is locked Default: 0 |
| GRAMPS_CONFIRMATION | No | Whether delete_object, merge_objects and undo_change ask the user to confirm through MCP elicitation: when-supported, required (refuse in clients that cannot ask), or off Default: when-supported |
| GRAMPS_REQUIRE_USER_INTERACTION | No | Set to false to publish delete_object, merge_objects and undo_change without the anthropic/requiresUserInteraction tool metadata, so the client's own permission settings decide whether to ask Default: true |
| GRAMPS_LOG_LEVEL | No | Server log level: Trace, Debug, Information, Warning, Error, Critical, or None. Debug and Trace also log request and response bodies, which contain genealogy data Default: Information |
| GRAMPS_MEDIA_RESOURCES_ENABLED | No | Set to true to expose read_media and the media resources for thumbnails and full files, and to allow uploads from GRAMPS_MEDIA_UPLOAD_DIRS and GRAMPS_MEDIA_UPLOAD_HOSTS Default: false |
| GRAMPS_MEDIA_MAX_BYTES | No | Maximum bytes returned by read_media or a media resource Default: 5242880 |
| GRAMPS_MEDIA_ALLOW_PRIVATE | No | Set to true to return bytes for media records marked private Default: false |
| GRAMPS_MEDIA_UPLOAD_DIRS | No | Absolute folders, separated by : (; on Windows), that create_media and update_media may upload photos, scans and PDFs from while GRAMPS_MEDIA_RESOURCES_ENABLED is true. With this and GRAMPS_MEDIA_UPLOAD_HOSTS unset, uploading is off and create_media is hidden |
| GRAMPS_MEDIA_UPLOAD_HOSTS | No | Host names, separated by commas, that files attached in the chat (ChatGPT file parameters) may be downloaded from over HTTPS by create_media and update_media while GRAMPS_MEDIA_RESOURCES_ENABLED is true; each also allows its subdomains, and the first label may hold one * matched within that label (ChatGPT: oaiusercontent.com,oaisdmntpr*.blob.core.windows.net). Unset turns uploading attached files off |
| GRAMPS_MEDIA_UPLOAD_MAX_BYTES | No | Largest file create_media or update_media uploads Default: 52428800 |