Spaces:
Configuration error
Configuration error
Contributing to AMCP
Development Setup
# Clone the repository
git clone <repo-url>
cd amcp
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
# Or using uv
uv pip install -e ".[dev]"
Running Tests
# Run all tests
make test
# Run with coverage
make test-cov
# Run specific test
pytest tests/test_config.py
Code Quality
# Lint code
make lint
# Format code
make format
# Type check
make type-check
Pre-commit Hooks
pip install pre-commit
pre-commit install
Project Structure
amcp/
βββ src/amcp/ # Main package
β βββ __init__.py
β βββ cli.py # CLI entry point
β βββ agent.py # Agent logic
β βββ tools.py # Built-in tools
β βββ config.py # Configuration
β βββ mcp_client.py # MCP integration
βββ tests/ # Test suite
βββ .github/workflows/ # CI/CD
βββ pyproject.toml # Project metadata