mcp-license-header-guardian
Click on "Install 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-guardianVerify 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".
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key traits: deterministic, network-free, read-only, and Tier 1 guardian (implying low-risk or foundational). This covers safety and operational context well, though it could add more on error handling or output format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is highly concise and well-structured, with two sentences that front-load key information (deterministic, network-free, read-only) and then specify the action and criteria. Every sentence adds value without waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (1 parameter, no annotations, but with an output schema), the description is mostly complete. It covers purpose, behavior, and scope, but lacks details on the parameter and output. Since an output schema exists, explaining return values is less critical, but the parameter gap slightly reduces completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 0%, so the description must compensate. It does not explicitly mention the 'repo_path' parameter, but it implies the context ('.py files tracked by git'), which relates to repository paths. This adds some semantic meaning beyond the bare schema, though not directly naming or detailing the parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('checks .py files tracked by git') and resources ('.py files'), and distinguishes its scope (first 5 lines for specific license headers). It explicitly defines the deterministic, network-free, read-only nature, making it highly specific and self-contained.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context (checking license headers in Python files under git) but does not provide explicit guidance on when to use this tool versus alternatives, prerequisites, or exclusions. Since there are no sibling tools, the lack of comparative guidance is less critical, but it still lacks detailed usage instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Trust checks for MCP servers: trust scores, tool-drift detection, signed diligence receipts. Free.
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
Conformance checker for MCP servers. Free, no key, verdicts recomputable and re-measured daily.
Related MCP Servers
- FlicenseAqualityCmaintenanceA 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 gradedqualityCmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- AlicenseDqualityCmaintenanceA deterministic MCP server that checks project code alignment with SPEC documents through static analysis without AI involvement.4MIT
- AlicenseAqualityBmaintenanceDeterministic code review MCP server that provides tools for file selection, rule matching, comment positioning, and reflection, ensuring stable review quality without LLM calls.5191MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/curtis-d-williams/mcp-license-header-guardian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server