{"_id":"@dailui/omega-api-mcp","name":"@dailui/omega-api-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dailui/omega-api-mcp","version":"0.1.0","description":"MCP server exposing the Omega-API geometric judge as one tool.","scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build","test":"node test/offline.test.mjs"},"keywords":[],"author":"","license":"Apache-2.0","type":"module","dependencies":{"@dailui/omega-api":"^0.1.0","@modelcontextprotocol/sdk":"^1.30.0","zod":"^4.4.3"},"devDependencies":{"@types/node":"^20.19.43","typescript":"^5.6.0"},"homepage":"https://omega.dailui.com/integrations.php","bin":{"omega-api-mcp":"dist/index.js"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/DaiLui/omega-api-examples.git"},"_id":"@dailui/omega-api-mcp@0.1.0","bugs":{"url":"https://github.com/DaiLui/omega-api-examples/issues"},"_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-lgYOCg3x1UUZ943dEhBRiXezh+c+NOylHfbSGu65ikUQlmF9e/ZsKR1ky+hklATTqT8Z258PRdYMjnscuvpnew==","shasum":"a8d0bcaa85159de6a295b829374cbe9bd64be104","tarball":"https://registry.npmjs.org/@dailui/omega-api-mcp/-/omega-api-mcp-0.1.0.tgz","fileCount":7,"unpackedSize":20164,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDvywZQl8NjuGvIJtrBoZlTPHg3V7A4Lgl5DT0q9ZL0jAIhAO18kd+gMwuQmbn7IgZxfBcjbDlsUA7HW2UzNxdjJCcW"}]},"_npmUser":{"name":"dailui","email":"dlugli76@gmail.com"},"directories":{},"maintainers":[{"name":"dailui","email":"dlugli76@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/omega-api-mcp_0.1.0_1786004777476_0.9991681207847711"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-06T08:26:17.253Z","0.1.0":"2026-08-06T08:26:17.618Z","modified":"2026-08-06T08:26:17.860Z"},"maintainers":[{"name":"dailui","email":"dlugli76@gmail.com"}],"description":"MCP server exposing the Omega-API geometric judge as one tool.","homepage":"https://omega.dailui.com/integrations.php","keywords":[],"repository":{"type":"git","url":"git+https://github.com/DaiLui/omega-api-examples.git"},"bugs":{"url":"https://github.com/DaiLui/omega-api-examples/issues"},"license":"Apache-2.0","readme":"# @dailui/omega-api-mcp\n\nAn [MCP](https://modelcontextprotocol.io) server that gives an AI agent one tool to reach the **Omega-API judge**.\n\n> Give agents access to the judge without moving the judge into the agent.\n\nThe agent calls the tool with a turn; the judge — which stays on the server — returns a decision and a gate action.\nZero judge logic runs in the agent. Apache-2.0. Node 18+.\n\n## The tool\n\n**`omega_judge_turn`** — judge one agent turn: does the conversational process move? Returns a decision and a gate\naction. It measures process shape, not whether the goal was reached.\n\nInput:\n\n| field          | type                 | notes                                             |\n| -------------- | -------------------- | ------------------------------------------------- |\n| `input`        | string (optional)    | the user / incoming message                       |\n| `output`       | string (optional)    | the agent's drafted reply (at least one of these) |\n| `session_id`   | string (optional)    | one id per conversation                           |\n| `privacy_mode` | `FULL` \\| `REDACTED` | optional                                          |\n\nResult:\n\n```json\n{\n  \"turn_id\": \"t_…\",\n  \"decision\": \"PROCEED | CLARIFY | STOP\",\n  \"reason_family\": \"…\",\n  \"side\": \"…\",\n  \"gate\": { \"action\": \"release | clarify | suppress | none\", \"release_original\": true }\n}\n```\n\nAct on the gate **before** showing the reply: `release` → show · `clarify` → regenerate then call again ·\n`suppress` → stop or escalate · `none` → observe only, show.\n\n## Before you start: register → key → judge → meter\n\nRegister a project and get an API key (`oapi_live_…`) at <https://omega.dailui.com/signup.php>. Your first 100\njudgments are free; after that, billing applies.\n\n## Add it to your MCP host\n\nMost hosts (Claude Desktop, IDE agents) launch MCP servers from a config file. Add:\n\n```json\n{\n  \"mcpServers\": {\n    \"omega-api\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@dailui/omega-api-mcp\"],\n      \"env\": { \"OMEGA_API_KEY\": \"oapi_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" }\n    }\n  }\n}\n```\n\nThe host starts the server over stdio and the `omega_judge_turn` tool becomes available to the agent.\n\n## What it does not claim\n\nIt measures whether the process **moved**. It does not promise the agent achieved the user's goal — the two are\nindependent. It returns no scores or internal measures, only the decision and the gate.\n\n## Links\n\n- Learn more: <https://omega.dailui.com/integrations.php>\n- Python client: `pip install omega-api` · JavaScript client: `npm install @dailui/omega-api`\n- Examples & HTTP runner: <https://github.com/DaiLui/omega-api-examples>\n\n## License\n\nApache-2.0.\n","readmeFilename":"README.md","_rev":"1-6733b9dc02ac8f8f389467c0d2e2216d"}