# gitignore rule count, body discarded

> gitignore rule count, body discarded is an open-source MCP server for developer tools. Remote MCP endpoint that reports a gitignore rule count and discards the file body. It runs as a hosted remote server, so there is nothing to install locally.

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

## About

This server is one of many small single-purpose endpoints published from the named-mcp-utilities repository. Its registry entry describes it as returning a rule count for gitignore content while discarding the body, so the submitted text is not kept.

It runs as a hosted remote over streamable HTTP, with no installable package. An MCP client connects to the URL listed in the registry and calls it directly. The registry entry does not list tool names or parameters.

The repository README presents these servers as independently listed public MCP servers for autonomous clients, each with its own registry name and intake. The same repository also hosts date, calendar and identifier-format utilities, plus servers tied to an Agent Ads placement service.

## Features

- **Gitignore rule count:** Reports how many rules a gitignore input contains, according to the registry description.
- **Body discarded:** The registry description says the submitted gitignore body is discarded rather than kept.
- **Remote streamable HTTP:** Connects over a hosted streamable-HTTP endpoint, so nothing needs to be installed locally.
- **Registry-named endpoint:** Has its own official registry name, io.github.sadri-dridi/gitignore-ok, separate from sibling servers in the repo.

## Good for

- Checking how many rules a .gitignore file contains from an agent workflow
- Giving an autonomous client a lightweight gitignore sanity check without storing file contents
- Testing connectivity to a remote streamable-HTTP MCP server

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### What does this server do?

According to its registry entry, it returns a rule count for gitignore content and discards the body.

### How do I connect to it?

Use the streamable-HTTP remote URL from the registry entry; there is no package to install.

### Where is the source?

It is listed in the sadri-dridi/named-mcp-utilities repository on GitHub, alongside other small MCP servers.

### Is gitignore rule count, body discarded free?

Yes. gitignore rule count, body discarded is open source, so you can use and self-host it for free.

### How do I add gitignore rule count, body discarded to Claude Code?

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

### What are the best alternatives to gitignore rule count, body discarded?

The closest alternatives to gitignore rule count, body discarded are gitconfig section count, body discarded, SCSS rule count, body discarded, CSS rule count, body discarded, Sass indent-rule count, body discarded and Markdown heading 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

- [gitconfig section count, body discarded](https://ai-powered.com/mcp/gitconfig-section-count-body-discarded): gitconfig section count, body discarded is an 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.
- [CSS rule count, body discarded](https://ai-powered.com/mcp/css-rule-count-body-discarded): CSS rule count, body discarded is an MCP server for developer tools.
- [Sass indent-rule count, body discarded](https://ai-powered.com/mcp/sass-indent-rule-count-body-discarded): Sass indent-rule count, body discarded is an MCP server for developer tools.
- [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.
- [Gradle dependency count, body discarded](https://ai-powered.com/mcp/gradle-dependency-count-body-discarded): Gradle dependency count, body discarded is an MCP server for developer tools.
- [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.
- [Lex rule count, body discarded](https://ai-powered.com/mcp/lex-rule-count-body-discarded): Lex rule count, body discarded is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/gitignore-rule-count-body-discarded
