mcp-server-and-client

Dibya956/mcp-server-and-client

3.2

If you are the rightful owner of mcp-server-and-client and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides a comprehensive overview of the Model Context Protocol (MCP) Server and Client, detailing its features, tools, resources, and usage across different platforms.

Tools
  1. Model Context Protocol Inspector

    A tool for inspecting and debugging MCP interactions in real-time.

mcp-server-and-client

This is a Model Context Protocol Server and Client.

Deployment

Add .vscode folder to it if you are in vscode.

Inside .vscode add file mcp.json.

content inside mcp.json

    {
  "servers": {
    "test-mcp-video-server": {
      "type": "stdio",
      "command": "node",
      "args": ["build/server.js"],
      "cwd": "${workspaceFolder}",
      "dev": {
        "watch": "build/**/*.js",
        "debug": {
          "type": "node"
        }
      }
    }
  }
}

To deploy this project use npm and run

  "scripts": {
    "server:build": "tsc",
    "server:build:watch": "tsc --watch",
    "server:dev": "tsx src/server.ts",
    "server:inspect": "set DANGEROUSLY_OMIT_AUTH=true && npx @modelcontextprotocol/inspector npm run server:dev",
    "client:dev": "tsx src/client.ts"
  }