@opentype/mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenType for JavaScript and TypeScript
Official JavaScript packages for OpenType: calibrated decisions, schema-validated verdicts and model routing, served by Neon 1.1.
Package | What it is |
TypeScript client for the OpenType API, with tool adapters for the AI SDK, OpenAI and Anthropic | |
MCP server that gives coding agents (Claude Code, Codex, Cursor, VS Code, OpenCode) the same tools | |
Native OpenCode plugin |
Docs: https://docs.opentype.dev
Install
The packages are not on npm yet. Until the first release, build from this repo (see Development).
npm install @opentype/sdkRelated MCP server: agent-fastpath
Quickstart
Create a key at https://console.opentype.dev/keys and export it:
export OPENTYPE_API_KEY=otsk_...import { OpenType } from "@opentype/sdk";
const ot = new OpenType(); // reads OPENTYPE_API_KEY
const d = await ot.decide({
prompt: "Refund me today or I dispute the charge.",
question: "Is the customer threatening to escalate?",
});
console.log(d.answer); // { type: "noul", probability: 0.93 }MCP server for a coding agent:
claude mcp add opentype -e OPENTYPE_API_KEY=otsk_... -- npx -y @opentype/mcpThe Claude Code plugin lives in OpentypeAI/opentype-claude-plugin. The Python SDK lives in OpentypeAI/opentype-python.
Development
pnpm install
pnpm build
pnpm typecheck
pnpm test
pnpm test:stdio # starts the built MCP server over stdio and checks its tool list
pnpm test:plugin # OpenCode plugin (Node >= 22.6)openapi.json is a copy of the API contract; pnpm generate regenerates packages/sdk/src/generated/schema.ts from it.
Releasing
.github/workflows/release.yml publishes all three packages to npm with trusted publishing (OIDC, npm publish --provenance) when a v* tag is pushed. It is inert until the owner configures npm:
Create the
@opentypescope (npm organization) on npmjs.com.For each of
@opentype/sdk,@opentype/mcp,@opentype/opencode-plugin, add a trusted publisher: GitHub Actions, organizationOpentypeAI, repositoryopentype-js, workflowrelease.yml, environmentnpm. (A package must exist before a trusted publisher can be attached; if npm requires it, do the very first publish by hand.)Create the
npmenvironment in this repo's settings, and set the repository variableNPM_PUBLISH=true.Bump the three
versionfields, thengit tag v0.1.0 && git push --tags.
License
Apache-2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to make confident decisions using calibrated probabilistic tools for screening, verification, ranking, classification, and gating, fully self-hosted as an optional MCP server.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to offload quick judgment calls like shipping readiness, file triage, and claim verification to a fast local MCP server with calibrated confidence and safe fallbacks.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to route coding tasks across local and cloud models with explicit budgets, repository planning and execution, and independent validation/repair checks.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceExposes local MCP tools for typed, calibrated LLM decisions — gating risky actions, yes/no judging, classification, ordinal rating, and multi-question decisions in one pass. Runs on the model Devin's CLI already provides via ACP (or a fully offline local backend), so agents get calibrated confidence with no extra API key, no Ollama, and no waitlist.52 PyPI6MIT