dive-into-mcp

dive-into-mcpは、JavaScriptを使用してMCP(最小限のコストでのプロジェクト)を深く掘り下げるためのツールです。主に開発者向けに設計されており、プロジェクトの効率を高めるための機能を提供します。使いやすさと拡張性を兼ね備えたこのツールは、特に中級者に適しています。

GitHubスター

1

ユーザー評価

未評価

お気に入り

0

閲覧数

20

フォーク

0

イシュー

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 !