dive-into-mcp

dive-into-mcp is a tool designed for developers to deeply explore MCP (Minimum Cost Projects) using JavaScript. It provides features aimed at enhancing project efficiency and is tailored for ease of use and extensibility. This tool is particularly suitable for intermediate developers looking to optimize their workflows.

GitHub Stars

1

User Rating

Not Rated

Favorites

0

Views

58

Forks

0

Issues

0

README
Dive Into MCP

Welcome to the Dive Into MCP repository! This project is designed to help you explore and understand the Model Context Protocol (MCP) through practical examples and utilities.

Features
  • Hello MCP: A sample implementation of MCP concepts.
Prerequisites
  • Node.js (v22.16.0 or higher recommended)
  • pnpm (for package management)
Installation

Example for Hello_MCP project

  1. Clone the repository:
    git clone https://github.com/your-username/dive-into-mcp.git
    cd dive-into-mcp/hello_mcp
    
  2. Install dependencies:
    pnpm install
    
  3. To build the project:
    pnpm run build:tsup
    
  4. Link Hello_MCP node cli to globally executable via npm
    npm link
    # it will link the build index.js file to globally executable via hello_mcp command in terminal.
    
Setting Up MCP Server in VS Code

To set up the MCP server in VS Code, follow these steps:

  1. Make sure you have VSCode installed or any other equavalent.

  2. Add this config to you vscode settings,

      "mcp": {
            "servers": {
            "HELLO_MCP": {
                "type": "stdio",
                "command": "hello_mcp",
                "args": []
            }
        }
     }
    
  3. Open Copilot Chat change the mode from ask to agent mode. Now you're ready to go !