Skip to content
Back to skills

Mcp Server Headers

ASecurity

MCP-server class fixture using header-naming flags (`--bearer-header`); the argv-flag ban is scoped to credentialed-cli only — lint must NOT flag this fixture.

  • 24 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgogitapisecurity

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add eugenelim/agent-ready-repo --skill mcp-server-headers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mcp Server Headers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mcp Server Headers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/eugenelim-mcp-server-headers/badge)](https://www.skillsdirectory.com/skills/eugenelim-mcp-server-headers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mcp-server-headers
description: MCP-server class fixture using header-naming flags (`--bearer-header`); the argv-flag ban is scoped to credentialed-cli only — lint must NOT flag this fixture.
metadata:
  credentialed: true
  auth: creds
  primitive-class: mcp-server
---

MCP-server class primitives legitimately accept header-naming flags
(`--bearer-header`, `--auth-header`, `--header-prefix`). The storage
convention does not apply because nothing is persisted; the SKILL.md
"Don't" block has a parallel form in the credential contract.

### Security rules (non-negotiable)

- Secrets live only in `~/.agentbundle/credentials.env`
  (mode 0600 on POSIX; DACL-restricted on Windows), the OS keyring,
  or process environment variables.
  **Never** read that file, print it, or echo the token.
- **Never** put the token on the command line. The primitive
  refuses flags like `--token` / `--api-token` / `--bearer` /
  `--pat` / `--password` and exits — do not work around it.
- If `check` exits with the "missing credentials" code, tell the
  user to run `agentbundle creds setup <namespace>` themselves.
  It's interactive — do not run it for them.

Files in this skill

  • SKILL.md1.1 KB
  • scripts/cli.py466 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.