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.

Metadata

Release files for trinity-entra-mcp 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trinity-entra-mcp 0.3.2
File Size Uploaded
trinity_entra_mcp-0.3.2.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trinity-entra-mcp 0.3.2
File Interpreter ABI Platform
trinity_entra_mcp-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / trinity_entra_mcp-0.3.2.tar.gz

Download URL trinity_entra_mcp-0.3.2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bcf3b299148d6134af9ef366ee5e34ef7b15e29cb8e188d8e9c7529d3270b05e
BLAKE2b-256 checksum
How to use checksums
d7ab59440fdd9925d9a31ac5fc31d6e0de6b2a4b3c1e74078d92b0cdb0960f8d
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / trinity_entra_mcp-0.3.2-py3-none-any.whl

Download URL trinity_entra_mcp-0.3.2-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3b7caabbb1f95b323f99391452029240bb654cce45364f3f3266713bbd9ccdf
BLAKE2b-256 checksum
How to use checksums
dc3f096ef8570b9faa5e995640ea505420bdea3a5c047a9f18dbefe455c60908
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

0.3.3

2 release files

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page