12 Commits

Author SHA1 Message Date
Lama
e7e11dc068 fix packages 2025-07-22 17:50:37 -07:00
Lama Al Rajih
0bbb78b0a9
Merge branch 'main' into pr-3-security-input-validation 2025-07-22 20:47:47 -04:00
Lama
99fce1ebec add fastmcp to pyproject.toml, add make run to makefile, update uv.lock 2025-07-22 17:41:34 -07:00
Lama Al Rajih
6ef68572f1
Merge branch 'main' into pr-2-infrastructure-ci-cd 2025-07-22 20:31:30 -04:00
Lama Al Rajih
d7c269211a
Merge branch 'main' into pr-1-fastmcp-2.0-migration 2025-07-18 11:44:21 -04:00
Lama
9bfc6da76d update pyproject.toml 2025-07-18 11:03:41 -04:00
Lama
2b425d458d update init and remove email placeholder from pyproject.toml 2025-07-18 01:57:04 -04:00
Lauri Gates
bd08a47a6f feat: add comprehensive security and input validation system
- Add PathValidator class for preventing path traversal attacks
- Add SecureSubprocessRunner for safe command execution
- Replace unsafe XML parsing with defusedxml for security
- Add comprehensive input validation tools for circuit generation
- Include security dependencies (defusedxml, bandit) in pyproject.toml
- Add security scanning job to CI/CD pipeline
- Add comprehensive test coverage for security utilities
- Add timeout constants for safe operation limits
- Add boundary validation for component positioning

This establishes a strong security foundation for the KiCad MCP server
by implementing defense-in-depth security measures across all input
vectors and external process interactions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 21:34:16 +03:00
Lauri Gates
a67eb41523 feat: add comprehensive development infrastructure and CI/CD pipeline
- Add GitHub Actions CI/CD workflow with multi-OS testing (Ubuntu, macOS)
- Add pyproject.toml for modern Python packaging with hatchling
- Add pre-commit hooks for code quality (ruff, mypy, trailing whitespace)
- Add Makefile for common development tasks (install, test, lint, format, build)
- Add run_tests.py script for comprehensive test execution
- Update requirements.txt with development dependencies
- Update .gitignore for modern Python tooling (uv, ruff, pytest)
- Add KiCad-specific ignore patterns for backup files

This establishes a robust development workflow with:
- Automated testing on Python 3.10, 3.11, 3.12
- Code formatting and linting with ruff
- Type checking with mypy
- Coverage reporting with pytest-cov
- Package building with uv

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 20:29:27 +03:00
Lauri Gates
9bea0f4ebf feat: migrate to FastMCP 2.0 framework with modern Python packaging
- Update imports from 'mcp.server.fastmcp' to 'fastmcp' per FastMCP 2.0 migration
- Add pyproject.toml for modern Python packaging with hatchling build backend
- Implement missing server lifecycle functions: main(), setup_logging(), cleanup_handler()
- Add async main() entry point for proper server execution
- Update main.py to use async server execution pattern
- Add fastmcp>=0.1.0 dependency to replace legacy mcp server imports

This establishes the foundation for all subsequent feature additions and ensures
compatibility with modern MCP clients and development workflows.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 20:13:01 +03:00
mannie-exe
639b54d637 fix: migrate to uv; fix pydantic schema error
- add uv.lock for reproducible dependencies
- add .python-version file for python version consistency
- pin dependency versions in pyproject.toml (mcp>=1.11.0, pandas>=2.3.1, pytest>=8.4.1)
- remove type annotations from Image-returning functions to avoid pydantic v2 schema generation errors
  - resolves MCP server startup failure
2025-07-13 21:30:40 -07:00
Lama
d866184d86 Add repo to pip package 2025-07-08 19:49:17 -04:00