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.0.tar.gz (14.4 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.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omnidimension-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 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.0.tar.gz
Algorithm Hash digest
SHA256 a9388fa85e796acd175912fa2bee76d5c9cad54867a162b7a744943e618ec429
MD5 32357cfab508ebed3c1dc5f83855c0a9
BLAKE2b-256 4afd8fd47ce55825c68f984b7a73b26d9acd9302d4d0ab906fcab62a2cfa258b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omnidimension-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b544ba6905282041d74572e09c783ec998eb440946d0cc153d60416adcb0f153
MD5 31348286da7d352cd436bde15185924a
BLAKE2b-256 f6340a350278b57d46db22ec839ab72d16c1623243c441effeb5ae48f2cacc92

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