Oclif Plugin MCP Server

A plugin for the oclif CLI framework that automatically discovers commands and serves them through the Model Context Protocol (MCP).

Local serverstdioTypeScript

What is the Oclif Plugin MCP server?

A plugin for the oclif CLI framework that automatically discovers commands and serves them through the Model Context Protocol (MCP). The oclif plugin mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

This plugin automatically converts your oclif CLI commands into a fully MCP 2025-06-18 protocol compliant server, implementing the latest Model Context Protocol specification. It allows AI assistants like Claude, ChatGPT, and Cursor to discover and execute your CLI tools naturally through conversation.

The Model Context Protocol (MCP) is an open standard that enables AI assistants to securely connect to external data sources and tools. With MCP, your CLI becomes a first-class citizen in AI workflows, allowing assistants to:

Adding it to your client

oclif on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by npjonath; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the oclif plugin mcp server does with a few real requests.

How to install the Oclif Plugin MCP server

#### Claude Desktop

```json
{
  "mcpServers": {
    "your-cli": {
      "command": "your-cli",
      "args": ["mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Frequently asked questions

It connects Oclif Plugin to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Oclif Plugin directly.