SDK and MCP Server for Omni Assistant services
Project description
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
pip install omnidimension
With MCP Server Support
pip install omnidimension[mcp]
Usage
SDK Usage
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:
- Using the module:
python -m omnidimension.mcp_server --api-key your_api_key
- Using the entry point:
omnidim-mcp-server --api-key your_api_key
- Using the compatibility module (for MCP clients):
python -m omnidim_mcp_server --api-key your_api_key
You can also set the API key using the environment variable:
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:
{
"mcpServers": {
"omnidim-mcp-server": {
"command": "python3",
"args": [
"-m",
"omnidim_mcp_server"
],
"env": {
"OMNIDIM_API_KEY": "<your_omnidim_api_key>"
},
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omnidimension-0.2.3.tar.gz.
File metadata
- Download URL: omnidimension-0.2.3.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba2dd10addde329acb77f31d946ee2e0491dedbc76fb733e54bd1d5e5aa7e74c
|
|
| MD5 |
dc8c6561baac94f2518a95bcfd9c11db
|
|
| BLAKE2b-256 |
43c792696b96bebf30bc925b9bf3432fd67c689c697effd51b6c055de9d9ace8
|
File details
Details for the file omnidimension-0.2.3-py3-none-any.whl.
File metadata
- Download URL: omnidimension-0.2.3-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccff95fb0e3c120a517be8553a9dd20fe7106313c4b1ea8baa89cf70f7eb17cf
|
|
| MD5 |
b9b54bcfca04d7b3c1e5ec198cc6cf7b
|
|
| BLAKE2b-256 |
454fce57d6050a1c7b779c7768b1a80e5eb8d8b91a29e850a9b1a37031f920ba
|