Skip to content

Command-line access to MCP servers for discovering and calling tools, resources, and prompts on demand.

CCM score
68 of 100
skills.sh installs
493
GitHub stars
441
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers discovery and invocation: mcp tools, mcp resources, mcp prompts, mcp call, mcp read-resource, and mcp get-prompt
  • Includes server aliases stored in ~/.mcpt/aliases.json, guard rules to allow or deny tool name patterns, and output in table, JSON, or pretty formats
  • Supports stdio, HTTP, and SSE transports, with HTTP basic auth and bearer token options
  • Designed for one-off or exploratory MCP calls that avoid pre-loading servers into the agent's permanent configuration

Install

$ npx -y skills add obra/superpowers-lab --skill mcp-cli -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

MCP CLI: On-Demand MCP Server Usage

Use the mcp CLI tool to dynamically discover and invoke MCP server capabilities without pre-configuring them as permanent integrations.

When to Use This Skill

Use this skill when you need to:

  • Explore an MCP server's capabilities before deciding to use it
  • Make one-off calls to an MCP server without permanent integration
  • Access MCP functionality without polluting the context window
  • Test or debug MCP servers
  • Use MCP servers that aren't pre-configured

Prerequisites

The mcp CLI must be installed at ~/.local/bin/mcp. If not present:

# Clone and build
cd /tmp && git clone --depth 1 https://github.com/f/mcptools.git
cd mcptools && CGO_ENABLED=0 go build -o ~/.local/bin/mcp ./cmd/mcptools

Always ensure PATH includes the binary:

export PATH="$HOME/.local/bin:$PATH"

Discovery Workflow

Step 1: Discover Available Tools

mcp tools <server-command>

Examples:

# Filesystem server
mcp tools npx -y @modelcontextprotocol/server-filesystem /path/to/allow

# Memory/knowledge graph server
mcp tools npx -y @modelcontextprotocol/server-memory

Details

Repository
github.com/obra/superpowers-lab
Categories
Skill & Plugin Building, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the mcp-cli skill do?

The mcp-cli skill lets an agent use MCP servers on demand through the mcp CLI tool. It discovers tools, resources, and prompts and invokes them without pre-loading MCP integrations into context.

How do I install the mcp-cli skill?

Run npx -y skills add obra/superpowers-lab --skill mcp-cli -y in a project to install the mcp-cli skill. Once installed, the agent can discover and call MCP server capabilities one-off.

Who is the mcp-cli skill for?

The mcp-cli skill suits developers who want to explore or test an MCP server before committing to it, or make one-off calls without a permanent integration. It also helps keep the context window free of unused MCP tools.

What does the mcp-cli skill need to run?

The mcp-cli skill needs the mcp CLI installed at ~/.local/bin/mcp, which the skill builds from the mcptools repository if absent. Some MCP servers, such as GitHub, also need their own tokens or API keys.

Where does mcp-cli stand in the Skill and Plugin Building category?

The mcp-cli skill sits in the Skill and Plugin Building category next to find-skills and skill-creator. It differs from them by focusing on invoking MCP servers on demand rather than building skills themselves.

More from obra/superpowers-lab

All 3