Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

ConfigWard

ConfigWard emblem

Build smarter. Configure safer.

PyPI Tests License: MIT Python 3.11+

ConfigWard is an experimental, local-first configuration linter for AI coding agents. Inspect agent instructions, skill headers and selected MCP configurations before sharing or committing them. No API keys, runtime dependencies or network calls.

Interactive demo

The browser playground is available in docs/. To run it locally, use python -m http.server 8000 --directory docs and visit http://localhost:8000. It checks a subset of strict MCP JSON rules without sending input to a server. Use synthetic examples, never real credentials. Try the public browser playground.

The browser also offers a local MCP converter for a narrower, MCP-only subset of the Python converter. It rejects duplicate JSON keys, unsupported TOML syntax and incompatible fields, rather than silently dropping settings. Never paste real credentials into an online tool.

Install

Requires Python 3.11 or newer. Install from PyPI:

python -m pip install rossellforge-configward
configward --version
configward .

The source tree targets version 0.3.0. Check the PyPI badge and release history for the latest actually published distribution. For reproducible installations, pin a published version. The earlier 0.2.0 package does not contain the converter.

Or clone the repository and install locally with python -m pip install .. See the publishing guide for release instructions. No installation is needed to run python configward.py . from a checkout.

Quick start

configward /path/to/project --json
configward . --strict
configward . --sarif > report.sarif

Example output from a synthetic project with an empty instruction file:

ERROR EMPTY AGENTS.md:0: Configuration is empty.
1 file(s) checked; 1 finding(s).

Supported checks

Files Checks
AGENTS.md, CLAUDE.md, GEMINI.md Empty files, selected possible credentials
SKILL.md Basic front matter and required fields
.mcp.json, mcp.json, mcp_config.json, mcp-config.json, claude_desktop_config.json JSON syntax, MCP server entries, argument and mapping shapes, transport ambiguity
.codex/config.toml TOML syntax and selected MCP settings
.gemini/settings.json Optional MCP server mapping

Findings include relative paths, rule IDs and severity. JSON and SARIF 2.1.0 are suitable for CI integrations. Exit code 0 means no errors; 1 means errors (or warnings in strict mode). Invalid directory arguments return 2. A clean run is not proof of security or compatibility.

GitHub Actions

The reusable GitHub Action is available in this repository. See the CI integration guide for a pinned, tested example.

MCP configuration converter (0.3.0)

Convert selected Claude Code JSON and Codex TOML entries in either direction. The converter never launches servers or modifies configuration files, and refuses unsupported credential and permission fields rather than silently dropping them. See the conversion guide. Install version 0.3.0 or newer once published, or use a reviewed source checkout.

configward-convert --from claude --to codex .mcp.json

Additional validation in 0.3.0

The 0.3.0 CLI rejects duplicate JSON object keys and nonstandard JSON constants in the Python CLI, detects competing MCP server mappings, and checks that provided transport values are nonempty strings. These are configuration-shape checks, not complete client-specific schemas.

The JSON checker uses native JSON.parse and cannot report repeated object keys. The browser converter separately rejects repeated keys before converting. Use the Python CLI for full supported linting.

VS Code extension (preview)

The VS Code extension provides local diagnostics for supported open instruction and MCP JSON files, with no Python installation or server execution. A local VSIX can be built from source or downloaded from a successful CI packaging job. It is not published to the Marketplace.

Design principles

  • Local-first and read-only; never launches configured MCP servers.
  • Conservative checks; never prints matched credential values.
  • Bounded reads, ignored common dependency directories and no symlink traversal.
  • Simple implementation with reproducible tests.

Limitations

This alpha is not a full security scanner, YAML parser or complete client-specific schema validator. Credential heuristics can miss secrets or flag synthetic examples. Files outside supported names are not scanned. Review all findings manually. Use only on trusted local directories.

Development and roadmap

Run python -m unittest -v to test the Python CLI and node --test tests/checker.test.cjs tests/converter.test.cjs to test the browser tools. See the changelog for release history. See CONTRIBUTING.md and SECURITY.md before opening issues or pull requests.

  • Versioned per-client schemas and richer skill validation.
  • Cross-client compatibility reports and safe migration suggestions.
  • Additional synthetic fixtures and a more complete schema validator.

License

MIT. A RossellForge project.

Metadata

Release files for rossellforge-configward 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for rossellforge-configward 0.3.0
File Size Uploaded Provenance Actions
rossellforge_configward-0.3.0.tar.gz 12.3 kB With provenance Details for rossellforge_configward-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rossellforge-configward 0.3.0
File Interpreter ABI Platform Actions
rossellforge_configward-0.3.0-py3-none-any.whl Python 3 none any Details for rossellforge_configward-0.3.0-py3-none-any.whl

Total release size: 23.6 kB

Release files / rossellforge_configward-0.3.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL rossellforge_configward-0.3.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
824a388ecbc20155e166d031bd44dd76fec7bfa8020c36156381166438a72eb2
BLAKE2b-256 checksum
How to use checksums
b5fe22defcd5abf20ad86020039f9b5902129932a41f774a37276832ef88e06a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / rossellforge_configward-0.3.0-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL rossellforge_configward-0.3.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b28d537127292c7f179cbe818ff2e3a7fe5ec354c07db6e22b83f3133ab2bcc
BLAKE2b-256 checksum
How to use checksums
aa6ab4dc5b335ccd9219048bae23e1ab95e17cf64c5fa767da1eb2291205cbc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for rossellforge-configward 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for rossellforge_configward-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page