mcp-ai-gateway
Model Context Protocol (MCP) AI Gateway is a standard way to let an AI model:
* discover what tools exist
* understand what data sources exist
* decide which API / DB function to call
* call them in a safe, structured way
Think of MCP as: “OpenAPI + function calling + permissions + tool registry for AI agents”
Implementing an MCP-style AI gateway where the chatbot does not access databases directly.
Instead, it discovers registered tools (APIs & queries), selects the appropriate one, executes it, and returns structured responses.
Suggested build order--
Create AI Gateway NestJS app
Implement 5-7 read-only tools
Hardcode intent routing
Connect REST + GraphQL
Add frontend chat UI
Swap rule-based routing with local LLM
Add permissions + logging
