Borrowing it
Nothing to install: this file belongs to Hack23/European-Parliament-MCP-Server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Hack23/European-Parliament-MCP-Server/main/.github/skills/mcp-gateway-security/SKILL.mdgit clone --depth 1 https://github.com/Hack23/European-Parliament-MCP-ServerWrote 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.
[](https://agentmods.dev/skills/hack23/european-parliament-mcp-server/mcp-gateway-security)<a href="https://agentmods.dev/skills/hack23/european-parliament-mcp-server/mcp-gateway-security"><img src="https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/mcp-gateway-security/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.
<a href="https://agentmods.dev/skills/hack23/european-parliament-mcp-server/mcp-gateway-security"><img src="https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/mcp-gateway-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.01476 |
| Opus 5 | $0.00013 | $0.00738 |
| Sonnet 5 | $0.00005 | $0.00295 |
| Haiku 4.5 | $0.00003 | $0.00148 |
Grade A, and why
mcp-gateway-security 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Gateway Security Skill
Context
This skill applies when:
- Securing MCP gateway communications between clients and the EP MCP Server
- Implementing token-based authentication for MCP client connections
- Validating and sanitizing MCP requests at the gateway boundary
- Configuring audit logging for all parliamentary data access through the gateway
- Implementing defense-in-depth for multi-server MCP deployments
- Managing secrets and credentials for EP API backend authentication
- Protecting against common MCP protocol attack vectors
MCP gateways are a critical security boundary. All parliamentary data requests flow through the gateway, making it the primary enforcement point for authentication, authorization, input validation, and audit logging.
Rules
- Authenticate All MCP Clients: Require token-based authentication (API key, OAuth2, or mTLS) for every client connection to the gateway
- Validate Request Schemas: Validate all incoming MCP requests against the protocol schema before forwarding to backends
- Sanitize Tool Arguments: Apply input validation and sanitization to all tool arguments at the gateway level, before they reach the EP MCP Server
- Implement Audit Logging: Log every tool invocation with client identity, tool name, timestamp, and response status — never log argument values containing personal data
- Rotate Tokens Regularly: API keys and service tokens must have configurable expiration; implement automated rotation
- Enforce Transport Security: All MCP gateway connections must use TLS 1.3; reject plaintext connections
- Rate Limit per Client Identity: Enforce rate limits based on authenticated client identity, not just IP address
- Isolate Backend Credentials: Gateway-to-backend credentials must be stored in a secrets manager, never in configuration files
- Detect and Block Anomalies: Monitor for unusual request patterns (high volume, unusual tools, off-hours access) and alert or block
- Implement Request Signing: For high-security deployments, require request signing to ensure message integrity between client and gateway
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.
- 12d ago First seen · 147 lines · 25 tokens per session scan A 23352b0ccf13
mcp-gateway-security is a skill published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed today), licensed Apache-2.0. It adds 25 tokens to every session and 1,476 once invoked, about $0.0001 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.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
ue-mcp-epic-routing
Use when deciding between ue-mcp's native category actions and Epic's wrapped ToolsetRegistry tools (the epic actions, incl. the Blueprint graph DSL) for a task in Unreal. Pulls in when authoring Blueprint graph bodies, or any time both a native action and an epic action could do the job and you need to pick.
frontmcp-setup
Use when starting, scaffolding, or organizing a FrontMCP project. Covers creating a new project (CLI scaffold or manual) for Node, Vercel, and other targets; standalone versus Nx-monorepo layout, naming conventions, generators, and dependency rules; composing multiple @App classes, ESM packages, and remote MCP servers…
authoring-decorators
Use when the user wants to write a new prompt decorator - either a personal one for their repo or a contribution back to the upstream catalogue. Walks through the JSON schema, the extensions/ convention, how to verify a new decorator end-to-end through the hook, and how to diagnose failures using debug logging and…
apitap
ApiTap gives AI agents cheap access to web data through three layers.
you-finance
Answer finance questions through the You.com you-finance MCP tool, with payment-aware fallbacks for keyless hosts.