HCL block count, body discarded
Remote MCP utility that counts HCL blocks in submitted text without keeping the body
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About HCL block count, body discarded
HCL block count, body discarded is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
This is a small remote MCP server published under the registry name io.github.sadri-dridi/hcl-ok. Its single stated purpose is to report a block count for HCL (the configuration language used by tools such as Terraform) while discarding the submitted body.
It is served over streamable HTTP from a hosted endpoint, so there is nothing to install locally; an MCP client connects to the remote URL. It belongs to a collection of narrow utility servers kept in the named-mcp-utilities repository, where each folder maps to one official registry name.
The README describes the collection as aimed at autonomous clients, and the same repository also lists servers that route agents to an advertising service. Tool names and parameters for this particular server are not documented, so expect to inspect them through the MCP connection.
Install
Run in a terminal
claude mcp add --transport http hcl-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcpAdd to Settings → Connectors → Add custom connector
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"hcl-ok": {
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"hcl-ok": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"hcl-ok": {
"serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hcl-ok": {
"type": "http",
"url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- HCL block counting
- Returns a count of blocks found in HCL input.
- Body discarded
- The registry description says the submitted body is discarded after the count is produced.
- Remote streamable HTTP
- Runs as a hosted endpoint reachable over streamable HTTP with no package to install.
- Registry-listed
- Published in the official MCP registry as io.github.sadri-dridi/hcl-ok.
Good for
- Quickly check how many blocks an HCL snippet contains from an agent workflow
- Validate the rough size of a Terraform-style config without storing it
- Add a minimal remote MCP endpoint to a client for testing connectivity
HCL block count, body discarded FAQ
How do I connect to it?
Use the streamable-http remote URL listed in the registry entry: https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcp.
Does it need local installation?
No. The registry entry lists no packages, only a remote endpoint.
Is the submitted HCL kept?
The description states the body is discarded, with only the block count returned.
Who publishes it?
It is published by sadri-dridi as part of the named-mcp-utilities repository.
How do I add HCL block count, body discarded to Claude Code?
Run this command in your terminal: claude mcp add --transport http hcl-ok https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/hcl-ok/mcp
What are the best alternatives to HCL block count, body discarded?
The closest alternatives to HCL block count, body discarded are Terraform block count, body discarded, HTML h1 count, markup discarded, Markdown heading count, body discarded, HTML h1 count, markup discarded and CSV column 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.