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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttmoc-0.1.0.tar.gz
  • Upload date:
  • Size: 11.3 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.0.tar.gz
Algorithm Hash digest
SHA256 8429b7b2499cbff5f43ce35340e9c3213a9b587ca1a7779fe79bf61b49f1a12e
MD5 6d218ef77f5ef65d21d819906bb0cb09
BLAKE2b-256 d47c5eb45011e767ea47268584ec517f4d41a3d8ee9065c83e3cc455219f062e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttmoc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed501251df45da09d4ca9b7b8adf0473e7b0b3ec0dea134008b8f3d47e3549bd
MD5 abba673d79c29eebac9af8be6dac014a
BLAKE2b-256 0c08c1f0d2495bc3a00c19cecf1599b0ef8b0a3794ae47358dec9a49bea34f31

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