Sponsored by Deepsite.site

MCP Starter Project

Created By
instructa8 months ago
A super simple Starter to build your own MCP Server
Content

MCP Starter Project

mcp starter

License

MCP Starter - A foundation for building your own local Model Context Protocol (MCP) server.

This starter kit provides a basic structure and example setup for creating custom tools accessible via AI assistants like Cursor or Claude Desktop using the MCP standard.


Features

  • 🚀 MCP Ready - Easily integrate with MCP-compatible clients.
  • 🔧 Extensible Tooling - Simple structure to add your own custom tools.
  • 📦 Minimal Setup - Get started quickly with a basic server implementation.
  • ↔️ Based on Anthropic MCP - Follows the specifications outlined by Anthropic.
  • 🤖 Cursor AI Integration - Includes example .cursor/mcp.json configuration.
  • ⌨️ TypeScript - Add type safety to your project.

Usage

mcp starter

Local development

{
  "mcpServers": {
    "my-starter-mcp": {
      "command": "node",
      "args": ["./dist/index.mjs"]
    }
  }
}

Getting Started

Prerequisites

  • Node.js (Specify version if necessary)
  • An MCP-compatible client (e.g., Cursor)

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/YOUR_USERNAME/YOUR_REPO.git
    cd YOUR_REPO
    
  2. Install dependencies:

    npm install
    # or yarn install
    
  3. Configure environment variables:

    • Create a .env file based on .env.example.
    • Add any necessary API keys or configuration values required by your custom tools.
  4. Add to your MCP client: Add the following MCP configuration to your client (e.g., Cursor's .cursor/mcp.json):

    {
      "mcpServers": {
        "my-custom-mcp": {
          "command": "node", // Or your chosen execution command
          "args": ["path/to/your/server/entrypoint.js"], // Adjust path as needed
          "env": {
            // Add any environment variables your server needs from the client side, if any
            // "EXAMPLE_API_KEY": "<INSERT_API_KEY_HERE>"
          }
        }
      }
    }
    
    • Replace "my-custom-mcp" with a unique name for your server.
    • Adjust the "command" and "args" to correctly point to and run your server's main script.
    • Ensure any required env variables are configured either here or directly in your server's environment (e.g., via the .env file).

Running the Server

npm start
# or yarn start

This command should start your MCP server, making its tools available to connected clients.

Available Tools

  • exampleTool: Describe what your example tool does.
  • (Add more tools as you implement them)

Develop

This project provides a starting point. You'll likely want to:

  • Implement your own custom tools within the server logic.
  • Define the schema (parameters, description) for your tools.
  • Add error handling and logging.
  • Write tests for your tools.

Follow the contribution guidelines if you plan to contribute back to the starter project itself.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Courses

See my other projects:

  • AI Prompts - Curated AI Prompts for Cursor AI, Cline, Windsurf and Github Copilot
  • codefetch - Turn code into Markdown for LLMs with one simple terminal command
  • aidex A CLI tool that provides detailed information about AI language models, helping developers choose the right model for their needs.# mcp-starter
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Serper MCP ServerA Serper MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server