context-aware-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@context-aware-mcpfetch order ordr_123 details"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
context-aware-mcp
A configurable MCP (Model Context Protocol) server with intelligent API routing across microservices. Define your services in JSON, and the server automatically routes natural language queries to the right endpoint.
Quick Start
# Initialize config with a template
npx context-aware-mcp init --template openstore
# Or start with a blank config
npx context-aware-mcp initRelated MCP server: nl2sql-mcp
Installation
npm install -g context-aware-mcpOr use directly with npx:
npx context-aware-mcp <command>CLI Commands
Command | Description |
| Create a new |
| Add a service to config |
| Add an environment URL to a service |
| Set swagger path for a service |
| Remove a service |
| Remove an environment from a service |
| List configured services |
| Validate |
| Compile TypeScript |
| Generate MCP config for Claude Code or VS Code |
All config commands support both --flags mode and interactive mode (run without flags for prompts).
Config Format
Services are defined in mcp-config.json:
{
"$schema": "./mcp-config.schema.json",
"version": "1.0",
"defaults": { "environment": "qa", "swaggerPath": "/api/docs-json" },
"services": {
"my-service": {
"keywords": ["order", "checkout"],
"idPrefixes": ["ordr_"],
"type": "rest",
"environments": {
"qa": { "url": "https://qa-my-service.example.com" },
"local": { "url": "http://localhost:3001" }
}
}
},
"environmentKeywords": {
"qa": ["from qa", "in qa"],
"local": ["locally", "from local"]
}
}MCP Integration
Generate Claude Code or VS Code config:
# Project-level Claude Code config (.mcp.json)
npx context-aware-mcp install
# VS Code config (.vscode/mcp.json)
npx context-aware-mcp install --target vscode
# Both
npx context-aware-mcp install --target allMCP Tools
The server exposes these tools to AI assistants:
smart_api_call — Intelligent routing from natural language queries
fetch_swagger — Fetch and cache OpenAPI specs
call_api — Direct API calls to service endpoints
list_services — List available services
kafka_list_topics / kafka_describe_topic / kafka_read_messages / kafka_consumer_groups — Kafka operations
Development
npm install
npm run build
npm testSee CONTRIBUTING.md for details.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/navjeet4real/context-aware-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server