Skip to main content
Glama

Orin MCP

Use Orin's four model chains from Claude, Cursor, VS Code, and other MCP clients through hosted Streamable HTTP or local stdio.

Install

Mint a scoped token in Orin Chat → Account → MCP tokens, then install from GitHub:

npx -y github:januththedev/orin-mcp
ORIN_MCP_TOKEN=… orin-mcp

The package runs prepare/prepack, so dist/cli.js is built before execution. The npm dry-run package test verifies that the binary is included.

Hosted endpoint:

https://mcp.orinai.org/api/mcp
Authorization: Bearer <scoped-token>

Related MCP server: RanchHand

Tools and scopes

  • orin_chat, orin_generate — chat:generate

  • orin_list_models and orin://models — models:read

  • orin_usage and orin://usage — usage:read

Core enforces the same scopes on its direct /api/mcp endpoint. A token cannot bypass MCP scope checks by calling Orin Core directly.

Presets

  • orin-cheap

  • orin-balanced

  • orin-thinking

  • orin-coding

MCP requests are bounded to 100 messages, 12,000 characters per message, and 64 KiB aggregate request size.

Configuration

Variable

Required

Purpose

ORIN_MCP_TOKEN

stdio

Scoped Orin MCP credential

ORIN_API

No

https://orinai.org; loopback requires ORIN_ALLOW_LOCAL_CORE=1

ORIN_MCP_PER_MIN

No

Per-credential limit, default 60/min

ORIN_MCP_TIMEOUT_MS

No

Backend timeout, capped at 30 seconds

Diagnostics always use stderr so stdio stdout remains valid JSON-RPC.

Development

npm ci
npm run platform:build
npm run typecheck
npm test
npm run test:package

Tests are hermetic and use only local fakes. No live Orin, model, or external network call is made.

Security

  • Tokens and provider secrets are never logged.

  • Core verifies revocation and exact token type/scopes.

  • HTTP accepts only a bounded bearer token shape.

  • Provider API URLs are fixed to the trusted Orin Core origin.

  • Local stdio logs cannot corrupt the MCP protocol stream.

  • Unknown tool input is rejected before backend access.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    A universal server that enables MCP-compatible clients (like Claude Desktop, Cursor, VS Code) to access OpenAI's APIs for chat completions, image generation, embeddings, and model listing through a standardized interface.
    5 npm
    7
    MIT
  • -
    license
    C
    quality
    Not graded
    maintenance
    Enables interaction with OpenAI-compatible APIs (like Ollama) through MCP tools. Provides access to chat completions, model listings, and embeddings generation from local or remote OpenAI-style endpoints.
    3
    -
  • A
    license
    A
    quality
    C
    maintenance
    Integrates Google's Gemini AI models into Claude Code and other MCP clients to provide second opinions, code comparisons, and token counting. It supports streaming responses and multi-turn conversations directly within your existing AI development workflow.
    3
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Enables MCP clients like Claude Code and Cursor to use multiple AI models (Gemini, GPT, Grok, DeepSeek, Kimi, Ollama) via a unified chat tool with conversation memory.
    3
    44 PyPI
    1
    Apache 2.0