cor-auth

A step-by-step authentication guide for the COR MCP Server. It explains email-and-password login, client credentials, token refreshing, environment variables, and common authentication errors.

In plain words
What is it for?
Use it when setting up COR access for personal agents, testing, or automated server-to-server workflows.
Why use it?
It helps developers configure the server's authentication correctly and troubleshoot failed sign-ins.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/fxckcode/mcp-cor/cor-auth
Any agent
npx skills add fxckcode/mcp-cor --skill cor-auth
Clone the repo
git clone --depth 1 https://github.com/fxckcode/mcp-cor

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00036 $0.02406
Opus 5 $0.00018 $0.01203
Sonnet 5 $0.00007 $0.00481
Haiku 4.5 $0.00004 $0.00241

Measured yesterday against content hash fc20d8f1c147, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cor-auth scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cor-auth/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

COR Auth — Cheat Sheet

Overview

The COR MCP Server supports two authentication modes with auto-detection. The server checks env vars at startup and picks the right flow automatically.

Mode Env Vars Use Case
User Credentials COR_EMAIL + COR_PASSWORD Personal use, testing, single-user agents
Client Credentials COR_API_KEY + COR_CLIENT_SECRET Server-to-server, automated workflows

Priority: User Credentials (email/password) takes priority when both are set. To use Client Credentials, leave email/password unset.


Mode A: User Credentials (Email + Password)

Step-by-Step

  1. Set environment variables:

    [email protected]
    COR_PASSWORD=your_secret_password
    COR_API_URL=https://api.projectcor.com/v1
    
  2. Server detects auth mode"Auth mode: User Credentials (email/password)"

  3. On first API call, the server sends:

    POST https://api.projectcor.com/v1/auth/login
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    
    [email protected]&password=your_secret_password
    
  4. COR API responds with one of these shapes:

    // Shape 1 — direct token
    {"access_token": "eyJ...", "expires_in": 3600}
    
    // Shape 2 — nested token object
    {"token": {
        "access_token": "eyJ...",
        "type": "bearer",
        "refreshToken": "rt_...",
        "expirationTime": "1712345678000"
    }}
    
    // Shape 3 — data wrapper
    {"data": {"token": "eyJ..."}}
    
  5. Token is cached in the TokenStore (thread-safe, in-memory).

  6. Subsequent API calls reuse the cached token until it's within 60 seconds of expiry, then auto-refresh.

Email/Password Auth Flow Diagram

┌─────────┐         ┌──────────────┐         ┌──────────────┐
│ Hermes  │  tool   │  COR MCP     │  POST    │  COR API     │
│ Agent   │────────►│  Server      │─────────►│  /auth/login │
│         │         │              │◄─────────┤              │
│         │         │  TokenStore  │  JWT     │              │
│         │         │  cache       │          └──────────────┘
└─────────┘         └──────────────┘

Read the full file on GitHub · 274 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 274 lines · 36 tokens per session scan A fc20d8f1c147

Subscribe to this mod's changes

cor-auth is a skill published in the GitHub repository fxckcode/mcp-cor (0 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 2,406 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

plane-workflow

Create, update, audit, standardize, label, and organize Plane work items with the Plane Workflow MCP tools. Use when a user asks to create a Plane task or issue, turn a brief into a ticket, manage modules, or improve a Plane backlog.

amirhosseinkz/plane-workflow-mcp · 56 tokens

agile-development

ServiceNow Agile Development 2.0 — the rmteam → rmsprint → rmstory → rmepic model, the state and point values ServiceNow actually accepts, how a story is attached to a sprint, and the reporting tools (board, burndown, velocity, capacity, standup, retrospective).

serac-labs/serac · 68 tokens

linear-oneshot

Find one-shottable WaniWani Linear tickets and scope them for autonomous execution. Use when the user says "triage one-shots", "find easy tickets", "find simple tickets", "one-shot triage", "qualify WAN-123", "scope WAN-123", "is this ticket one-shottable", or wants to label simple Linear tickets an agent can…

WaniWani-AI/sdk · 89 tokens

discover-work

Deep research across codebase, GitHub issues, discussions, project board, and architecture docs to discover new tasks, gaps, technical debt, and improvement ideas. Trigger when user says: discover work, find tasks, what needs doing, audit codebase, find gaps, technical debt audit, backlog discovery, brainstorm tasks…

Destrayon/Connapse · 77 tokens

building-glamorous-tuis

Build terminal UIs with Charmbracelet (Bubble Tea, Lip Gloss, Gum). Use when: Go TUI, shell prompts/spinners, "make CLI prettier", adaptive layouts, async rendering, focus state machines, sparklines, heatmaps, kanban boards, SSH apps.

nikships/skills-registry · 65 tokens

ulc-loop

Start a Unified Loop Controller session via Ralph Wiggum. Autonomously works through backlog, dispatches agents, and explores via QD when idle.

Kastalien-Research/thoughtbox · 35 tokens