Tarn logo

Tarn

by NazarKalytiuk

Run and debug YAML API tests through MCP with structured results, validation, test listing, and prioritized fix plans.

Install Tarn

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for NazarKalytiuk/tarn, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

NazarKalytiuk/tarn MCP server exposes Tarn’s API testing workflow to AI agents through structured MCP tools. It runs `.tarn.yaml` tests, validates YAML without execution, lists tests and steps, and turns JSON reports into prioritized fix plans. Reach for it when an agent needs to write, execute, inspect, and repair API tests without parsing stderr or log text. Tarn is a Rust CLI distributed as a static binary, with REST and GraphQL testing support documented by the project.

Use cases

  • Run YAML API tests from an AI coding agent
  • Validate test files before executing requests
  • List available tests and their steps
  • Generate prioritized actions from failed test reports

Key features

  • Structured JSON test results
  • YAML validation without execution
  • Test and step listing
  • Prioritized fix-plan generation
  • REST and GraphQL API testing
  • Static binary distribution

Tools4

What Tarn lets your agent do. Expand a tool for its parameters.

Self-reported~54 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit6mo agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Tarn works

What NazarKalytiuk/tarn MCP server does

NazarKalytiuk/tarn MCP server connects an MCP-capable agent to Tarn API test projects. Tarn tests are written as .tarn.yaml files, allowing an agent to create or modify requests and assertions in a format that can be reviewed and versioned alongside application code.

The server focuses on an agent-oriented test loop: discover the available tests, check a file before execution, run the suite, and use structured results to decide what to change next. Run results include categorized failures, error codes, remediation hints, and request or response context, so clients can branch on stable fields instead of scraping terminal output.

How it works

The MCP companion exposes operations for running tests, validating YAML, listing test definitions and their steps, and analyzing a Tarn JSON report. tarn_run executes tests and returns structured JSON results. tarn_validate checks YAML syntax without running the test. tarn_list reports the tests and steps available to run. tarn_fix_plan reads a Tarn report and produces prioritized next actions.

The underlying CLI runs .tarn.yaml files under a project’s test directory. It can emit JSON for machine processing and supports a failures-first workflow through the broader Tarn CLI, including focused inspection and rerunning failed file-and-test pairs.

Setup and configuration

Install Tarn on macOS or Linux with the project’s shell installer, or build it from source with Cargo. Release archives are also available for macOS, Linux, and Windows. The archive can include tarn-mcp; the installer places that companion alongside the main binary when present. Set TARN_INSTALL_DIR when the binaries need to be installed in a non-default location.

A new project can be scaffolded with tarn init, which creates a tests/ directory, tarn.env.yaml, and example templates. Set the API base URL in the environment configuration, then run the tests with Tarn.

Tools and capabilities

NazarKalytiuk/tarn MCP server provides these documented tools:

  • tarn_run — execute API tests and return JSON results.
  • tarn_validate — check YAML syntax without executing tests.
  • tarn_list — list test files, tests, and steps.
  • tarn_fix_plan — analyze a Tarn JSON report and return ordered remediation actions.

The CLI can run every test or selected paths, use named environments, emit compact JSON, rerun only failures, watch for file changes, and execute files in parallel. Tarn’s failure model includes stable categories and error codes, while downstream skipped steps can be represented as cascades from an upstream failure.

Limitations and notes

The MCP tools operate on Tarn test files and reports; they do not replace the Tarn CLI or create a separate API test format. The project’s documented agent list includes Claude Code, Codex, Cursor, and Windsurf for the MCP integration. Pi is described as using the Tarn skill and CLI rather than native MCP, with an adapter available optionally.

TARN_INSTALL_DIR changes installation location; it is not presented as a runtime requirement. A reachable API and suitable project configuration are still needed for meaningful test execution, while YAML validation can be performed without making test requests.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Tarn

NazarKalytiuk/tarn is an MCP server that connects AI agents to Tarn API test projects. Its main tools run `.tarn.yaml` tests, validate YAML without execution, list tests and steps, and analyze Tarn JSON reports to produce prioritized fix plans with structured failure details.

Install Tarn with the project’s shell installer, Cargo, or a release archive. The installer or archive can provide the `tarn-mcp` companion alongside the main binary. Set `TARN_INSTALL_DIR` if you need a custom installation directory, then configure the MCP server in your client using its documented setup method.

Pi is documented separately as using the Tarn CLI and skill rather than native MCP, with an optional adapter.

Tarn uses `.tarn.yaml` files for API tests. These files define test names, request steps, URLs, methods, and assertions; project setup can be scaffolded with `tarn init`, which creates a tests directory and environment configuration.

Yes. `tarn_run` returns structured JSON with failure categories, error codes, hints, and request or response context, while `tarn_fix_plan` analyzes a Tarn JSON report and returns prioritized next actions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTarn AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nazarkalytiuk-tarn?style=directory)](https://allmcps.com/mcp/nazarkalytiuk-tarn)
HTML Embed
<a href="https://allmcps.com/mcp/nazarkalytiuk-tarn"><img src="https://allmcps.com/api/badge/nazarkalytiuk-tarn?style=directory" alt="Tarn on AllMCPs" /></a>