MCP ExplorerExplorer

Dive Into Mcp

@sefatanamon 10 months ago
1 MIT
FreeCommunity
AI Systems
#deepseek#mcp#mcp-client#mcp-server#ollama#tsup#typescript
This project is designed to help you explore and understand the Model Context Protocol (MCP) through practical examples and utilities.

Overview

What is Dive Into Mcp

Dive Into MCP is a project aimed at helping users explore and understand the Model Context Protocol (MCP) through practical examples and utilities.

Use cases

Use cases include developing applications that utilize MCP for context management, integrating MCP into existing projects, and educational purposes for learning about the protocol.

How to use

To use Dive Into MCP, clone the repository, install the necessary dependencies using pnpm, build the project, and link the Hello_MCP command globally for execution in the terminal.

Key features

Key features include a sample implementation of MCP concepts, specifically the Hello MCP example, which serves as a practical demonstration of the protocol.

Where to use

Dive Into MCP can be used in software development environments, particularly for applications that require understanding and implementing the Model Context Protocol.

Content

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 !

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers