tteop-mcp
This MCP server exposes tools to build, validate, describe, and conformance-test TTEOP telemetry envelopes.
Build schema-conforming TTEOP v0.1-draft envelopes from input/output token counts and optional metadata, computing Yield, Leverage, Velocity, output_fraction, and log_leverage; no data is submitted or persisted.
Validate envelopes against JSON Schema and semantic rules, returning validation status, schema/semantic errors, warnings, and computed metrics; optionally assert an expected privacy profile.
Describe TTEOP protocol metadata, including versions, privacy modes, provenance levels, forbidden fields, metric formulas, rounding, and schema/spec URLs.
Run the conformance suite covering canonical vector invariants, null semantics, missing-cache handling, build-validate round-trip, forbidden field detection, and banker's rounding.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tteop-mcp Build a TTEOP envelope from 800 prompt tokens and 200 completion tokens."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tteop-mcp
Production MCP server for TTEOP — Token Telemetry Evaluation Operator Protocol.
Build, validate, and describe TTEOP telemetry envelopes via the Model Context Protocol. Powered by the official MCP TypeScript SDK v2 and the tteop-spec reference implementation.
New here? Read START-HERE.md. Automated contributors must also read AGENTS.md.
Architecture
This package is a thin MCP transport layer. All protocol logic — envelope construction, metric computation (banker's rounding), schema validation, and semantic rules — is delegated to tteop-spec via its stable JavaScript API:
tteop-spec/builder→buildEnvelope(telemetry, options)tteop-spec/validator→validateEnvelope(envelope, options),computeMetrics(telemetry)
No metric formulas or schema logic are duplicated here. When tteop-spec updates its validator or builder, this server inherits the changes.
Product separation
Package | Role |
| Specification, schemas, validator, conformance suite, builder API |
| Production MCP server (this package) — thin transport over |
SignalAF / SigRank | Hosted benchmarking, leaderboard, pilots, enterprise services |
Related MCP server: Signomy
Install
npm install -g tteop-mcp
# or use directly:
npx tteop-mcpTools
Tool | Description |
| Build a TTEOP v0.1-draft schema-conforming envelope from token counts. Computes Yield (Υ), Leverage (L), Velocity (V), output_fraction (F), and log_leverage (D). |
| Validate an envelope against the JSON Schema and semantic rules. Returns schema errors, semantic errors, warnings, and computed metrics. |
| Get TTEOP protocol metadata: versions, privacy modes, provenance levels, forbidden fields, metric definitions with formulas. |
| Run the conformance suite: canonical vector invariants, null semantics, forbidden field detection, banker's rounding. |
Usage
With Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"tteop": {
"command": "npx",
"args": ["-y", "tteop-mcp"]
}
}
}With MCP Inspector
npx @modelcontextprotocol/inspector npx -y tteop-mcpOpen the browser tab, click Connect, open the Tools tab, and call any tool.
Programmatic
import { spawn } from "node:child_process";
const proc = spawn("npx", ["-y", "tteop-mcp"], { stdio: ["pipe", "pipe", "pipe"] });
// Send JSON-RPC 2.0 messages to proc.stdin, read responses from proc.stdoutDevelopment
# Install the exact locked dependency graph
npm ci
# Optional: test unpublished local tteop-spec changes after the clean install.
# This overrides node_modules locally and is never used by CI or releases.
cd ../otep-spec && npm link && cd ../tteop-mcp && npm link tteop-spec
# Run tests
npm test # real MCP client test
npm run test:packaged # packaged tarball test
npm run test:release # package/lockfile/registry version agreement
npm run test:all # complete local release gate
# Run with MCP Inspector
npm run inspect
# Start the server
npm startAcceptance criteria
npx tteop-mcpwaits for an MCP connectioninitializesucceedstools/listreturns complete schemas (4 tools)Every tool can be called through MCP Inspector
Invalid token values return structured MCP errors (
isError: truewith validation message)stdout contains protocol messages only
CI runs an actual MCP client against the packaged tarball
Distribution status and release order
tteop-mcp@0.2.0 is currently published to npm and listed in the MCP Registry and Glama. Release 0.2.1 repairs source/package provenance, upgrades the exact protocol dependency to tteop-spec@0.1.5-draft, and adds release hardening.
The required release order is:
Confirm
tteop-spec@0.1.5-draftis available from npm.Merge the
tteop-mcp@0.2.1release commit with every required check green.Run the manual Release npm package workflow. It publishes with npm provenance and creates GitHub release
v0.2.1at the same commit.Confirm
npm view tteop-mcp@0.2.1 gitHeadequals the GitHub release commit.Publish the matching
server.jsonto the MCP Registry:mcp-publisher login mcp-publisher publishConfirm the MCP Registry and Glama show version
0.2.1and all four tools.From a clean directory, run
npx -y tteop-mcp@0.2.1 --versionand a real MCP client invocation.
Never publish from an uncommitted working tree. Package version, lockfile, server.json, Git tag, GitHub release, npm gitHead, and MCP Registry version must identify the same release.
License
Apache-2.0
Published dependency security bundle
All direct runtime dependencies and their transitive dependencies are bundled
from the reviewed package-lock.json. This includes the exact normative
tteop-spec release and patched URI parser. A consumer installing an older URI
library cannot deduplicate the server onto it. Root-only npm overrides do not
protect consumer installs, and npm 12 no longer honors published shrinkwraps.
After changing dependencies, regenerate the lockfile and perform a clean install
before packing. The packaged tests verify a fresh consumer install, its production
audit and MCP handshake, and isolation from an older consumer fast-uri.
Available Tools
4 toolstteop_build_envelopeA
Build a TTEOP v0.1-draft schema-conforming telemetry envelope from token counts. Computes Yield (Υ), Leverage (L), Velocity (V), output_fraction (F), and log_leverage (D). No data is submitted or persisted. Returns the complete envelope as JSON.
Inputs: input (required), output (required), tool, model, +7 more.
tteop_describe_protocolA
Get TTEOP protocol metadata: version, supported versions, privacy modes, provenance levels, forbidden fields, metric definitions (formulas, symbols, rounding), and schema/spec URLs.
Inputs: no named parameters.
tteop_run_conformanceA
Run the TTEOP conformance suite: canonical vector invariants, zero-input/zero-output null semantics, missing-cache handling, build-validate round-trip, forbidden field detection, and banker's rounding. Returns pass/fail counts and detailed results.
Inputs: no named parameters.
tteop_validate_envelopeA
Validate a TTEOP v0.1-draft telemetry envelope against the JSON Schema and semantic rules. Returns validation status, schema errors, semantic errors, warnings, and computed metrics if valid.
Inputs: envelope (required), expected_profile.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct operation: building an envelope, validating a single envelope, describing protocol metadata, and running the conformance suite. Even though validate and conformance both involve validation, their scope is clearly separated and descriptions make the distinction obvious.
All tool names share the tteop_ prefix and follow a consistent snake_case verb_noun pattern: validate_envelope, describe_protocol, run_conformance, build_envelope. This makes the tool set highly predictable.
Four tools is well-scoped for a focused protocol-support server. Each tool serves a clear core workflow—build, validate, describe, and test—without unnecessary bloat or missing essentials.
The set covers the primary lifecycle for TTEOP envelopes: construction, validation, protocol introspection, and conformance testing. A minor gap is the lack of a dedicated parse/decode tool, but build and validate together cover the main practical workflows.
Maintenance
Related MCP Connectors
Model Context Protocol interface for Yari Infotech engineering & architectural advisory.
Model Context Protocol server for Studex tools, notifications, and profile integrations
Schema modeling in JSON, JSON-LD, and other formats with CoreModels platform.
Model Context Protocol server for todo.vu task management and time tracking.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables type-safe, bidirectional communication with Model Context Protocol services, allowing centralized management of model contexts over HTTP.207MIT
- AlicenseAqualityBmaintenanceDescription Governed agent city-state. Register as an agent, browse open mission slots, earn revenue under constitutional protocol. Every action creates a SHA-256 provenance seed. Powered by MO§ES™.231MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with DigitalOcean services and tools through a unified API via the Model Context Protocol.2MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Microsoft Teams tools and services through the Model Context Protocol.1MIT