oclif MCP Server Plugin

oclif MCP Server Plugin is an MCP server plugin that converts any oclif-based command-line interface into a Model Context Protocol compliant server. It connects developer CLI commands directly to AI environments like Claude Desktop and Cursor. Developers building tools on the oclif framework use this plugin to allow AI assistants to discover commands, validate inputs via type-safe schemas, and execute terminal actions directly from conversation windows. The plugin automatically converts oclif flags and arguments into Zod schemas, exposes static and dynamic resources, and handles prompt templates. It supports both standard input/output (stdio) for local desktop workflows and streamable HTTP with Server-Sent Events for networked or containerized environments. By exposing CLI capabilities through standardized protocol methods, developers can integrate deployment scripts, data queries, and diagnostic tasks into LLM interactions without rewriting their existing CLI architecture.

Category: AI & LLM Tooling

Tags: automation, cli, oclif, plugin

Visit oclif MCP Server Plugin

How to install and configure oclif MCP Server Plugin

To install and configure the oclif MCP Server Plugin with an existing oclif CLI: 1. Add the plugin to your CLI's package.json under dependencies and oclif.plugins: json { "dependencies": { "oclif-plugin-mcp-server": "latest" }, "oclif": { "plugins": ["oclif-plugin-mcp-server"] } } Alternatively, install it directly using your CLI's plugin manager: your-cli plugins install npjonath/oclif-plugin-mcp-server. 2. Add the server entry to your MCP client configuration (such as Claude Desktop or Cursor's mcp.json): json { "mcpServers": { "your-cli": { "command": "your-cli", "args": ["mcp"] } } } 3. Restart your MCP client to allow the assistant to discover and invoke the CLI commands.

What you can do with oclif MCP Server Plugin

  • Exposing custom enterprise CLI commands to Claude Desktop to run deployments and infrastructure scripts via conversational instructions. * Validating CLI parameters automatically using generated Zod schemas before running local commands through Cursor or another IDE assistant. * Serving CLI diagnostic logs and application state on demand to language models using dynamic MCP resource endpoints. * Running streamable HTTP MCP servers in Docker containers to manage multi-client automation pipelines over HTTP and Server-Sent Events. * Generating reusable prompt templates with argument validation to guide language model workflows across complex development tasks.

Key facts

  • https://github.com/npjonath/oclif-plugin-mcp-server
  • AI & LLM Tooling, Developer Tools & Code Intelligence
  • automation, cli, oclif, plugin

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server β€” MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON β€” MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP Jupyter Complete β€” MCP Jupyter Complete is an MCP server that provides tools for manipulating Jupyter notebook files through position-based cell operations and…
  • MCP LSP Go β€” MCP LSP Go is an MCP server that connects AI assistants to the official Go Language Server Protocol implementation, gopls,…
  • MCP Memory Dashboard β€” MCP Memory Dashboard is an MCP server desktop interface that connects to the MCP Memory Service to provide visual semantic…
  • MCP Manager β€” MCP Manager is an MCP server management tool that connects directly to your Claude Desktop environment, enabling users to discover,…

How do I install oclif MCP Server Plugin?

You can embed the plugin directly into your oclif CLI by adding oclif-plugin-mcp-server to dependencies and the oclif plugins array in package.json. Alternatively, install it directly from GitHub using your CLI plugins install npjonath/oclif-plugin-mcp-server command, then verify it by running your-cli mcp --help.

What can oclif MCP Server Plugin do?

It automatically discovers your oclif CLI commands and flags, generates Zod schemas for input validation, and exposes them as MCP tools. It also provides MCP resources, prompt templates, workspace root registration, and supports both standard input/output and HTTP streamable transport modes.

Which MCP clients work with oclif MCP Server Plugin?

The plugin works with any MCP-compliant client. Supported clients include Claude Desktop and Cursor using standard input/output transport, as well as web applications, Docker environments, or HTTP clients connecting via Server-Sent Events and HTTP endpoints.

Which transports are supported by oclif MCP Server Plugin?

It supports two main transports: standard input/output (stdio) for local clients like Claude Desktop and Cursor, and streamable HTTP with Server-Sent Events for networked integrations, multi-client sessions, and container deployments.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories