
simpletel
io.github.willnewbyv20261010.0501.29-7482c9cUpdated Oct 10, 2026
Query your simpletel OpenTelemetry traces and account usage from a coding agent.
Overview
Lets a coding agent read simpletel OpenTelemetry traces, logs, metrics, and account usage for a team's running services.
- What it does
- Exposes four read-only tools over stdio: get_traces lists a team's traces newest-first with filters for time window, service, errors, and minimum duration; get_trace fetches one trace in full with spans, span events, and correlated log records; verify runs an onboarding check that polls until a service reports a fresh instrumented trace; and usage shows the account plan, month-to-date records, allowance, and spend cap. Each tool returns the JSON document the matching simpletel CLI command produces, and tool-side failures come back as a normal result with isError set.
- When to use it
- Useful when you want an assistant to investigate a failing or slow request in services instrumented with simpletel, or to check onboarding and account usage without leaving the coding session. It is aimed at teams already sending telemetry to a simpletel endpoint.
- Requirements
- A local simpletel CLI binary (installed via the one-line installer) or the published container image, run as a stdio subprocess. Connection is resolved from flags, environment, or the config file at ~/.simpletel/config.toml: SIMPLETEL_ENDPOINT, SIMPLETEL_TEAM, SIMPLETEL_ADMIN_TOKEN, SIMPLETEL_TOKEN, SIMPLETEL_CONFIG. A 20-hex team id needs no extra token; a team name needs an admin token, and usage needs a user token. Docker needs -i and no -t.
Installation
In SourceWeft
- Open simpletel in the dashboard and add it to a workspace.
- 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
simpletel-mcp
Model Context Protocol server for simpletel — ask your coding agent "what just happened?" and let it read the OpenTelemetry traces, logs, metrics, and account usage of your running services.
simpletel mcp is a stdio MCP server built into the simpletel CLI. It
speaks newline-delimited JSON-RPC 2.0 on stdin/stdout (MCP protocol revision
2025-06-18) and exposes simpletel's read commands as native agent tools. It is
a single static binary: no runtime, no dependencies, no background service.
- One-line install of the CLI:
curl -fsSL https://simpletel.dev/install | sh - Run it as
simpletel mcp - Or use the container:
ghcr.io/willnewby/simpletel-mcp - Registry name:
io.github.willnewby/simpletel
Tools
The server advertises four tools. Every tool returns text (the JSON document the
matching CLI command produces), and tool-side failures come back as a normal
result with isError: true — a tool call never breaks the session.
get_traces, get_trace, and verify are team-scoped; usage is
account-scoped.
Authentication and team resolution
The server resolves one connection at startup, using the same precedence as every other simpletel read command: **flag > environment variable > config file
default**.
- The config file is
~/.simpletel/config.toml, written bysimpletel loginandsimpletel team(mode0600).simpletel loginsigns you in with GitHub;simpletel team create/simpletel team useset the current team. --teamaccepts either a 20-hex team id — used verbatim, no token needed — or a friendly name. A name is resolved only, never created, and needs an admin token to look it up.usageadditionally needs a user token: runsimpletel login, or setSIMPLETEL_TOKEN(astk_…token).
If the team is missing or wrong the server still answers initialize and
tools/list, so the client sees the tool catalog; each team-scoped call then
reports the problem as its own isError result.
Nothing is ever sent to simpletel by this server beyond the read requests the tools make to the endpoint you configure. Diagnostics go to stderr; stdout carries protocol messages only.
Install
1. Install the CLI
Installs simpletel into ~/.simpletel/bin/ (verify the sha256; no sudo,
never prompts). Then sign in and create/select a team:
2. Register the server with your client
The MCP subcommand is simpletel mcp. It takes the connection flags
--endpoint, --team, --admin-token, and --config.
Claude Code
Pass connection values as environment instead with --env:
Claude Desktop / any JSON-configured client (claude_desktop_config.json,
Cursor, Cline, Windsurf, …):
If you are logged in locally you can drop env and the command will read
~/.simpletel/config.toml. In a sandboxed client that cannot read your home
directory, pass the values through env (or --env / --router equivalents)
instead.
Docker
The image bundles the CLI and runs simpletel mcp. It is built for
linux/amd64 and linux/arm64:
The container starts with no credentials. Provide them either by mounting the config file or through environment variables (recommended — nothing is written to the image).
Mount an existing config file (read-only). The image runs as the distroless
nonroot user (uid/gid 65532) with HOME=/home/nonroot, so the CLI's default
config path inside the container is /home/nonroot/.simpletel/config.toml.
Because simpletel login writes that file mode 0600 for you, run the
container as the file's owner so it stays readable:
(Passing the connection through -e below avoids the ownership question
entirely and is the recommended path.)
Or pass everything through the environment:
As a JSON client entry:
The MCP transport is stdio, so -i (keep stdin open) is required and you
must not add -t.
Configuration reference
Limitations
- stdio only.
simpletel mcpis launched as a subprocess by the client; it is not an HTTP/SSE endpoint. - Read-only. The tools query traces, usage, and onboarding state. They do not ingest data or change account settings.
- The host CLI is required unless you use the container. The
simpletelbinary is fetched at build time by theDockerfile; the repo ships no binary of its own — seeDockerfilefor the build. - Windows is not a first-class target of the one-line installer; use the Docker image or WSL.
Repository contents
License
MIT — see LICENSE.
Source: README.md at commit f5b56ec
Tools
0Version history
1- v20261010.0501.29-7482c9cLatestOct 10, 2026


