Telvine Docs

Governed skills endpoint

Deliver versioned skills through one MCP endpoint with Entra group access, approvals and evaluation release gates.

Telvine serves skill instructions and bundled files through one authenticated MCP endpoint:

https://api.telvine.com/mcp

Use it standalone or behind an MCP gateway such as Cloudflare portals or Azure APIM. The gateway handles connection policy and routing; Telvine owns the skill definitions, live versions, approvals and evaluation evidence.

Publish a skill in a plugin

Author a skill in the open Agent Skills format, then publish its plugin:

npm i -g @telvine/cli
telvine login
telvine publish ./my-plugin --version 1.0.0

The updated CLI uploads SKILL.md as a versioned artifact, along with files under references/, scripts/ and assets/. Existing local telemetry footers are removed from the uploaded source. Artifact files are immutable, limited to 100 files, 150 KB per file in the CLI, and 2 MB of encoded content per skill. Symlinks are rejected. Binary files use base64 encoding. Keep credentials out of published artifacts.

Published content starts as a draft. Older metadata-only versions are not eligible for MCP delivery; publish a new version with this CLI. Publishing a draft preserves the existing stable version.

Release to production

Configure release evaluation suites using the evaluation guide. Run the candidate against an active regression or holdout suite and submit passing results. Target the skill when evaluating a capability for MCP delivery:

telvine eval run ./my-plugin --suite outcomes --skill-id skl_yourskillid \
  --version 1.0.0 --engine-version <your-installed-promptfoo-version>

Use --plugin-id instead when evaluating the whole plugin package. The suite definitions still live under the plugin's evals/ directory. Stable promotion requires passing evidence for every current required suite.

Enterprise teams can turn on Require independent approval in Dashboard → Governance. Then:

# Author: request review of the immutable version.
telvine skills review skl_yourskillid --version 1.0.0
 
# A different organization administrator inspects the content and evals
# in Dashboard → Governance, then approves there or with the CLI.
telvine skills review skl_yourskillid --version 1.0.0 --action approve
 
# Release only after approval and eval gates pass.
telvine skills release skl_yourskillid --version 1.0.0

Self-approval is rejected. Review transitions are draft → pending → approved or rejected. Rejected versions can be submitted again; changing content requires a new version. Demote a stable version before re-reviewing it.

With approval enforcement disabled, individuals can release after the eval gate without a second reviewer. Enabling enforcement immediately hides any live version that lacks approval. Demoting or deprecating the live version removes it from delivery; Telvine does not silently fall back to another version.

Connect an agent

Create a read key in Dashboard → Keys. Where your MCP client accepts JSON configuration with headers, use:

{
  "mcpServers": {
    "telvine": {
      "url": "https://api.telvine.com/mcp",
      "headers": {
        "Authorization": "Bearer <your-read-key>"
      }
    }
  }
}

The configuration container and secret-storage mechanism vary by client. Use the client's remote MCP / Streamable HTTP settings. Keep the token in its secret store or environment where supported. Claude, Codex, Cursor, OpenCode and other compatible clients use the same endpoint; their models do not need a Telvine-specific integration.

Ask the agent to list my Telvine skills, load the appropriate skill before doing the task, and report its outcome afterwards. MCP delivers instructions; a client must use them as instructions. This does not automatically install native slash commands or execute plugin connectors, hooks or scripts.

The endpoint exposes:

ToolPurpose
telvine_list_skillsDiscover only the live skills available to the caller.
telvine_get_skillLoad the current stable SKILL.md, file inventory and an opaque delivery ID.
telvine_get_skill_fileLoad an authored reference, script or asset using that delivery ID and its relative path. Access is checked again; if the version changes, reload the skill.
telvine_report_outcomeReport completion or error with the delivery ID, duration and tool-call count. Duplicate reports do not create extra invocations.

MCP resources also expose stable skill instructions at telvine://skills/<skill-id>/SKILL.md. Resource reads return the delivery ID in _meta. No draft, preview, deprecated or metadata-only version is served.

Connect Entra

For the full setup, including app registrations, token acquisition, APIM policies, Cloudflare upstream OAuth and troubleshooting, follow Enterprise setup with Entra and an MCP gateway.

Current requirement: an agent, adapter or gateway must obtain a per-user Entra token for your configured API audience. Telvine validates supplied tokens; it does not yet provide native MCP OAuth discovery or an automatic sign-in/refresh flow. Gateway login and downstream token acquisition are separate.

An organization administrator configures the following in Dashboard → Governance:

  1. The Entra tenant ID.
  2. The audience of your Entra API application (the application client ID for v2 access tokens).
  3. Optional approval enforcement.
  4. Each skill's audience: the authenticated organization or selected Entra group object IDs.

Configure the API application to issue group claims. Acquire a v2 access token for that API and send it in the same Bearer header. Telvine verifies the signature against Microsoft's tenant-specific JWKS, issuer, audience, tenant and expiry. It matches the verified groups claim against the saved skill policy on every list, content read and file read.

Group membership comes from signed access tokens; Telvine does not copy your directory. Membership changes take effect with fresh tokens. Tokens with group-overage markers are rejected rather than granting access from incomplete claims. Configure group claims scoped to the relevant application groups to stay below token limits. This release does not follow Graph overage links or implement SCIM provisioning.

Once Entra is configured, the runtime MCP endpoint requires Entra identity; Telvine read keys and Clerk sessions cannot bypass it. Clerk organization administrators still use the management dashboard. Admins and the original author can inspect authored artifacts through the management API; read keys receive version metadata only.

The same Entra tenant can be linked to one Telvine organization. This release validates supplied access tokens; it does not provide automatic OAuth client registration or a client sign-in/token-refresh flow. Configure token acquisition in your client or gateway.

Run behind a gateway

Route your gateway's MCP path to the Telvine /mcp upstream. Preserve the end-user Bearer access token and MCP headers. A gateway service credential must not replace the user's Entra identity. Telvine does not trust forwarded user/group headers.

The endpoint uses Streamable HTTP with JSON responses. It supports the 2025-06-18 and 2025-11-25 protocol versions, initialize, ping, tools and resources. POST requests must accept both application/json and text/event-stream. Basic skill calls can be stateless; MCP Apps-aware clients preserve the Mcp-Session-Id returned during UI capability negotiation. GET/SSE subscriptions are not provided and return 405.

Browser clients must use an origin in MCP_ALLOWED_ORIGINS. Operators can set a comma-separated list of trusted origins; native clients without an Origin header are accepted with valid authentication. The API applies this allowlist to MCP CORS responses as well.

Measure and improve

A skill delivery records skill.reference.loaded. Successful loading is not counted as task completion. The agent reports either skill.invocation.end or skill.invocation.error against an opaque receipt bound to its identity, organization and exact delivered version. Reports remain attributable to that version even if a newer release goes live.

Reports accept only closed metadata fields; prompts, file contents, connector payloads, tool arguments and model outputs are excluded. Calls outside this endpoint still need runtime instrumentation. Outcome reporting depends on the agent making the reporting call and is evidence to review, not independent proof of execution quality.

Use the existing skill metrics, version analytics and evaluation dashboards to investigate production outcomes, build regression cases in your controlled environment and compare the next release. Governance changes appear in the audit log with actor, action, skill/version and timestamp; artifact content and execution payloads are excluded.

Local development

Apply the generated migrations before starting the updated API:

pnpm db:migrate
pnpm dev

The local endpoint is http://localhost:3001/mcp. For a browser preview, explicitly allow its origin in MCP_ALLOWED_ORIGINS. Enterprise is the commercial packaging for identity, approvals, audit and analytics; subscription billing and entitlement provisioning are not implemented by these endpoints.

On this page