How ramasamy-24-t/mcp-server works
This repository is a least-privilege MCP server exposing lookup, knowledge-search, escalation, workflow, and Sales-delegation tools to agents. The principal workflow is an agent request entering the MCP server, passing agent/tool authorization, then receiving a data lookup or delegated result. The graph preserves README-documented tool areas even where their implementation was not sampled; those links are documented capability boundaries, not claims about unseen calls. Source excerpts show Cosmos, Search, and embedding access, plus the Sales helper; unsampled details are omitted where wiring is uncertain.
Main entry points: server.py MCP Server · azure_clients.py Cosmos Data · sales_invoke.py Sales Agent Invoke · permissions.py Tool Authorization
Components 16
MCP Boundary
- MCP Server
server.py - Tool Authorization
permissions.py
Operational Lookups
- Order / Account / Device
server.py - Customer Memory / Interactions
server.py - Transaction Lookup
server.py - Workflow Lookup
server.py - Cosmos Data
azure_clients.py
Knowledge Tools
- Policy Lookup
server.py - Vector Search
server.py - Resolved Case Search
server.py - Azure AI Search
azure_clients.py - Query Embeddings
azure_clients.py
Escalation And Sales
- Escalation Package
server.py - Sales Agent Invoke
sales_invoke.py - Sales n8n Agents
Other components
- Agents / Orchestrator
Connections 19
- Agents / Orchestrator → MCP Server: calls tools
README.md - MCP Server → Tool Authorization: checks access
server.py - MCP Server → Order / Account / Device: routes lookup
README.md - MCP Server → Customer Memory / Interactions: routes lookup
README.md - MCP Server → Transaction Lookup: routes lookup
README.md - MCP Server → Workflow Lookup: routes lookup
README.md - Order / Account / Device → Cosmos Data: queries
server.py - Customer Memory / Interactions → Cosmos Data: queries
server.py - Transaction Lookup → Cosmos Data: queries
server.py - MCP Server → Policy Lookup: routes lookup
README.md - MCP Server → Vector Search: routes search
README.md - MCP Server → Resolved Case Search: routes search
README.md - Policy Lookup → Cosmos Data: queries
server.py - Vector Search → Query Embeddings: creates query vector
server.py - Vector Search → Azure AI Search: searches index
server.py - MCP Server → Escalation Package: routes creation
README.md - Escalation Package → Cosmos Data: writes package
server.py - MCP Server → Sales Agent Invoke: delegates invoke
server.py - Sales Agent Invoke → Sales n8n Agents: posts webhook
sales_invoke.py