AgentHubAgentHub

ai-optimizer

MCP ServerMCP Registry官方收录

io.github.shivam-app-developers/ai-optimizer · v0.1.0

MCP server that cuts AI coding agent token usage via framework-aware context optimization

概览

ai-optimizer 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "ai-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "@ai-optimizer/core"
      ]
    }
  }
}

环境变量

AI_OPTIMIZER_LICENSE可选secret

Ed25519 JWT license key. Unlocks Pro/Team packs; free tier needs no key.

AI_OPTIMIZER_LSP可选

Set to 0 to disable the LSP bridge (optimized_diagnostics).

AI_OPTIMIZER_TELEMETRY可选

Set to 'on' to enable anonymous opt-in telemetry. Off by default.

相关资源

统一 Manifest

{
  "id": "io.github.shivam-app-developers/ai-optimizer",
  "type": "mcp-server",
  "version": "0.1.0",
  "displayName": "ai-optimizer",
  "description": "MCP server that cuts AI coding agent token usage via framework-aware context optimization",
  "repository": {
    "url": "https://github.com/shivam-app-developers/ai-optimizer",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@ai-optimizer/core",
        "version": "0.1.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "AI_OPTIMIZER_LICENSE",
            "description": "Ed25519 JWT license key. Unlocks Pro/Team packs; free tier needs no key.",
            "isSecret": true
          },
          {
            "name": "AI_OPTIMIZER_LSP",
            "description": "Set to 0 to disable the LSP bridge (optimized_diagnostics)."
          },
          {
            "name": "AI_OPTIMIZER_TELEMETRY",
            "description": "Set to 'on' to enable anonymous opt-in telemetry. Off by default."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.shivam-app-developers/ai-optimizer",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.shivam-app-developers%2Fai-optimizer/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
ai-optimizer — MCP Server 安装与配置 · AgentHub