amcp / CONTRIBUTING.md
moelove's picture
clean up
f679000

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