Skip to main content
Glama
ZachDreamZ

mcp-lint-server

by ZachDreamZ

MCP Lint Server

An MCP server that provides MCP server quality checking as a tool.

MCP PyPI License: MIT

What It Does

This MCP server exposes three tools that let AI agents validate MCP server implementations:

  1. lint_mcp_server -- Lint a file or directory for MCP quality issues

  2. lint_code_snippet -- Validate a code snippet before committing

  3. check_mcp_schema -- Validate an MCP tool inputSchema definition

Related MCP server: MCP Spectral

Quick Start

pip install mcp-lint-server

Claude Desktop Config

{
  "mcpServers": {
    "mcp-lint": {
      "command": "python",
      "args": ["-m", "mcp_lint_server.server"]
    }
  }
}

Claude Code

claude mcp add mcp-lint-server -- python -m mcp_lint_server.server

Tools

lint_mcp_server

Scans Python source code for schema violations, security anti-patterns, protocol issues, and code quality problems. Returns a quality score (0-100) with specific issues and fix suggestions.

lint_code_snippet

Validates a code snippet by pasting it directly. Useful for quick checks before committing.

check_mcp_schema

Validates an MCP tool inputSchema definition, checking for required fields and valid property definitions.

Why This Matters

The MCP ecosystem is exploding. Hundreds of new servers are built every week. But there is zero quality tooling. This server lets AI agents themselves enforce quality standards on MCP server code.

License

MIT

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers