@opentype/mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@opentype/mcpDecide if this customer is threatening to escalate: 'Refund me today or I dispute the charge.'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: Jev MCP Server
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
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.
One MCP tool for verified AI-agent outcomes with success-only charging.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables multi-model leader-worker agent orchestration, workflow execution, and deterministic validation via structured MCP tools.7 npmApache 2.0
- AlicenseAqualityBmaintenanceEnables MCP clients to classify, score, and evaluate content with structured typed decisions via a single generic tool.11MIT
- 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.686 npm1MIT
- AlicenseAqualityCmaintenanceEnables agents to call typed code-review and content-moderation decision tools, returning structured verdicts, probabilities, and confidence-gated actions.2MIT