Supercli MCP Dev

Use this skill when working on MCP (Model Context Protocol) features in supercli — implementing adapters, adding SSE support, working with mcp-proxy, or managing MCP server connections. Covers MCP adapter architecture, transport modes, JSON-RPC format, and server/client integration.

57 stars 5 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add javimosch/supercli --skill supercli-mcp-dev
Manual install
git clone --depth 1 https://github.com/javimosch/supercli.git /tmp/supercli
mkdir -p ~/.claude/skills
cp -r /tmp/supercli/.agents/skills/supercli_mcp_dev ~/.claude/skills/supercli-mcp-dev

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Supercli MCP Development

Work on MCP (Model Context Protocol) features in supercli including adapter implementation, SSE streaming support, and server integration.

## MCP Adapter Architecture

The MCP adapter (`cli/adapters/mcp.js`) supports multiple transport modes:

### Transport Modes

1. **HTTP/SSE MCP**: HTTP-based MCP servers with SSE streaming
2. **Stdio MCP with Daemon**: Local stdio MCP servers routed through daemon
3. **Stdio MCP Direct**: Direct stdio calls (may have compatibility issues)

### Key Components

- **`execute()`**: Main entry point, routes to appropriate transport
- **`callHttpMcpTool()`**: HTTP/SSE MCP handler with JSON-RPC support
- **`parseSseResponse()`**: SSE event parser
- **`callStdioTool()`**: Direct stdio execution
- **`stdioCallToolJsonRpc()`**: Stdio JSON-RPC protocol handler
- **`callDaemonTool()`**: Daemon-routed stdio calls

## HTTP/SSE Implementation

### Request Format

Uses JSON-RPC 2.0 format for HTTP MCP calls:

```javascript
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": toolName,
    "arguments": input
  },
  "id": 1
}
```

### Headers

Must include both content types for SSE negotiation:

```javascript
{
  "Content-Type": "application/json",
  "Accept": "text/event-stream, application/json"
}
```

### SSE Response Parsing

Parses Server-Sent Events format:
- Lines starting with `event:` define event type
- Lines starting with `data:` contain event data
- Empty lines terminate events
Read the full skill on GitHub

Details

Skill name
supercli-mcp-dev
Path
.agents/skills/supercli_mcp_dev/SKILL.md
License
MIT
Repo updated
2 November 2026

FAQ

What does the Supercli MCP Dev skill do?

Use this skill when working on MCP (Model Context Protocol) features in supercli — implementing adapters, adding SSE support, working with mcp-proxy, or managing MCP server connections. Covers MCP adapter architecture, transport modes, JSON-RPC format, and server/client integration.

How do I install the Supercli MCP Dev skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add javimosch/supercli --skill supercli-mcp-dev. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Supercli MCP Dev popular?

It lives in javimosch/supercli, which has 57 GitHub stars and 5 forks, and is included in 1 curated skill list.

Related skills

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.