File size: 1,026 Bytes
f679000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Contributing to AMCP

## Development Setup

```bash
# 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

```bash
# Run all tests
make test

# Run with coverage
make test-cov

# Run specific test
pytest tests/test_config.py
```

## Code Quality

```bash
# Lint code
make lint

# Format code
make format

# Type check
make type-check
```

## Pre-commit Hooks

```bash
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
```