Skip to main content

Talk-To-My-Org-Chart: CLI MCP server for org chart queries.

Project description

ttmoc (Talk-To-My-Org-Chart)

A Python package and CLI for running the MCP server to interact with your organization's chart data.

Installation

  1. Make sure you have Python 3.8 or higher and pip installed.
  2. In the root directory (where pyproject.toml is), run:
    pip install .
    

Usage

After installation, you can launch the MCP server with:

ttmoc --api-url <API_SERVER_URL> --tenant-id <AZURE_TENANT_ID>
  • --api-url: The URL of your API server (e.g., http://localhost:8000)
  • --tenant-id: Your Azure Active Directory tenant ID

Example:

ttmoc --api-url http://localhost:8000 --tenant-id your-tenant-id

Available Tools (API Functions)

Once the server is running, it exposes several tools for querying org chart data:

  • lookup_employee: Look up employees by display name or alias.
  • lookup_direct_reports: Get direct reports for a manager.
  • lookup_all_reports: Get all reports (direct and indirect) for a manager, with optional filtering.
  • find_employees: Find employees by criteria (name, title, cost center, etc.).
  • get_span_of_control: Get span of control metrics for a manager.
  • get_org_depth: Get organizational depth metrics for an employee.
  • count_all_reports: Count all reports (direct and indirect) for a manager, with optional filtering.
  • count_employees: Count employees by criteria.

See your API documentation or help for detailed usage of each tool.

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

ttmoc-0.1.2.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.

ttmoc-0.1.2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file ttmoc-0.1.2.tar.gz.

File metadata

  • Download URL: ttmoc-0.1.2.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for ttmoc-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ff929e61cc96aa9ebda7e1837f5802b8996e0075f37964cfc6c187034366cfd4
MD5 8f3f0741aac846ec47ec4fc6de44579f
BLAKE2b-256 daab740e41972db80d47f2d39ca39466e33350ca6324bbd635dd100ddd6d4dbc

See more details on using hashes here.

File details

Details for the file ttmoc-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ttmoc-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for ttmoc-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8063226edf2f032744c1874c13ebb52687e8fcff52a8baffdbefeb6e5ad42015
MD5 b14aac94aaf66465193d9707f67a98b2
BLAKE2b-256 525e29df928297a03f01d1fe64b68be3f7fb271bf8a4628510b1f143fb117fdb

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