MCP server that publishes local CLI tools as MCP tool definitions

MCP server that publishes local CLI tools as MCP tool definitions

mcp-cli-catalog•byabcpro1

An MCP server that reads a JSON catalog of CLI tools and exposes them as MCP tool definitions so coding agents can discover and use available commands.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes CLI tools configured in a JSON catalog as MCP tool definitions, with required name and description fields.
  • •Optionally includes usage hints and exact commands in each tool definition.
  • •The catalog tools only instruct the LLM to use the shell and do not execute anything themselves.
  • •Supports pointing to a custom catalog through a CLI flag or environment variable.

BEST FOR

  • •Coding agents with shell access that need to discover available CLI tools.
  • •Making internal CLI utilities like knowledge-base commands discoverable to an LLM.

ABOUT MCP-CLI-CATALOG

MCP server that publishes local CLI tools as MCP tool definitions is cataloged as an MCP server attributed to abcpro1. An MCP server that reads a JSON catalog of CLI tools and exposes them as MCP tool definitions so coding agents can discover and use available commands. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server that publishes local CLI tools as MCP tool definitions are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

Upstream README

View this exact version on GitHub

README.md · fe28b38c67b7 · Fetched 2026-11-13 11:40:56 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

mcp-cli-catalog

An MCP server that publishes the CLI tools on your machine. Coding agents already have shell access and are great at generating complex commands with pipes and filters. This just tells them what's available so they can use MCP tools more efficiently.

Why

  • LLM coding agents can effectively chain shell commands with pipes to filter and reshape complex data.
  • Declaring CLI tools as MCP tools makes them discoverable to the LLM.

How It Works

  • This server exposes your CLI tools as MCP tool definitions so the LLM knows what's available.
  • The MCP tools defined in the catalog only instruct the LLM to use the shell; they do not execute any tools themselves.
  • Shell access is required for the agent to actually run the commands.

Install

Add the server to your MCP config (e.g. for Claude Code):

{
  "mcpServers": {
    "cli-catalog": {
      "command": "npx",
      "args": ["mcp-cli-catalog"]
    }
  }
}

Or with a a custom catalog path:

{
  "mcpServers": {
    "cli-catalog": {
      "command": "npx",
      "args": ["mcp-cli-catalog", "--config", "./tools.json"]
    }
  }
}

Configure Tools

Add a JSON catalog file (default: ~/.mcp-cli-catalog.json) with the CLI tools you want to make discoverable:

{
  // JSON Comments are allowed.
  "tools": [
    {
      "name": "knowledge-base-search",
      "description": "Search full text across the knowledge base",
      "usage": "knowledge-base-search 'pattern' | head"
    },
    {
      "name": "knowledge-base-get",
      "description": "Get a knowledge base file",
      "usage": "knowledge-base-get path/to/file.md | sed -n '100,200p'\nknowledge-base-get path/to/file.md | rg 'TODO'"
    }
  ]
}
  • name and description are required.
  • usage (optional) shows up as a hint in responses.
  • command (optional) is the exact string to run. If you skip it, the tool name is used.
  • Point to a different catalog with --config <path> or MCP_CLI_CATALOG_FILE=<path>.

Test

Test your server setup with the MCP Inspector:

npx @modelcontextprotocol/inspector npx mcp-cli-catalog

Or with a custom catalog:

npx @modelcontextprotocol/inspector npx mcp-cli-catalog --config ./tools.json

Development

  • npm run dev: run directly from src/index.js
  • npm run build: compile to dist/index.js and fix permissions
  • npm start: run the built server from dist/index.js

Alternative approaches

Cloudflare’s “Code Mode”1 and Anthropic’s code‑execution‑with‑MCP post2 explore a different way to solve MCP tooling challenges. Their approach provides MCP tools through an SDK to the LLM, which writes code to call and process those tools. This project takes a simpler path: build CLI tools and make them discoverable through the MCP tool catalog.


  1. Cloudflare, “Code Mode,” 2025.
  2. Anthropic, “Code execution with MCP,” 2025.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server that publishes local CLI tools as MCP tool definitions from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-cli-catalog)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools