mcp-oidc-provider AGENTS.md

mcp-oidc-provider AGENTS.md is an instructions file for Codex, OpenCode from tigrisdata/mcp-oidc-provider. It costs 634 tokens per session, scanned A, original, MIT.

Project instructions for mcp-oidc-provider, software that connects MCP clients to an OpenID Connect identity provider. OpenID Connect is a standard way for an application to verify user identity through another login service.

In plain words
What is it for?
Building, running, linting, formatting, and testing the Express-based provider, while working with its OIDC, MCP, storage, and utility modules.
Why use it?
It gives contributors the project's terminology, folder layout, deployment options, storage choices, and development commands in one place.

Instructions file for CodexOpenCode

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 instructions/tigrisdata/mcp-oidc-provider/agents-md
Clone the repo
git clone --depth 1 https://github.com/tigrisdata/mcp-oidc-provider

Made for: Codex, OpenCode.

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 mcp-oidc-provider AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tigrisdata/mcp-oidc-provider/agents-md.svg)](https://agentmods.dev/instructions/tigrisdata/mcp-oidc-provider/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tigrisdata/mcp-oidc-provider/agents-md"><img src="https://agentmods.dev/badge/instructions/tigrisdata/mcp-oidc-provider/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 634 This file is loaded in full into every session.
When invoked 634 The same file — it is already loaded in full.
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.00634 $0.00634
Opus 5 $0.00317 $0.00317
Sonnet 5 $0.00127 $0.00127
Haiku 4.5 $0.00063 $0.00063

Measured 5d ago against content hash 64e856e0b5dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-oidc-provider AGENTS.md 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 5d 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.

AGENTS.md · 75 lines

How it starts

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

Project Instructions for mcp-oidc-provider

Overview

This is mcp-oidc-provider - an Express middleware that acts as an OIDC provider for MCP (Model Context Protocol) servers with support for any OIDC-compliant identity provider as its backend.

Key Concepts

  • OIDC Provider: Acts as a man-in-the-middle between MCP clients and upstream identity providers
  • Two Deployment Modes:
    • Standalone: Separate OIDC server, MCP server proxies auth requests to it
    • Integrated: Single Express app hosting both OIDC and MCP
  • Storage: Uses Keyv for abstraction - supports any Keyv-compatible backend (Tigris, Redis, in-memory)

Project Structure

  • src/oidc/ - Core OIDC server implementation (createOidcServer, OidcClient)
  • src/mcp/ - MCP-specific utilities (setupMcpExpress, createMcpAuthProvider)
  • src/core/ - Core provider implementation
  • src/utils/ - Utilities (JWKS generation, etc.)
  • example/ - Example implementations

Development Commands

npm run build          # Build the project
npm run dev            # Watch mode for development
npm run lint           # Lint TypeScript code
npm run lint:fix       # Auto-fix lint issues
npm run format         # Format code with Prettier
npm run format:check   # Check formatting
npm run type-check     # Type check without emitting
npm test               # Run tests
npm run test:watch     # Watch mode for tests
npm run test:coverage  # Run tests with coverage

Code Style

  • Use ESLint and Prettier configurations in the project
  • Follow TypeScript best practices
  • Run npm run lint:fix and npm run format before committing

Testing

  • Tests are written with Vitest
  • Coverage is tracked via Codecov
  • Run npm run test:coverage before submitting PRs

Commit Messages

Must follow Conventional Commits format:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation changes
  • refactor: - Code refactoring
  • test: - Adding or updating tests
  • chore: - Maintenance tasks

Read the full file on GitHub · 75 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. 5d ago First seen · 75 lines · 634 tokens per session scan A 64e856e0b5dd

Subscribe to this mod's changes

mcp-oidc-provider AGENTS.md is an instructions file published in the GitHub repository tigrisdata/mcp-oidc-provider (13 stars, last pushed today), licensed MIT. It adds 634 tokens to every session, about $0.0032 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-30.