Metadata-Version: 2.4
Name: omnidimension
Version: 0.2.0
Summary: SDK and MCP Server for Omni Assistant services
Home-page: https://github.com/kevin-omnidim/omnidim-sdk
Author: https://www.omnidim.io/
Author-email: kevin@omnidim.io
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Provides-Extra: mcp
Requires-Dist: fastapi>=0.95.0; extra == "mcp"
Requires-Dist: uvicorn>=0.21.0; extra == "mcp"
Requires-Dist: fastmcp>=0.1.0; extra == "mcp"
Requires-Dist: pydantic>=1.10.0; extra == "mcp"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Omnidim SDK and MCP Server

A Python SDK for interacting with the Omnidim API, now with Model Context Protocol (MCP) server support.

## Installation

### Basic SDK

```bash
pip install omnidimension
```

### With MCP Server Support

```bash
pip install omnidimension[mcp]
```

## Usage

### SDK Usage

```python
from omnidimension import Client

# Initialize the client with your API key
client = Client(api_key="your_api_key")

# List agents
agents = client.agent.list()
print(agents)
```

### MCP Server Usage

You can run the MCP server in several ways:

1. Using the module:

```bash
python -m omnidimension.mcp_server --api-key your_api_key
```

2. Using the entry point:

```bash
omnidim-mcp-server --api-key your_api_key
```

3. Using the compatibility module (for MCP clients):

```bash
python -m omnidim_mcp_server --api-key your_api_key
```

You can also set the API key using the environment variable:

```bash
export OMNIDIM_API_KEY=your_api_key
python -m omnidimension.mcp_server
```

### MCP Client Configuration

To use with MCP clients like Claude Desktop, save the following configuration to `omnidim_mcp.json`:

```json
{
  "mcpServers": {
    "omnidim-mcp-server": {
      "command": "python3",
      "args": [
        "-m",
        "omnidim_mcp_server"
      ],
      "env": {
        "OMNIDIM_API_KEY": "<your_omnidim_api_key>"
      },
    }
  }
}
```
