MCP HubMCP Hub
dexaai

mcp-quickstart

by: dexaai

Setup an MCP server in 60 seconds.

12created 12/12/2024
Visit
Quickstart

📌Overview

Purpose: Set up a Model Context Protocol (MCP) server quickly and efficiently for seamless integration with applications.

Overview: The MCP Server Quickstart guide provides a streamlined approach to configuring a model context protocol server using Bun. It is designed for users who want to implement a weather service via the Claude desktop app in just 60 seconds, showcasing the ease of setup and configuration.

Key Features:

  • Quick Setup: The guide allows users to establish an MCP server in under a minute, promoting rapid development and deployment.

  • Bun Integration: Utilizes Bun for dependency management and server execution, ensuring optimized performance and easy installation.

  • Configuration Flexibility: Enables users to easily customize server settings by modifying the Claude desktop app configuration, providing adaptability for various use cases.


MCP Server Quickstart

Setup a Model Context Protocol (MCP) server in 60 seconds.

Usage

  1. Ensure you have Bun installed.
  2. Clone the repo and install dependencies:
    git clone https://github.com/dexaai/mcp-quickstart.git mcp-quickstart && cd mcp-quickstart && bun install
    
  3. Copy the absolute path to the server:
    realpath server.ts | pbcopy
    
  4. Open the Claude desktop app config:
    vim ~/Library/Application\ Support/Claude/claude_desktop_config.json
    
  5. Add the server config with the path from step 3 instead of <path/to/repo>/server.ts.
    {
      "mcpServers": {
        "weather-quickstart": {
          "command": "bun",
          "args": ["<path/to/repo>/server.ts"]
        }
      }
    }
    
  6. Restart the Claude desktop app and ask for the weather.