
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A demo MCP server backed by PostgreSQL that manages organizations and devices and exposes tools for querying them and calculating device-to-organization distances.
MCP server for organizations and devices is cataloged as an MCP server attributed to tanjibpa. A demo MCP server backed by PostgreSQL that manages organizations and devices and exposes tools for querying them and calculating device-to-organization distances. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for organizations and devices are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It provides get_organizations, get_devices, get_devices_by_organization, and list_devices_with_distance.
The server uses the Haversine formula to calculate distances between devices and their associated organizations.
README.md · 58eaf176f245 · Fetched 2026-11-13 11:48:00 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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 associated organizations, and provide a set of tools for interacting with the data.
Clone the repository:
git clone <repository-url>
cd mcp-demo
Set up a virtual environment:
uv venv
source .venv/bin/activate
Configure the environment variables in a .env file:
DB_NAME=mcp
DB_USER=mcp_user
DB_PASSWORD=pa$$word
DB_HOST=localhost
DB_PORT=5432
Set up the database:
psql -U <username> -d <database> -f tables.sql
Run the MCP server:
uv run main.py
Use the provided tools to interact with the server:
get_organizations: Fetch all organizations from the database.get_devices: Fetch all devices from the database.get_devices_by_organization: Fetch devices for a specific organization.list_devices_with_distance: List devices and their distances from their associated organizations.main.py: Main entry point for the MCP server.tables.sql: SQL script to set up the database schema and seed data..env: Environment variables for database configuration.pyproject.toml: Project metadata and dependencies.httpx: HTTP client for Python.mcp[cli]: MCP framework for building servers.psycopg2: PostgreSQL database adapter for Python.To configure Claude Desktop for this MCP server project, follow these steps:
Install Claude Desktop on your machine from the official website.
Open Claude Desktop and navigate to the settings menu.
Add a new project configuration for the MCP server:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the mcp servers
{
"mcpServers": {
"devices": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-demo",
"run",
"main.py"
],
"env": {
"DB_NAME": "mcp",
"DB_USER": "mcp_user",
"DB_PASSWORD": "pa$$word",
"DB_HOST": "localhost",
"DB_PORT": "5432"
}
}
}
}
List the devices in DB and show me how far are they from their organization address. Also, add get the mac addresses of the devices.Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for organizations and devices from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-demo-tanjibpa)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.