mcp-server-demo
0
This project provides a demo MCP server implementation, focusing on managing organizational data and device locations using PostgreSQL. It features distance calculation between devices and organizations utilizing a Haversine formula, with tools for interacting with this data.
MCP Demo
This repository contains a demo implementation of a Model Context Protocol (MCP) server. The server manages organizations and devices, calculates distances between them, and provides interaction tools.
Features
- Database Integration: Connects with PostgreSQL for managing organizations and devices.
- Distance Calculation: Uses Haversine formula for device and organization distances.
- MCP Tools: Tools to fetch organizations, devices, and compute distances.
Prerequisites
- Python 3.12.5
- PostgreSQL database
Usage
Run the MCP server and utilize tools to interact, such as fetching organizations and calculating distances.