Metadata-Version: 2.4
Name: iflow-mcp_arkel-ai-attio-mcp-server
Version: 0.1.1
Summary: MCP server for Attio API integration with tools to interact with Attio workspace resources
Author-email: Arkel-ai <support@arkel.ai>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastmcp>=0.1.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: loguru>=0.7.0

<p align=center><img src="attio.svg" alt="Attio Logo" height="48"></p>
<h1 align=center>Attio MCP Server</h1>

<p align=center>This project provides a <a href="https://gofastmcp.com">FastMCP</a> server with tools to interact with the Attio API. It allows you to manage resources within your Attio workspace.</p>

## Setup

1. **Clone the repository:**

   ```bash
   git clone <repository-url>
   cd attio-mcp
   ```
2. **Create and activate a virtual environment:**

   ```bash
   python -m venv venv
   source venv/bin/activate  # On Windows: venv\Scripts\activate
   ```
3. **Install dependencies:**

   ```bash
   pip install -r requirements.txt
   ```
4. **Configure environment variables:**
   Create a `.env` file in the project root directory with the following content:

   ```env
   BASE_URL=https://api.attio.com
   API_KEY=your_attio_api_key_here
   ```

   Replace `your_attio_api_key_here` with your actual Attio API key.

## Running the Server

```bash
python main.py
```

The server will run on `http://0.0.0.0:8000` (or as configured in `.env`).
SSE transport is used by default available at `http://0.0.0.0:8000/sse`, you can change the transport by setting the `TRANSPORT` ('stdio', 'streamable-http' or 'sse', more info [here](https://gofastmcp.com/deployment/running-server#transport-options)).
