MCP Demo

This repository contains a demo implementation of a Model Context Protocol (MCP) server. The server is designed to manage organizations and devices, calculate distances between devices and their…

Local serverstdio

What is the MCP Demo MCP Server?

MCP Demo is an MCP project maintained in the tanjibpa/mcp-server-demo repository. The maintainer describes its purpose as “This repository contains a demo implementation of a Model Context Protocol (MCP) server. The server is designed to manage organizations and devices, calculate distances between…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, DB_PORT. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the MCP Demo MCP Server

{
  "mcpServers": {
    "devices": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-demo",
        "run",
        "main.py"
      ],
      "env": {
        "DB_NAME": "mcp",
        "DB_USER": "mcp_user",
        "DB_PASSWORD": "YOUR_DB_PASSWORD",
        "DB_HOST": "localhost",
        "DB_PORT": "5432"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
DB_NAMEDeclared in the maintainer’s client configuration.Check documentation
DB_USERDeclared in the maintainer’s client configuration.Check documentation
DB_PASSWORDDeclared in the maintainer’s client configuration.Check documentation
DB_HOSTDeclared in the maintainer’s client configuration.Check documentation
DB_PORTDeclared in the maintainer’s client configuration.Check documentation