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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trinity_entra_mcp-0.3.3.tar.gz | 11.0 kB | Without provenance | Details for trinity_entra_mcp-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trinity_entra_mcp-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for trinity_entra_mcp-0.3.3-py3-none-any.whl |
Total release size: 23.1 kB
Release files / trinity_entra_mcp-0.3.3.tar.gz
| Download URL | trinity_entra_mcp-0.3.3.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b8004eece27800bb80e18452f7614a2266631eb02eed7b812978cfb062a0156
|
|
BLAKE2b-256 checksum How to use checksums |
5f61affbaca7afb6f81f498d0e7e8851b614561b1c0e61f9777c3a39282b8550
|
| 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.3-py3-none-any.whl
| Download URL | trinity_entra_mcp-0.3.3-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e52b8a0451d38f3f250eb680953bdaa6bb8e7b45bc57d9a099445644fd448371
|
|
BLAKE2b-256 checksum How to use checksums |
5071aff208d758dcb7df22a7c3efc56170c5575ce4f064bab3a5315a0b2db088
|
| 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}
|
Security for trinity-entra-mcp 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.