Skip to main content

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:

  1. Using the module:
python -m omnidimension.mcp_server --api-key your_api_key
  1. Using the entry point:
omnidim-mcp-server --api-key your_api_key
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnidimension-0.2.4.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omnidimension-0.2.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file omnidimension-0.2.4.tar.gz.

File metadata

  • Download URL: omnidimension-0.2.4.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

Hashes for omnidimension-0.2.4.tar.gz
Algorithm Hash digest
SHA256 5b55ae1c6f09ee3bd2470e76c3cc34c317176f55e75c194a85c427ce91b65a03
MD5 6a9686fcc55cbf20022e8f70415e5ffd
BLAKE2b-256 a1ac6202b9e8b89111b9f2d2ead6d96641a07c62d5eb0dc150f04c09f4694ffe

See more details on using hashes here.

File details

Details for the file omnidimension-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: omnidimension-0.2.4-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

Hashes for omnidimension-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 db9034080f9700af8b78494908109cb1cc77ca3ca46a8205181524d1b1c57d1b
MD5 d030adfe04d4dc61a1abd7680058ee07
BLAKE2b-256 64e2952280ac98e7c74abaa0f7c1567a80d2a3ca5c15173e61ee7b2ad15c5f3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page