MCP Server Backup
Backup of MCP server with rope tool implementation
Overview
MCP Server Backup is a repository that contains a backup of an example MCP server, specifically focusing on the implementation of the rope tool for Python development.
To use the MCP Server Backup, clone the repository from GitHub and follow the instructions provided in the documentation to set up the server and utilize the rope tool for organizing imports.
- Backup of an example MCP server - Implementation of the rope tool for Python - Documentation on resolving common issues with the organize_imports operation
- Restoring a backup of an MCP server for development purposes.
- Utilizing the rope tool to manage imports in Python projects.
- Troubleshooting issues related to the organize_imports operation in Python code.
Add to your AI client
Use these steps to connect MCP Server Backup in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"example-mcp-server-backup-markpushrec": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-backup-markpushrec"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"example-mcp-server-backup-markpushrec": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-backup-markpushrec"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"example-mcp-server-backup-markpushrec": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-backup-markpushrec"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"example-mcp-server-backup-markpushrec": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-backup-markpushrec"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"example-mcp-server-backup-markpushrec": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-backup-markpushrec"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"example-mcp-server-backup-markpushrec": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-example-mcp-server-backup-markpushrec"
]
}
}
}FAQ
What is the main issue with the organize_imports operation?
The main issue is that the operation is returning an error due to attempting to use the splitlines() method on a ChangeSet object instead of a string.
How can I resolve the organize_imports error?
You may need to check the implementation of the rope tool and ensure that the correct data types are being used in the operation.