# Makefile target count, body discarded

> Makefile target count, body discarded is an MCP server for developer tools. Remote MCP endpoint that counts Makefile targets and discards the file body. 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/makefile-ok
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose utility endpoints published under the same GitHub account. Its stated function is to report how many targets a Makefile contains while discarding the body of what was sent.

It is reached as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, and no installable package is published. The sibling servers in the repository follow the same pattern: each is a narrow check, such as a format shape, a calendar-year test or an identifier layout, and each is registered under its own name.

The repository README describes the collection as intended for autonomous clients. It offers no documentation of the tool names or parameters for this specific server, so integrators would need to connect and inspect the tool list.

## Features

- **Makefile target counting:** Returns the number of targets found in a Makefile supplied by the client.
- **Input discarded:** The registry description says the body is discarded after the count is produced.
- **Remote streamable-http:** Connects over a hosted streamable-http endpoint with no local install.
- **Single-purpose design:** Does one narrow check, like the other servers in the same repository.

## Good for

- Letting an agent quickly check how many targets a Makefile defines
- Sanity-checking build files in an automated pipeline
- Testing MCP client connectivity against a minimal remote server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to it?

Use the streamable-http remote URL listed in the MCP registry entry; no package is published for local install.

### What does it do with the Makefile content?

The registry description says the body is discarded and only the target count is returned.

### Is it part of a larger set of servers?

Yes, it is one of many small utility servers in the named-mcp-utilities repository, each registered under its own name.

### How do I add Makefile target count, body discarded to Claude Code?

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

### What are the best alternatives to Makefile target count, body discarded?

The closest alternatives to Makefile target count, body discarded are Markdown heading count, body discarded, ssh config Host count, body discarded, TeX control-word count, body discarded, Report-To group count, body discarded and Terraform block 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

- [Markdown heading count, body discarded](https://ai-powered.com/mcp/markdown-heading-count-body-discarded): Markdown heading count, body discarded is an MCP server for files and documents.
- [ssh config Host count, body discarded](https://ai-powered.com/mcp/ssh-config-host-count-body-discarded): ssh config Host count, body 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.
- [Report-To group count, body discarded](https://ai-powered.com/mcp/report-to-group-count-body-discarded): Report-To group count, body discarded is an MCP server for developer tools.
- [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.
- [Less variable count, body discarded](https://ai-powered.com/mcp/less-variable-count-body-discarded): Less variable count, body discarded is an open-source MCP server for developer tools.
- [SCSS rule count, body discarded](https://ai-powered.com/mcp/scss-rule-count-body-discarded): SCSS rule count, body discarded is an MCP server for developer tools.
- [Markdown heading count, text discarded](https://ai-powered.com/mcp/markdown-heading-count-text-discarded): Markdown heading count, text discarded is an MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/makefile-target-count-body-discarded
