terramate-mcp-server: Instructions file for Claude Code

CLAUDE.md

terramate-mcp-server CLAUDE.md is an instructions file for Claude Code from terramate-io/terramate-mcp-server. It costs 4,950 tokens per session, scanned A, a copy of terramate-mcp-server AGENTS.md, MIT.

Repository instructions for a Terramate MCP server, a connector that lets AI assistants interact with Terramate Cloud infrastructure tools.

In plain words
What is it for?
Use them when changing this Go project, especially its Terramate Cloud API client, MCP tool handlers, command-line program, or Docker build.
Why use it?
They give an AI coding assistant the project layout and the correct commands for building, testing, and developing the server.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions AGENTS.md.

This is terramate-io/terramate-mcp-server's own configuration. It tells Claude Code how to work on terramate-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything terramate-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to terramate-io/terramate-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/terramate-io/terramate-mcp-server/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/terramate-io/terramate-mcp-server

Made for: Claude Code.

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 terramate-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/terramate-io/terramate-mcp-server/claude-md/github.svg)](https://agentmods.dev/instructions/terramate-io/terramate-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/terramate-io/terramate-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/terramate-io/terramate-mcp-server/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terramate-mcp-server CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/terramate-io/terramate-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/terramate-io/terramate-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,950 This file is loaded in full into every session.
When invoked 4,950 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.1 $0.04950 $0.04950
Opus 5 $0.02475 $0.02475
Sonnet 5 $0.00990 $0.00990
Haiku 4.5 $0.00495 $0.00495

Measured 9d ago against content hash 980cd4392abc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

terramate-mcp-server CLAUDE.md scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to terramate-mcp-server AGENTS.md — 127 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 581 lines

How it starts

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

Terramate MCP Server Guidelines for Claude

This file provides guidance to Claude (claude.ai) when working with code in this repository.

Project Overview

This is the Terramate MCP Server - a Model Context Protocol server that integrates Terramate Cloud with AI assistants like Claude, ChatGPT, and Cursor. It enables natural language interactions with Terramate Cloud for managing Infrastructure as Code workflows.

Project Structure & Module Organization

  • cmd/terramate-mcp-server/ hosts the CLI entrypoint that wires flags, creates the server, and handles shutdown.
  • sdk/terramate/ contains the Terramate Cloud API client SDK with services for Stacks, Drifts, Deployments, ReviewRequests, Previews, Resources, and Memberships.
  • tools/ groups MCP tool handlers; for example see tools/tmc for all Terramate Cloud specific tools.
  • types/ defines shared interfaces and structs used across the project.

Build, Test, and Development Commands

Build Commands

  • make build - Build optimized production binary to bin/terramate-mcp-server
  • make build/dev - Build debug binary (faster, with debug info)
  • make docker/build - Build Docker image using multi-stage build
  • make clean - Clean build artifacts and test cache
  • make clean/all - Clean everything including Go module cache

Test Commands

  • make test - Run tests with race detector and coverage (timeout: 10m)
  • make test/coverage - Run tests and display coverage report
  • make test/race - Run tests with race detector
  • make test/short - Run tests, skip slow tests

Lint and Format Commands

  • make lint - Run golangci-lint with 5m timeout
  • make lint/fix - Run linters and auto-fix issues
  • make fmt - Format all Go code using gofmt -s
  • make fmt/check - Check if code is formatted (fails if not)
  • make vet - Run go vet on all packages
  • make check - Run all checks: format, vet, lint, and test

Dependency Commands

  • make deps - Download and tidy dependencies
  • make verify - Verify dependencies integrity
  • make tidy/check - Check if go.mod and go.sum are tidy

Read the full file on GitHub · 581 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. 9d ago First seen · 581 lines · 4,950 tokens per session scan A 980cd4392abc

Subscribe to this mod's changes

terramate-mcp-server CLAUDE.md is an instructions file published in the GitHub repository terramate-io/terramate-mcp-server (5 stars, last pushed 6mo ago), licensed MIT. It adds 4,950 tokens to every session, about $0.0248 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to terramate-mcp-server AGENTS.md, differing in 127 lines, and is treated as a copy.

Related

Other instructions, from other repositories