# mcp authscan

> Static vulnerability scanner for detecting OAuth and authentication failures in MCP servers.

mcp authscan is a paid AI agent skill on Agensi by lhmisme, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $39 (one-time purchase)
- Creator: [lhmisme](https://www.agensi.io/creators/lhmisme)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.1
- Last updated: 2026-10-08
- Security: scan passed (2026-10-08); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mcp-authscan
- Tags: security, api, llm-ops, node-js, oauth2

## About this skill

Securing Model Context Protocol (MCP) servers requires more than just functional tests. This skill identifies critical OAuth and authentication vulnerabilities in your MCP server implementations before they reach production.

### What it does
- **Detects Redirect Flaws** by scanning for unvalidated `redirect_uri` parameters that lead to open redirects.
- **Enforces PKCE** by checking if Proof Key for Code Exchange is missing in mobile or single-page app flows.
- **Identifies Replay Risks** by flagging potential authorization code reuse vulnerabilities.
- **Validates Client Auth** by ensuring secure client authentication methods are implemented rather than relying on weak identifiers.

### How it works
1. **Target Identification** where you provide the local path to the MCP server source code or directory.
2. **Static Analysis** of the authentication logic and OAuth configuration within the codebase.
3. **Vulnerability Reporting** which lists detected security gaps and their potential impact.

### Frameworks & tools
This skill is designed for the Model Context Protocol (MCP) and Node.js environments. It works with standard OAuth 2.0 and OpenID Connect implementations.

### Why this beats prompting it yourself
Generic security prompts often miss MCP-specific context or fail to trace data flow for redirect URIs accurately. This skill uses specific heuristics for auth-related static analysis that a standard LLM prompt might overlook.

### Use cases
- Audit local MCP server implementations for common OAuth misconfigurations.
- Check third-party MCP servers for security gaps before deployment.
- Verify that PKCE is correctly enforced in public-facing auth flows.

### Known limitations
This tool performs static analysis and may require manual verification of results. It is limited to Node.js implementations of MCP servers.

## Requires

- Authscan MCP

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the mcp authscan skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific authentication vulnerabilities does mcp authscan detect?

This skill identifies critical OAuth flaws like open redirects, missing PKCE for mobile/web flows, and authorization code reuse risks specifically within Model Context Protocol (MCP) implementations.

### Which programming languages and AI agents are supported?

Currently, this skill is optimized for MCP servers written in Node.js and is compatible with AI agents that support local file system access and terminal-based tools.

### How do I trigger a scan on my MCP server code?

Simply provide the local directory path of your MCP server; the tool then performs static analysis on your code to flag security gaps without requiring a live execution environment.

### Why should I use this skill instead of just asking an LLM to check my code for bugs?

Unlike general security prompts, this skill uses specialized heuristics designed for the unique structure of MCP, ensuring more accurate data flow analysis for parameters like redirect URIs.

### What is included with my purchase of mcp authscan?

Purchase includes the full skill set for static analysis, a guide on interpreting vulnerability reports, and access to future updates as the MCP security landscape evolves.

### Are there any limitations to the vulnerability detection?

As a static analysis tool, it may flag potential issues that require a developer's manual review to confirm, and it does not currently support Python-based MCP servers.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
