Skip to main content

tenxyte-mcp-server

An MCP (Model Context Protocol) server exposing AIRS/1.0 Agent Token upkeep — status, heartbeat, usage reporting, pending actions, discovery — as tools any MCP client (Claude Desktop and others) can call. A pure HTTP client: it never imports the tenxyte package and works against any AIRS-conformant server.

Install & run

uvx tenxyte-mcp-server

or pip install tenxyte-mcp-server && tenxyte-mcp-server.

Environment variables

Variable Required Purpose
TENXYTE_BASE_URL Yes Base URL of the AIRS-hosting API (e.g. https://your-server.example.com/api/v1/auth).
TENXYTE_AGENT_TOKEN Yes The raw Agent Token value, issued once by a human via Tenxyte's own API. This server never creates tokens itself.
TENXYTE_AGENT_TOKEN_ID Recommended The token's id (returned alongside the raw value at issuance). Tenxyte's heartbeat/report_usage endpoints are addressed by id, not by the raw token — omit this and airs_heartbeat/airs_report_usage return a structured MISSING_TOKEN_ID error instead of guessing.
TENXYTE_ACCESS_KEY No Application X-Access-Key, if your Tenxyte deployment requires one.
TENXYTE_ACCESS_SECRET No Application X-Access-Secret, paired with the above.

Missing TENXYTE_BASE_URL or TENXYTE_AGENT_TOKEN fails fast at startup — an explicit message on stderr and a non-zero exit code, never a partial/degraded start.

Tools

Tool Maps to Notes
airs_discovery() GET .../.well-known/airs/ Capabilities only — spec version, active Conformance Levels, endpoint map, limits.
airs_token_status() POST .../heartbeat/ No dedicated status endpoint exists in AIRS/1.0; this sends a heartbeat and reports the result — the one agent-callable operation that reveals liveness.
airs_heartbeat() POST .../heartbeat/ Maintains the Dead Man's Switch Guardrail.
airs_report_usage(cost_usd, prompt_tokens=0, completion_tokens=0) POST .../report-usage/ Reports LLM cost/usage against the token's budget.
airs_list_pending_actions() GET .../pending-actions/ Tenxyte's reference implementation currently scopes this to the Delegating User's own human authentication — expect a structured PERMISSION_DENIED-shaped error against Tenxyte specifically; kept for AIRS/1.0 servers that do expose it to the agent side.

Every tool that fails (suspended, revoked, expired token; a capability the server doesn't announce) raises a structured error — a JSON-shaped message carrying code/reason — rather than crashing the server process (spec/airs/AIRS-1.0.md §8, Requirement 5.5).

Deliberately absent (No_Privilege_Amplification_Rule, design.md D3): no tool creates an Agent Token, and no tool confirms or denies a HITL Pending Action. Both stay strictly on the human side of Tenxyte's own API — this server never holds a human credential.

Claude Desktop configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tenxyte-airs": {
      "command": "uvx",
      "args": ["tenxyte-mcp-server"],
      "env": {
        "TENXYTE_BASE_URL": "https://your-server.example.com/api/v1/auth",
        "TENXYTE_AGENT_TOKEN": "the-raw-token-value-returned-at-issuance",
        "TENXYTE_AGENT_TOKEN_ID": "42"
      }
    }
  }
}

Resources

  • airs://token/status — read-only mirror of airs_token_status().
  • airs://budget — the discovery document's active Conformance Levels and configured limits.

License

MIT (this package). The AIRS/1.0 specification it implements is separately licensed CC BY 4.0 — see spec/airs/LICENSE.

Metadata

Release files for tenxyte-mcp-server 0.1.0

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

Source distribution (sdist)

Source distribution for tenxyte-mcp-server 0.1.0
File Size Uploaded Provenance Actions
tenxyte_mcp_server-0.1.0.tar.gz 11.3 kB With provenance Details for tenxyte_mcp_server-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tenxyte-mcp-server 0.1.0
File Interpreter ABI Platform Actions
tenxyte_mcp_server-0.1.0-py3-none-any.whl Python 3 none any Details for tenxyte_mcp_server-0.1.0-py3-none-any.whl

Total release size: 21.3 kB

Release files / tenxyte_mcp_server-0.1.0.tar.gz

Download URL tenxyte_mcp_server-0.1.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
37b832ba51e50c20374436775de70562f31a2f233c7970459ab624b15618d289
BLAKE2b-256 checksum
How to use checksums
893c8aafa17be33ec63d2aff4a6b4924e1edf895f74bb7bde2ee7cc9e9ccdee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / tenxyte_mcp_server-0.1.0-py3-none-any.whl

Download URL tenxyte_mcp_server-0.1.0-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
837e6e5139e2659d13cf96f9131eae18b5fe1963889256df5313391a3b19e2fc
BLAKE2b-256 checksum
How to use checksums
78854fe8028b01829d6b7e9ae5f2fbc1326eda5b46771b55243889b9e30623a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for tenxyte-mcp-server 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tenxyte_mcp_server-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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