Skip to content
Back to skills

Validate Mcp

ASecurity

Validates MCP server configuration files (.mcp.json). Use when user asks to "check my .mcp.json", "why isn't my MCP working", ".mcp.json errors", "validate MCP servers", or "MCP connection failed". Validates transport types (stdio, sse, http, websocket), server names, and environment variables.

  • 12 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolsbash

Works with

  • mcp

Security analysis

A100/100

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

Scanned May 27, 2026

npx -y skills add pdugan20/claudelint --skill validate-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate Mcp?

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

Security grade badge for Validate Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pdugan20-validate-mcp/badge)](https://www.skillsdirectory.com/skills/pdugan20-validate-mcp)

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: validate-mcp
description: Validates MCP server configuration files (.mcp.json). Use when user asks to "check my .mcp.json", "why isn't my MCP working", ".mcp.json errors", "validate MCP servers", or "MCP connection failed". Validates transport types (stdio, sse, http, websocket), server names, and environment variables.
version: 1.0.0
argument-hint: "[flags]"
allowed-tools:
  - Bash(claudelint:*)
---

# Validate MCP Servers

Runs `claudelint validate-mcp` to validate `.mcp.json` configuration files.

## Usage

```bash
claudelint validate-mcp $ARGUMENTS
```

## Options

- `--path <path>` - Custom path to .mcp.json
- `--verbose` - Show detailed output
- `--warnings-as-errors` - Treat warnings as errors

## What Gets Validated

- JSON syntax
- Server name uniqueness and consistency
- Transport type (stdio, sse)
- Stdio transport (command validation)
- SSE transport (URL validation)
- Variable expansion patterns (${VAR}, ${VAR:-default})
- Environment variables

## Examples

```bash
claudelint validate-mcp
claudelint validate-mcp --path /path/to/.mcp.json
```

## See Also

- [validate-all](../validate-all/SKILL.md) - Run all validators

Files in this skill

  • CHANGELOG.md305 B
  • SKILL.md1.1 KB
  • validate-mcp.sh476 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.