Metadata-Version: 2.4
Name: barie-facia-mcp
Version: 0.1.0
Summary: Facia MCP Server for facial analysis (age estimation, deepfake detection, face match) via the Model Context Protocol
Author-email: Barie <support@barie.ai>
License: MIT
Keywords: deepfake,face,facia,liveness,mcp,model-context-protocol
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Requires-Dist: httpx>=0.25.0
Requires-Dist: mcp>=0.9.0
Requires-Dist: python-multipart>=0.0.6
Provides-Extra: dev
Requires-Dist: black>=23.0.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# Barie Facia MCP

A Model Context Protocol (MCP) server for Facia facial analysis APIs: age estimation, deepfake (liveness) detection, and face match.

## Installation

Install via `uvx` (after publishing to PyPI):

```bash
uvx barie-facia-mcp
```

Or install via pip:

```bash
pip install barie-facia-mcp
```

## Usage

Run the MCP server:

```bash
barie-facia-mcp --client-id <facia-client-id> --client-secret <facia-client-secret> --storage-dir <path-to-images>
```

### Required Arguments

- `--client-id`: Facia client ID
- `--client-secret`: Facia client secret

### Optional Arguments

- `--storage-dir`: Directory containing images (defaults to current working directory)

## Tools

- **age_estimation**: Estimate age for a single image  
  - Input: `image_name` (string)
- **deepfake_detection**: Deepfake/liveness detection for a single image  
  - Input: `image_name` (string)
- **face_match**: Compare two images (face match)  
  - Inputs: `original_image_name` (string), `matched_image_name` (string)

## Development

For build and publish instructions, see [BUILD.md](BUILD.md).

## License

MIT
