mcp-license-header-guardian
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-license-header-guardian Verify license compliance for Python files in the current directory"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-license-header-guardian
Deterministic, network-free, read-only MCP guardian that enforces license headers in tracked Python files (Tier 1).
What this repo is for
Use this repository as the starting point for new guardians.
It provides:
A frozen V1 contract (
docs/V1_CONTRACT.md)Canonical output examples (
docs/EXAMPLE_OUTPUTS.md)Determinism guardrails (pytest)
Related MCP server: CodeAudit MCP
Invariants (do not violate under V1)
One tool only:
check_license_headerOutput schema keys are fixed
Fail-closed on invalid input or internal error
No timestamps, randomness, environment metadata
No network calls
No repo mutation / disk writes
If you need any of the above, declare V2.
Local development
Install editable:
python3 -m pip install -e .
Run tests:
pytest -q
Print canonical JSON output:
python3 -c "from mcp_license_header_guardian.server import check_license_header, canonical_json; print(canonical_json(check_license_header('.')))"
MCP server
Run:
mcp-license-header-guardian
Available Tools
1 toolcheck_license_headerA
Deterministic, network-free, read-only Tier 1 guardian.
Checks .py files tracked by git to ensure the first 5 lines contain "Copyright" OR "SPDX-License-Identifier".
Inputs: repo_path (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is singular and clearly defined.
A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name 'check_license_header' follows a clear verb_noun pattern.
One tool is too few for the server's apparent purpose of license header management, as it only provides a read-only check without any complementary tools for fixing, updating, or managing headers across files.
The tool surface is severely incomplete for license header management, lacking essential operations such as adding, removing, or modifying headers, which are necessary for a full workflow in this domain.
Maintenance
Related MCP Connectors
Read-only MCP server checks and quote verification, free and keyless; results signed and publicly lo
MCP server for FCA Handbook compliance analysis with verbatim citations.
Personal MCP server for humans who create. Proof of authorship, license control.
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
Related MCP Servers
- FlicenseAqualityDmaintenanceA deterministic, network-free MCP server for validating repository release hygiene and version alignment in local projects. It enables automated repository health checks and generates standardized release checklists based on project state.1-
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- AlicenseDqualityDmaintenanceA deterministic MCP server that checks project code alignment with SPEC documents through static analysis without AI involvement.4MIT
- AlicenseAqualityDmaintenanceDeterministic code review MCP server that provides tools for file selection, rule matching, comment positioning, and reflection, ensuring stable review quality without LLM calls.51MIT