cor-auth

cor-auth is a skill for Claude Code, Codex from fxckcode/mcp-cor. It costs 36 tokens per session (2,406 once invoked), scanned A, original, MIT.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it when setting up COR access for personal agents, testing, or automated server-to-server workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fxckcode/mcp-cor/cor-auth
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.

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.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cor-auth

README.md
[![agentmods](https://agentmods.dev/badge/skills/fxckcode/mcp-cor/cor-auth/github.svg)](https://agentmods.dev/skills/fxckcode/mcp-cor/cor-auth)
Your own site
<a href="https://agentmods.dev/skills/fxckcode/mcp-cor/cor-auth"><img src="https://agentmods.dev/badge/skills/fxckcode/mcp-cor/cor-auth/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cor-auth

Your own site · 80×15
<a href="https://agentmods.dev/skills/fxckcode/mcp-cor/cor-auth"><img src="https://agentmods.dev/badge/skills/fxckcode/mcp-cor/cor-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00036 $0.02406
Opus 5.5 $0.00014 $0.00962
Sonnet 5.5 $0.00007 $0.00481
Haiku 4.5 $0.00004 $0.00241

Measured 1mo ago against content hash fc20d8f1c147, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

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. 1mo ago 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.0001 per session on Opus 5.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

add-provider

Add a new storage or service provider to the core package. Use when implementing a new backend for StorageService (e.g., a new database) or a new service provider (e.g., a new LLM backend).

cyanheads/mcp-ts-core · 47 tokens

reviewing-update-sets

Reviewing, analyzing, and comparing ServiceNow update sets before promotion, singly or in batches. Shows changes, risks, dependencies, and conflicts. Use when the user mentions update sets, customizations, promotion, code review, change tracking, pre-deployment review, sysupdatexml, customer updates, 'what changed in…

jschuller/mcp-server-servicenow · 82 tokens

triaging-incidents

Creating, triaging, updating, and analyzing ServiceNow incidents, including trend reports. Assess severity, check affected CIs, find related incidents, and recommend assignments. Use when the user mentions incidents, INC numbers, outages, service disruptions, ticket creation, triage, priority, severity, ITSM…

jschuller/mcp-server-servicenow · 89 tokens

reviewing-sla-definitions

Reviewing ServiceNow SLA, OLA and underpinning-contract definitions and how they perform: breach rates per definition, overlapping or duplicated definitions on the same table and target, and definitions that never attach. Use when the user asks about SLA breaches by definition, too many SLAs, duplicate or conflicting…

jschuller/mcp-server-servicenow · 79 tokens

mantle

Create a Mantle 0.2 service, continue an existing one, or save, preview and publish it on Mantle Cloud, using the installed @aotter/mantle package's own docs and this skill's Cloud helper script.

aotter/mantle · 52 tokens

diagnose-connectivity

Work out why a 3x-ui client cannot connect, in the order that finds the cause fastest — scope the outage, check the core, the inbound, the client's own limits, routing and outbounds, then the node. Use whenever someone reports "it stopped working", a client cannot connect, a site is unreachable through the proxy, or…

pyworkload/3x-ui-mcp · 83 tokens