A general purpose Model Context Protocol (MCP) server that provides comprehensive developer tools for file editing, shell command execution, and screen capture capabilities. Built using the rmcp crate. - View files with language detection for markdown formatting - Write/create files with automatic directory creation - String replacement with precise matching - Undo functionality with edit history
Add this skill
npx mdskills install VertexStudio/developerComprehensive MCP server with strong developer tools, excellent security features, and clear documentation
1# Developer MCP Server23A general purpose Model Context Protocol (MCP) server that provides comprehensive developer tools for file editing, shell command execution, and screen capture capabilities. Built using the [rmcp](https://github.com/modelcontextprotocol/rmcp) crate.45## ๐ Features67### ๐ Text Editor8- **View files** with language detection for markdown formatting9- **Write/create files** with automatic directory creation10- **String replacement** with precise matching11- **Undo functionality** with edit history12- **File size protection** (400KB limit for text files)1314### ๐ฅ๏ธ Shell Integration15- **Cross-platform command execution** (PowerShell on Windows, bash/zsh on Unix)16- **Combined stdout/stderr output** as it appears in terminal17- **Output size protection** (400KB limit)18- **Platform-specific optimizations**1920### ๐ธ Screen Capture21- **Full display screenshots** with monitor selection22- **Window-specific capture** by title23- **Automatic image optimization** (768px max width)24- **Base64 encoded PNG output**2526### ๐ผ๏ธ Image Processing27- **Image file processing** from disk28- **Automatic resizing** while maintaining aspect ratio29- **Format conversion** to PNG30- **macOS screenshot filename handling**3132### ๐ Workflow Management33- **Multi-step problem solving** with sequential progression34- **Branching workflows** for alternative solution paths35- **Step revision** capability to update previous steps36- **Context preservation** across complex reasoning processes3738### ๐ Security Features39- **Gitignore integration** - respects `.gitignore` patterns for file access control40- **Path validation** - requires absolute paths to prevent directory traversal41- **File size limits** - prevents memory exhaustion attacks42- **Access pattern filtering** - blocks access to sensitive files4344## ๐ Requirements4546- **Rust** 1.70+ (for building from source)47- **Claude Desktop** or compatible MCP client48- **Operating System**: macOS, Linux, or Windows4950## ๐ ๏ธ Installation5152### Option 1: Build from Source (Recommended)53541. **Clone the repository:**55 ```bash56 git clone git@github.com:VertexStudio/developer.git57 cd developer58 ```59602. **Build the project:**61 ```bash62 cargo build --release63 ```64653. **The binary will be available at:**66 ```67 target/release/developer68 ```6970### Option 2: Development Build7172For development/testing purposes:73```bash74cargo build75# Binary at: target/debug/developer76```7778## โ๏ธ Configuration7980### Claude Desktop Setup81821. **Open Claude Desktop configuration file:**8384 **macOS/Linux:**85 ```bash86 code ~/Library/Application\ Support/Claude/claude_desktop_config.json87 ```8889 **Windows:**90 ```bash91 code %APPDATA%\Claude\claude_desktop_config.json92 ```93942. **Add the developer server configuration:**9596 ```json97 {98 "mcpServers": {99 "developer": {100 "command": "/path/to/your/developer/target/release/developer",101 "args": []102 }103 }104 }105 ```106107 **Example configurations:**108109 **Development build:**110 ```json111 {112 "mcpServers": {113 "developer": {114 "command": "/Users/rozgo/vertex/developer/target/debug/developer",115 "args": []116 }117 }118 }119 ```120121 **Production build:**122 ```json123 {124 "mcpServers": {125 "developer": {126 "command": "/Users/rozgo/vertex/developer/target/release/developer",127 "args": []128 }129 }130 }131 ```1321333. **Restart Claude Desktop** to load the new configuration.134135### File Access Control (Optional)136137Create a `.gitignore` file in your working directory to control which files the server can access:138139```gitignore140# Sensitive files141.env142.env.*143secrets.*144private/145*.key146*.pem147148# Build artifacts149target/150node_modules/151dist/152```153154The server will automatically respect these patterns and block access to matching files.155156## ๐ฏ Usage Examples157158Once configured, you can use these tools directly in Claude Desktop:159160### Text Editing161```162"Can you view the contents of /path/to/my/file.rs?"163164"Please create a new file at /path/to/hello.py with a simple hello world script"165166"Replace the line 'old_function()' with 'new_function()' in /path/to/main.rs"167168"Undo the last edit to /path/to/main.rs"169```170171### Shell Commands172```173"Run 'ls -la' to show me the current directory contents"174175"Execute 'cargo test' to run the test suite"176177"Run 'git status' to check the repository status"178```179180### Screen Capture181```182"Take a screenshot of my main display"183184"Capture a screenshot of the window titled 'VS Code'"185186"Show me what windows are available for capture"187```188189### Image Processing190```191"Process the image at /path/to/screenshot.png and show it to me"192193"Load and display the image from /Users/me/Desktop/diagram.jpg"194```195196### Workflow Management197```198"Start a workflow to implement a new feature with 5 steps"199200"Create a branch from step 3 to explore an alternative approach"201202"Revise step 2 to use a different algorithm"203```204205## ๐๏ธ Architecture206207```208Developer MCP Server209โโโ Text Editor โ File viewing, editing, string replacement, undo210โโโ Shell โ Cross-platform command execution211โโโ Screen Capture โ Display and window screenshots212โโโ Image Processor โ File-based image processing213โโโ Workflow โ Multi-step problem solving with branching214โโโ Security Layer โ Gitignore integration, path validation215```216217## ๐ง Tool Reference218219### text_editor220- **Commands:** `view`, `write`, `str_replace`, `undo_edit`221- **Parameters:** `path` (required), `file_text`, `old_str`, `new_str`222- **Limits:** 400KB file size, absolute paths only223224### shell225- **Parameters:** `command` (required)226- **Features:** Platform detection, output redirection, size limits227- **Limits:** 400KB output size228229### screen_capture230- **Parameters:** `display` (optional), `window_title` (optional)231- **Output:** Base64 PNG image, 768px max width232233### list_windows234- **Parameters:** None235- **Output:** List of capturable window titles236237### image_processor238- **Parameters:** `path` (required)239- **Features:** Auto-resize, format conversion, macOS compatibility240- **Limits:** 10MB file size241242### workflow243- **Parameters:** `step_description`, `step_number`, `total_steps`, `next_step_needed` (required), `is_step_revision`, `revises_step`, `branch_from_step`, `branch_id`, `needs_more_steps` (optional)244- **Features:** Sequential progression, branching, step revision245- **Output:** JSON workflow status246247## ๐ Troubleshooting248249### Common Issues250251**"Tool not found" errors:**252- Ensure the binary path in your configuration is correct253- Verify the binary exists and is executable254- Check Claude Desktop logs for detailed error messages255256**"File access denied" errors:**257- Check if the file is blocked by `.gitignore` patterns258- Ensure you're using absolute paths (not relative paths)259- Verify file permissions260261**"Command failed" errors:**262- Ensure the command exists and is in your system PATH263- Check if the command requires special permissions264- Verify the command syntax for your operating system265266### Debug Mode267268Build with debug info for troubleshooting:269```bash270cargo build271# Use target/debug/developer in your configuration272```273274### MCP Inspector275276Use the official MCP inspector to debug and test tools:277```bash278npx @modelcontextprotocol/inspector target/debug/developer279```280281This will open a web interface where you can:282- Inspect available tools and their schemas283- Test tool calls interactively284- Debug server responses285- Validate MCP protocol compliance286287### Tools Schema Export288289Export the tools JSON schema for debugging or integration:290```bash291# Save tools schema to file292cargo run toolbox > tools.json293294# Pretty print tools schema295cargo run toolbox | jq .296```297298## ๐ค Contributing2993001. Fork the repository3012. Create a feature branch3023. Add tests for new functionality3034. Ensure all tests pass: `cargo test`3045. Submit a pull request305306## ๐ License307308[MIT](LICENSE)309310## ๐ Related Projects311312- [Model Context Protocol](https://modelcontextprotocol.io/) - The protocol specification313- [Claude Desktop](https://claude.ai/download) - Official Claude desktop application314- [MCP Servers](https://github.com/modelcontextprotocol/servers) - Official MCP server implementations315
Full transparency โ inspect the skill content before installing.