io.github.shivam-app-developers/ai-optimizer
MCP server that cuts AI coding agent token usage via framework-aware context optimization
- Repository
- github.com/shivam-app-developers/ai-optimizer
- Version
- 0.1.1
- Author
- shivam-app-developers (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 23, 2026)
How to install it
Variables to fill in: AI_OPTIMIZER_LICENSE, AI_OPTIMIZER_LSP, AI_OPTIMIZER_TELEMETRY.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add ai-optimizer -e AI_OPTIMIZER_LICENSE=YOUR_AI_OPTIMIZER_LICENSE -e AI_OPTIMIZER_LSP=YOUR_AI_OPTIMIZER_LSP -e AI_OPTIMIZER_TELEMETRY=YOUR_AI_OPTIMIZER_TELEMETRY -- npx -y @ai-optimizer/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"ai-optimizer": {
"command": "npx",
"args": [
"-y",
"@ai-optimizer/[email protected]"
],
"env": {
"AI_OPTIMIZER_LICENSE": "YOUR_AI_OPTIMIZER_LICENSE",
"AI_OPTIMIZER_LSP": "YOUR_AI_OPTIMIZER_LSP",
"AI_OPTIMIZER_TELEMETRY": "YOUR_AI_OPTIMIZER_TELEMETRY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"ai-optimizer": {
"command": "npx",
"args": [
"-y",
"@ai-optimizer/[email protected]"
],
"env": {
"AI_OPTIMIZER_LICENSE": "YOUR_AI_OPTIMIZER_LICENSE",
"AI_OPTIMIZER_LSP": "YOUR_AI_OPTIMIZER_LSP",
"AI_OPTIMIZER_TELEMETRY": "YOUR_AI_OPTIMIZER_TELEMETRY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"ai-optimizer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ai-optimizer/[email protected]"
],
"env": {
"AI_OPTIMIZER_LICENSE": "YOUR_AI_OPTIMIZER_LICENSE",
"AI_OPTIMIZER_LSP": "YOUR_AI_OPTIMIZER_LSP",
"AI_OPTIMIZER_TELEMETRY": "YOUR_AI_OPTIMIZER_TELEMETRY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.shivam-app-developers/ai-optimizer)HTML
<a href="https://lagora.dev/en/entry/io.github.shivam-app-developers/ai-optimizer"><img src="https://lagora.dev/badge/io.github.shivam-app-developers/ai-optimizer.svg?lang=en" alt="io.github.shivam-app-developers/ai-optimizer on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.