MCP server for Rustpad, the self-hosted collaborative text editor
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add rustpad --env RUSTPAD_URL='<RUSTPAD_URL>' -- npx -y rustpad-mcp~/.codex/config.toml
[mcp_servers.rustpad]
command = "npx"
args = ["-y", "rustpad-mcp"]
env = { RUSTPAD_URL = "<RUSTPAD_URL>" }
# codex mcp add rustpad --env RUSTPAD_URL='<RUSTPAD_URL>' -- npx -y rustpad-mcp~/.cursor/mcp.json
{
"mcpServers": {
"rustpad": {
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "<RUSTPAD_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"rustpad": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "<RUSTPAD_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rustpad": {
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "<RUSTPAD_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rustpad": {
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "<RUSTPAD_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"rustpad": {
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "<RUSTPAD_URL>"
}
}
}
}Environment variables
RUSTPAD_URL
Replace the placeholders with your own credentials and keep them out of version control.