Skip to main content

Development

This page is for contributors and maintainers working on the xyTom/coding-tools-mcp repository.

Important code areas

Local setup

Use .[dev] when you only need linting and typing dependencies. Use .[image] when working on image inspection behavior.

Run the server from source

or after editable install:

Checks

The project declares dev dependencies for ruff and mypy. Run the repository’s test and check commands before changing tool behavior, schemas, or safety policy. Typical local checks are:
If a repository script or CI config defines a different authoritative command set, prefer that command set.

Schema changes

When adding or changing a tool:
  • Update the tool implementation.
  • Update input_schemas().
  • Update tool annotations and registry metadata.
  • Add or update tests for argument validation, output shape, profile exposure, and failure diagnostics.
  • Update the Tools reference page.

Safety changes

Changes to exec_command, path resolution, environment inheritance, Landlock handling, auth, or permission modes should be treated as high-risk. Update tests and documentation together, and make sure the Security boundaries and Limitations pages still match the implementation.

Documentation sync

Documentation should follow code first, then tests and implementation notes, then README. Do not document a tool, flag, environment variable, or behavior unless it is visible in code or supporting repository artifacts.