# tfvars assignment count, body discarded

> tfvars assignment count, body discarded is an MCP server for developer tools. MCP server that counts assignments in tfvars text and discards the values. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/tfvars-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes this as one of a set of small, independently listed MCP servers aimed at autonomous clients. This one is a Terraform-oriented utility: it looks at tfvars-style input and reports how many assignments it contains, without returning the assigned values themselves.

It is exposed as a remote streamable-http endpoint rather than a package, so there is nothing to install locally according to the registry entry. The README lists it as part of the named-utilities collection hosted in the sadri-dridi repository, alongside many unrelated single-purpose utilities.

It suits developers or agents who want a quick structural check on Terraform variable files without exposing their contents. The README and registry entry give no further detail on supported input formats, limits, or pricing.

## Features

- **Assignment counting:** Reports how many variable assignments appear in tfvars-style input.
- **Values discarded:** Returns only the count, not the assigned values.
- **Remote streamable-http endpoint:** Served over streamable HTTP with no local package to install.

## Good for

- Check how many variables a tfvars file defines before a Terraform run
- Give an agent a structural summary of variable files without showing secrets

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http tfvars-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "tfvars-ok": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "tfvars-ok": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "tfvars-ok": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tfvars-ok": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp"
    }
  }
}
```

## FAQ

### How is the server installed?

The registry entry lists no packages and a single streamable-http remote URL, so it is used by connecting to that endpoint.

### Does it return the variable values?

No. The name and description say the body is discarded, and it reports only the assignment count.

### How do I add tfvars assignment count, body discarded to Claude Code?

Run this command in your terminal: claude mcp add --transport http tfvars-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/tfvars-ok/mcp

### What are the best alternatives to tfvars assignment count, body discarded?

The closest alternatives to tfvars assignment count, body discarded are Terraform block count, body discarded, TSV column count, cells discarded, TOML table count, body discarded, Thrift field-id count, body discarded and TOML table count, body discarded.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Terraform block count, body discarded](https://ai-powered.com/mcp/terraform-block-count-body-discarded): Terraform block count, body discarded is an MCP server for cloud and infrastructure.
- [TSV column count, cells discarded](https://ai-powered.com/mcp/tsv-column-count-cells-discarded): TSV column count, cells discarded is an MCP server for developer tools.
- [TOML table count, body discarded](https://ai-powered.com/mcp/toml-table-count-body-discarded-2): TOML table count, body discarded is an MCP server for developer tools.
- [Thrift field-id count, body discarded](https://ai-powered.com/mcp/thrift-field-id-count-body-discarded): Thrift field-id count, body discarded is an MCP server for developer tools.
- [TOML table count, body discarded](https://ai-powered.com/mcp/toml-table-count-body-discarded): TOML table count, body discarded is an MCP server for developer tools.
- [UTF-16 code-unit count, text discarded](https://ai-powered.com/mcp/utf-16-code-unit-count-text-discarded): UTF-16 code-unit count, text discarded is an MCP server for developer tools.
- [TeX control-word count, body discarded](https://ai-powered.com/mcp/tex-control-word-count-body-discarded): TeX control-word count, body discarded is an MCP server for developer tools.
- [vCard FN field count, body discarded](https://ai-powered.com/mcp/vcard-fn-field-count-body-discarded): vCard FN field count, body discarded is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/tfvars-assignment-count-body-discarded
