frontmcp-observability

frontmcp-observability is a skill for Claude Code, Codex from agentfront/frontmcp. It costs 177 tokens per session (3,110 once invoked), scanned A, original, Apache-2.0.

A guide for adding tracing, logs, and measurements to FrontMCP servers. FrontMCP is a framework for building servers that expose tools and services to AI systems.

In plain words
What is it for?
Use it to set up OpenTelemetry tracing, structured JSON logs, request log collection, custom telemetry, and monitoring integrations.
Why use it?
It helps you see what happens during requests, find slow or failing parts, and connect server data to monitoring services.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agentfront/frontmcp/frontmcp-observability
Any agent
npx skills add agentfront/frontmcp --skill frontmcp-observability
Clone the repo
git clone --depth 1 https://github.com/agentfront/frontmcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontmcp-observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentfront/frontmcp/frontmcp-observability.svg)](https://agentmods.dev/skills/agentfront/frontmcp/frontmcp-observability)
Your own site
<a href="https://agentmods.dev/skills/agentfront/frontmcp/frontmcp-observability"><img src="https://agentmods.dev/badge/skills/agentfront/frontmcp/frontmcp-observability.svg" alt="Measured on agentmods" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,110 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00177 $0.03110
Opus 5 $0.00088 $0.01555
Sonnet 5 $0.00035 $0.00622
Haiku 4.5 $0.00018 $0.00311

Measured 4d ago against content hash 6fbaf4f7f315, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontmcp-observability scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| [`enable-metrics-endpoint`](./examples/metrics-endpoint/enable-metrics-endpoint.md) | Basic | Turn on the /metrics endpoint with defaults and scrape it with curl. |
libs/skills/catalog/frontmcp-observability/SKILL.md · 217 lines

How it starts

The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FrontMCP Observability

Router for adding observability to FrontMCP servers. Covers distributed tracing (OpenTelemetry), structured JSON logging, per-request log collection, the this.telemetry developer API, and vendor integrations.

When to Use This Skill

Must Use

  • Adding tracing, logging, or monitoring to a FrontMCP server
  • Connecting Coralogix, Datadog, Logz.io, Grafana, or any OTLP backend
  • Using this.telemetry to create custom spans in tools, plugins, or agents
  • Setting up structured logging with winston, pino, or NDJSON stdout
  • Testing that spans and log entries are created correctly

Recommended

  • Before going to production (see also frontmcp-production-readiness)
  • When debugging request latency or error rates
  • When building plugins that need trace context propagation

Skip When

  • Building a prototype that doesn't need observability yet
  • Configuring auth, transport, or throttle (see frontmcp-config)
  • Setting up the project from scratch (see frontmcp-setup)

Decision: Use this skill when you need to observe, trace, or log your server. Start with tracing-setup for auto-instrumentation, add structured-logging for production logs, and use telemetry-api for custom spans in your code.

Prerequisites

  • A working FrontMCP server (see frontmcp-setup)
  • npm install @frontmcp/observability

Step 1: Choose What You Need

I want to... Reference
Enable auto-tracing for all flows references/tracing-setup.md
Add structured JSON logging with trace correlation references/structured-logging.md
Create custom spans in tools/plugins references/telemetry-api.md
Connect Coralogix, Datadog, Logz.io, Grafana references/vendor-integrations.md
Test that spans and logs are correct references/testing-observability.md
Expose Prometheus /metrics endpoint references/metrics-endpoint.md

Read the full file on GitHub · 217 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 217 lines · 177 tokens per session scan A 6fbaf4f7f315

Subscribe to this mod's changes

frontmcp-observability is a skill published in the GitHub repository agentfront/frontmcp (146 stars, last pushed 2d ago), licensed Apache-2.0. It adds 177 tokens to every session and 3,110 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.