AI Review Ready
Home / MCP scans / Server directory / ooples/token-optimizer-mcp
MCP server · ooples/token-optimizer-mcp

ooples/token-optimizer-mcp: MCP safety grade F

Hand-checked safety hygiene for the ooples/token-optimizer-mcp MCP server: tool safety hints, pinned installs and committed configs, with file-and-line evidence.

MCP safety F 44/100

Short answer: at the commit we checked, ooples/token-optimizer-mcp scores 44/100 (grade F): 6 of 108 tools carry an MCP safety hint, 2 of 14 destructive-like tools say they change things, and its README has at least one launch line with no pinned version. This is a hygiene grade, not a security audit.

What we checked

Repositoryooples/token-optimizer-mcp · MIT · JavaScript · about 594 GitHub stars
Commit checked7e29bbf, scanned 14–15 Nov 2026, hand-checked 17 Nov 2026. The repository has had 18 commits since then (as of 26 Nov 2026), so the current code may score differently.
Tools the server registers108
Tools with any MCP safety hint6 of 108
Destructive-like tools (delete, write, run, execute…)14, of which 2 carry a hint
README install linehas at least one launch line with no pinned version
Config findings9

How the score adds up

Start100
12 destructive-like tools with no safety hint (2 each, at most 30)−24
fewer than half of all tools carry a safety hint (6 of 108)−10
README tells you to launch it without a pinned version−10
MCP config committed in the repo uses a moving tag such as @latest (MCP003, 9×)−12
Score44 / 100 → grade F

Rules in full: methodology. A–F: A 90+, B 80–89, C 70–79, D 60–69, F below 60.

Evidence from the code

  • How tools are registered: ListTools returns ADVERTISED_TOOL_DEFINITIONS = selectToolDefinitions(TOOL_DEFINITIONS) (src/server/mcp-server.ts:381,456). All 108 entries of the TOOL_DEFINITIONS array (src/server/tool-definitions.ts:122) were resolved to their imported definition objects. Profiles (core/files/cognitive/... vs full) only filter this list, so all 108 count.
  • How safety hints are set: inline 'annotations' object in 6 definition constants (smart_read, smart_glob, smart_grep, wiki_read, wiki_query, wiki_write); passed through unchanged by the ListTools handler
  • src/server/tool-definitions.ts:122-428 TOOL_DEFINITIONS: 92 imported constants + ...UCR_TOOL_DEFINITIONS (5) + 11 inline objects = 108 distinct names (the 6 code-analysis defs come from src/tools/code-analysis/analysis-tool-definitions.ts)
  • src/server/mcp-server.ts:456-460 tools/list returns ADVERTISED_TOOL_DEFINITIONS as-is
  • src/server/tool-profile.ts selectToolDefinitions: profile 'full' returns all tools; other profiles are subsets
  • src/tools/file-operations/smart-read.ts:596, smart-glob.ts:769, smart-grep.ts:1429 annotations {readOnlyHint:true, destructiveHint:false, ...}
  • src/tools/intelligence/wiki-query.ts:86, wiki-read.ts:224, wiki-write.ts:356 annotations objects
  • src/ucr/codex-app-server.mjs:69-94 codexStudyDynamicTools returns OpenAI-style function definitions for a Codex evaluation harness, not MCP tools
  • MCP003 in gemini-extension.json:10: Committed Gemini extension manifest runs npx @ooples/token-optimizer-mcp@latest
  • MCP003 in src/integrations/cline/mcp.json:7: Shipped Cline MCP config template runs npx ...@latest
  • MCP003 in src/integrations/codex/plugin/.mcp.json:5: Shipped Codex plugin MCP config runs npx -y ...@latest
  • MCP003 in src/integrations/copilot/mcp-config.json:6: Shipped Copilot MCP config runs npx -y ...@latest
  • MCP003 in src/integrations/cursor/mcp.json:7: Shipped Cursor MCP config runs npx ...@latest
  • MCP003 in src/integrations/droid/mcp.json:7: Shipped Droid MCP config runs npx ...@latest
  • MCP003 in src/integrations/gemini/gemini-extension.json:8: Shipped Gemini extension config runs npx -y ...@latest
  • MCP003 in src/integrations/roo/mcp.json:7: Shipped Roo MCP config runs npx ...@latest
  • MCP003 in src/integrations/windsurf/mcp_config.json:7: Shipped Windsurf MCP config runs npx ...@latest (more @latest configs exist that the scanner did not flag: amp/settings.json, codex/config.toml, continue/config.yaml, crush/crush.json, opencode/opencode.json, zed/settings.json; the 3-per-rule cap makes this moot)

Using it more safely

  • Turn on approval for its write and delete tools. 12 of its 14 destructive-like tools don't tell your AI client they change things, so many clients won't ask you first. Set them to "ask every time" in your client's tool settings.
  • Pin the version in your MCP config (package@1.2.3 or package==1.2.3, never @latest), so an update can't change what runs without you knowing.
  • Give it the least access it needs: a scoped token or a test account, not your admin credentials, and only the folders or projects the task needs.
  • Check your own config for unpinned servers, broad folders and hard-coded tokens with the free MCP config checker (runs in your browser).

Shipping an AI agent that uses MCP servers and facing a security review? See how to answer the MCP question, or get your agent reviewed.

Compare with similar servers

Category: Developer tools & coding agents MCP servers (all grades side by side, plus the safer setup for this kind of server).

For the maintainers

Add the badge to your README (it links back to this page, and updates when we re-check):

[![MCP safety: F](https://aireviewready.in/badge/mcp/ooples-token-optimizer-mcp.svg)](https://aireviewready.in/mcp/servers/ooples-token-optimizer-mcp/)

Fixed something, or think we got it wrong? Ask for a re-check and name the commit. We reply within 7 days. Code-level security issues are never published here; they're reported privately first.