We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/4R9UN/fastmcp-threatintel'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
DEVELOPMENT.mdβ’1.53 KiB
# π§ͺ Development Guide
## Setup Development Environment
```bash
# Clone repository
git clone https://github.com/4R9UN/fastmcp-threatintel.git
cd fastmcp-threatintel
# Install with development dependencies
uv sync --dev
# Install pre-commit hooks
uv run pre-commit install
# Run tests
uv run pytest
# Type checking
uv run mypy src/
# Code formatting
uv run ruff format src/ tests/
```
## Testing
```bash
# Run all tests with coverage
uv run pytest --cov=src/threatintel --cov-report=html
# Run specific test categories
uv run pytest tests/unit/
uv run pytest tests/integration/ -v
uv run pytest -m "not slow"
# Performance tests
uv run pytest tests/performance/ --benchmark-only
```
## Building
```bash
# Build package
uv build
# Build Docker image
docker build -t fastmcp-threatintel .
# Build documentation
uv run mkdocs build
```
## Development Standards
- β Type hints for all functions
- π§ͺ Tests for new features (>80% coverage)
- π Documentation for public APIs
- π¨ Code formatting with Ruff and Black
- π Linting with mypy and ruff
- π¦ Semantic versioning with Commitizen
## Contributing
We welcome contributions! Please see our [Contributing Guide](contributing.md) for details.
### Quick Contributing Steps
1. π΄ Fork the repository
2. πΏ Create a feature branch: `git checkout -b feature/amazing-feature`
3. π» Make your changes and add tests
4. β Run tests: `uv run pytest`
5. π Commit: `git commit -m 'Add amazing feature'`
6. π Push: `git push origin feature/amazing-feature`
7. π Create a Pull Request