Cover image
Try Now
2025-02-25

A lightweight Go application that parses JSON configuration files and executes commands with specified environment variables.

3 years

Works with Finder

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

  1. Ensure you have Go installed (version 1.21 or higher)

  2. Clone the repository:

    git clone https://github.com/daniel-lxs/mcp-starter.git
    cd mcp-starter
    
  3. Build the application:

    go build -o mcp-starter
    

    Windows Users: To prevent terminal windows from appearing when the application is launched, use:

    go build -ldflags "-H=windowsgui" -o mcp-starter.exe
    

Usage

  1. Create a JSON configuration file (e.g., config.json):

    {
      "mcpServers": {
        "MyServer": {
          "command": "my-command",
          "args": ["arg1", "arg2"],
          "env": {
            "MY_ENV_VAR": "value"
          }
        }
      }
    }
    
  2. Prepare the command to add it to Cursor:

    path/to/mcp-starter path/to/config.json
    
  3. Paste the command into the "Add MCP Server dialog: image

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:

  1. Right-click the .exe file
  2. Select "Properties"
  3. Check "Unblock" under the General tab
  4. Click "OK"
  5. Run the executable

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

  • patruff
  • Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

  • pontusab
  • The Cursor & Windsurf community, find rules and MCPs

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • appcypher
  • Awesome MCP Servers - A curated list of Model Context Protocol servers

    Reviews

    5 (1)
    Avatar
    user_b1kVMARy
    2025-04-18

    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!