Content
# MCP for Cursor
This repository contains tools and scripts for deploying and managing the MCP server for Cursor.
---
## Contents
- **Setup Scripts (Windows Environment)**
- **setup-mcp-servers.ps1**
A PowerShell script for Windows environments. It automatically performs various setups for the MCP server.
- **setup-all-mcp-servers.ps1**
A PowerShell script to set up all MCP servers in bulk.
- **setup-typescript-servers.ps1**
A setup script for servers that use TypeScript (if applicable).
- **Source Code for MCP Servers**
- The source code for each MCP server (e.g., docker-mcp, mcp-text-editor) is located under `mcp-repos/`.
---
## Setup Instructions for Windows Environment
1. **Run the Setup Script**
Windows users should execute `setup-mcp-servers.ps1` or `setup-all-mcp-servers.ps1` in PowerShell.
These scripts will automatically install the necessary dependencies, build each MCP server, and configure them.
2. **Details and Troubleshooting**
- The results and errors from the script execution can be checked in the log files or screen output within each script.
- Detailed installation instructions for the Windows environment are provided in comments within the individual script files.
---
## Setup for WSL (Windows Subsystem for Linux) Environment (Addendum)
While the original content is for Windows environments, additional setup instructions for WSL environments are provided below. WSL users should follow these steps.
### Setup Script (WSL)
- **setup-mcp-servers-wsl.sh**
A Bash script for WSL environments. This script performs the following tasks:
- **Detect WSL Environment**
At the start of the script, it checks whether the current environment is WSL.
- **Update apt Repository and Install Dependencies**
It updates the repository using apt and checks the installation status of Node.js and Python3. If any are missing, it attempts to install them automatically.
- **Setup MCP Server**
Within the specified MCP server directories (e.g., docker-mcp, mcp-text-editor), it executes various build and setup processes (such as npm install and pip install).
- **Upgrade Python Version (Optional)**
Some servers, like mcp-text-editor, require Python 3.13 or higher.
By running with the option `--upgrade-python`, it attempts to upgrade Python at the user level using pyenv (e.g., installing version 3.13.0).
### Execution Method
1. **Basic Setup**
Run the following command in the WSL environment:
```
bash setup-mcp-servers-wsl.sh
```
This execution will sequentially set up the MCP server in the WSL environment, and the output will be recorded in `output.log`.
2. **Upgrade Python (if necessary)**
If the Python version is insufficient during the setup of mcp-text-editor, you can upgrade Python with the following command:
```
bash setup-mcp-servers-wsl.sh --upgrade-python
```
This option will automatically install and configure pyenv, install the specified version of Python (e.g., 3.13.0), and set it as the global environment.
*Note: When using pyenv, you may need to add settings to your shell's initialization file. Please refer to the comments in the script for details.*
---
## Logs and Troubleshooting
- **Logs:**
The output from the WSL setup script is recorded in `output.log`.
If errors or warnings are displayed, please check this log file for resolution.
- **Common Issues:**
- **Missing Python Extension Modules:**
When building Python with pyenv, if modules like `bz2`, `ctypes`, `tkinter`, or `lzma` are missing, it may indicate that necessary libraries (e.g., libbz2, libffi, Tk, xz-utils, etc.) are not installed.
- **PATH Related Warnings:**
If the executable path for locally installed programs (e.g., docker-mcp) is not included in the PATH, warnings may be displayed. Please adjust the PATH as necessary.
---
## Conclusion
This repository provides tools and scripts for setting up the MCP server in both Windows and WSL environments. The existing content for Windows is maintained, and additional information for WSL environments has been added. By executing the appropriate scripts for each environment and referring to the detailed logs, a smooth setup can be achieved.
Happy Coding!
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
firecrawl
Firecrawl MCP Server enables web scraping, crawling, and content extraction.
cc-switch
All-in-One Assistant for Claude Code, Codex & Gemini CLI across platforms.
servers
Model Context Protocol Servers
servers
Model Context Protocol Servers