MCP-Starter
Eine leichte GO -Anwendung, die JSON -Konfigurationsdateien analysiert und Befehle mit angegebenen Umgebungsvariablen ausführt.
1
Github Watches
6
Github Forks
31
Github Stars
MCP Starter
A lightweight Go application that parses JSON configuration files and executes commands with specified environment variables.
Features
- Parses JSON configuration files
- Executes commands with environment variables
- Supports single server configuration
- Cross-platform (Linux, Windows, macOS)
Installation
Pre-built Binaries
Download the latest release for your platform from the Releases page.
From Source
-
Ensure you have Go installed (version 1.21 or higher)
-
Clone the repository:
git clone https://github.com/daniel-lxs/mcp-starter.git cd mcp-starter -
Build the application:
go build -o mcp-starterWindows Users: To prevent terminal windows from appearing when the application is launched, use:
go build -ldflags "-H=windowsgui" -o mcp-starter.exe
Usage
-
Create a JSON configuration file (e.g.,
config.json):{ "mcpServers": { "MyServer": { "command": "my-command", "args": ["arg1", "arg2"], "env": { "MY_ENV_VAR": "value" } } } } -
Prepare the command to add it to Cursor:
path/to/mcp-starter path/to/config.json -
Paste the command into the "Add MCP Server dialog:
Note: Use the full path to the executable and the config file.
Configuration
The JSON configuration file must contain exactly one server definition with the following structure:
{
"mcpServers": {
"ServerName": {
"command": "command-to-execute",
"args": ["argument1", "argument2"],
"env": {
"ENV_VAR_NAME": "value"
}
}
}
}
-
command: The command to execute (required) -
args: Array of arguments to pass to the command (optional) -
env: Key-value pairs of environment variables (optional)
Development
Building
To build the application:
go build -o mcp-starter
See Installation section for platform-specific build instructions.
Testing
Run the tests:
go test ./...
Linting
Run the linter:
golangci-lint run
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Windows Users
The Windows executable is not code-signed. To run it:
- Right-click the .exe file
- Select "Properties"
- Check "Unblock" under the General tab
- Click "OK"
- Run the executable
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Advanced software engineer GPT that excels through nailing the basics.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
Reviews
user_b1kVMARy
As a dedicated user of the mcp-starter, I must say it is an exceptional tool for kickstarting projects efficiently. Created by daniel-lxs, this tool streamlines the initial setup process, saving valuable time. The integration with GitHub and clear documentation enhance usability for both beginners and experienced developers. Highly recommend checking it out at https://github.com/daniel-lxs/mcp-starter!