Tteop Mcp

io.github.SunrisesIllNeverSeePublished by GitHub account SunrisesIllNeverSeev0.2.1Updated Oct 24, 2026

Build, validate, and describe TTEOP telemetry envelopes for AI operator token efficiency.

The publisher's own server: Contribution Exchange

VerifiedSTDIODesktop onlyDeveloper ToolsData & Analytics

Overview

AI-generated overview

Local MCP server that builds, validates and describes TTEOP telemetry envelopes and their token-efficiency metrics.

What you can do
  • Build a TTEOP v0.1-draft envelope from token counts, computing Yield, Leverage, Velocity, output_fraction and log_leverage
  • Validate an envelope against the JSON Schema and semantic rules, returning schema errors, semantic errors, warnings and computed metrics
  • Look up protocol metadata: versions, privacy modes, provenance levels, forbidden fields and metric formulas
  • Run the conformance suite covering canonical vectors, null semantics, forbidden-field detection and banker's rounding
When to use it
Use it when you work with the TTEOP telemetry format and want an assistant to construct or check envelopes and explain the protocol's metrics, rather than to analyze arbitrary data.
Requirements
Runs as a local stdio process, typically via npx tteop-mcp or a global npm install, so Node.js and npm are needed. No accounts, API keys, environment variables or headers are declared.
Before you install
The package is a thin transport over the tteop-spec dependency, so its validation and metric behavior follows that package's releases. The README notes a pending 0.2.1 release that upgrades the protocol dependency, so check which version you install. No write, send or credential-handling behavior is described.

Installation

In SourceWeft

  1. Open Tteop Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

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

PackageRole
tteop-specSpecification, schemas, validator, conformance suite, builder API
tteop-mcpProduction MCP server (this package) — thin transport over tteop-spec
SignalAF / SigRankHosted benchmarking, leaderboard, pilots, enterprise services

Install

bash
npm install -g tteop-mcp# or use directly:npx tteop-mcp

Tools

ToolDescription
tteop_build_envelopeBuild a TTEOP v0.1-draft schema-conforming envelope from token counts. Computes Yield (Υ), Leverage (L), Velocity (V), output_fraction (F), and log_leverage (D).
tteop_validate_envelopeValidate an envelope against the JSON Schema and semantic rules. Returns schema errors, semantic errors, warnings, and computed metrics.
tteop_describe_protocolGet TTEOP protocol metadata: versions, privacy modes, provenance levels, forbidden fields, metric definitions with formulas.
tteop_run_conformanceRun the conformance suite: canonical vector invariants, null semantics, forbidden field detection, banker's rounding.

Usage

With Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "tteop": {      "command": "npx",      "args": ["-y", "tteop-mcp"]    }  }}

With MCP Inspector

bash
npx @modelcontextprotocol/inspector npx -y tteop-mcp

Open the browser tab, click Connect, open the Tools tab, and call any tool.

Programmatic

javascript
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.stdout

Development

bash
# Install the exact locked dependency graphnpm 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 testsnpm test                    # real MCP client testnpm run test:packaged       # packaged tarball testnpm run test:release        # package/lockfile/registry version agreementnpm run test:all            # complete local release gate
# Run with MCP Inspectornpm run inspect
# Start the servernpm start

Acceptance criteria

  • npx tteop-mcp waits for an MCP connection
  • initialize succeeds
  • tools/list returns complete schemas (4 tools)
  • Every tool can be called through MCP Inspector
  • Invalid token values return structured MCP errors (isError: true with validation message)
  • stdout contains protocol messages only
  • CI runs an actual MCP client against the packaged tarball

Distribution status and release order

[email protected] 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 [email protected], and adds release hardening.

The required release order is:

  1. Confirm [email protected] is available from npm.
  2. Merge the [email protected] release commit with every required check green.
  3. Run the manual Release npm package workflow. It publishes with npm provenance and creates GitHub release v0.2.1 at the same commit.
  4. Confirm npm view [email protected] gitHead equals the GitHub release commit.
  5. Publish the matching server.json to the MCP Registry:
    bash
    mcp-publisher loginmcp-publisher publish
  6. Confirm the MCP Registry and Glama show version 0.2.1 and all four tools.
  7. From a clean directory, run npx -y [email protected] --version and 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

Source: README.md at commit 3132150

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.1LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

Other Signalaf integrations