Skip to main content

trinity-entra-mcp

MCP client for Trinity, Dataninja's internal knowledge base. Signs you in with your Microsoft work account and forwards questions to the hosted server. No AWS account, no access key, nothing in ~/.aws.

Install

claude mcp add trinity-kb --scope user -- uvx trinity-entra-mcp

Restart Claude Code, then ask a question. A browser tab opens once for a Microsoft sign-in. The token is cached at ~/.trinity-mcp/msal-cache.json (mode 0600) and every question after that is silent.

Configuration

Defaults point at the live deployment. Override any of them with environment variables:

variable what it is
TRINITY_RUNTIME_ARN Bedrock AgentCore runtime hosting the MCP server
TRINITY_REGION AWS region of that runtime
TRINITY_TENANT Entra tenant id whose tokens the runtime accepts
TRINITY_API_APP_ID App registration exposing access_as_user
TRINITY_TOKEN A bearer token to present as-is, skipping the sign-in entirely

TRINITY_TOKEN is the escape hatch for CI and agents, which have no browser.

What it does

It answers initialize, tools/list, and ping itself so Claude Code starts without a sign-in, then forwards tools/call to the runtime with the token attached. The runtime validates the token came from the configured tenant before it answers.

Sign-in rides the Azure CLI's public client id, which is pre-authorized on the API app registration, so there is nothing to register in Entra on your side.

Download files

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

Source Distribution

trinity_entra_mcp-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

trinity_entra_mcp-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trinity_entra_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for trinity_entra_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 948ab30139e8a39240bb03705d387fe504af003ca9935a97b7d532f417147197
MD5 242a86612ffc999fda1c63234bdf57f9
BLAKE2b-256 6f6fe43083d813f8bc54ca4d4ef16da16ad1ac7fe05a4ddf48d9d2e0c71e690d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trinity_entra_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for trinity_entra_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee308f1c11a6d4be8e6f5b34e9ee4ee4683930e36211082309a1fa874f22adc3
MD5 fc61da871d5dba4ab8baafdd0428b573
BLAKE2b-256 1d131f363219711f647d2f2ec779b91984b96c688aa263b162460c77b85ff9fa

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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