mcp-cli
Use MCP servers on-demand via the mcp CLI tool - discover tools, resources, and prompts without polluting context with pre-loaded MCP integrations
Skill by obra
Chalk Labs
Need help deploying mcp-cli?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/obra-mcp-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mcp-cli
What's inside
- Skill name
mcp-cli- Description
- Use MCP servers on-demand via the mcp CLI tool - discover tools, resources, and prompts without polluting context with pre-loaded MCP integrations
- License
- MIT
- Instructions
- 372 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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:
```bash
# 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:
```bash
export PATH="$HOME/.local/bin:$PATH"
```
## Discovery Workflow
### Step 1: Discover Available Tools
```bash
mcp tools <server-command>
```
**Examples:**
```bash
# Filesystem server
mcp tools npx -y @modelcontextprotocol/server-filesystem /path/to/allow
# Memory/knowledge graph server
mcp tools npx -y @modelcontextprotocol/server-memory
# GitHub server (requires token)
mcp tools docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
# HTTP-based server
mcp tools https://example.com/mcp
```
### Step 2: Discover Resources (if supported)
```bash
mcp resources <server-command>
```
Resources are data sources the server exposes (files, database entries, etc.).
### Step 3: Discover Prompts (if supported)
```bash
mcp prompts <server-command>
```
Prompts are pre-defined prompt templates the server provides.
### Step 4: Get Detailed Info (JSON format)
```bash
# For full schema details including parameter types
mcp tools --format json <server-command>
mcp tools --format pretty <server-command>
```
## Making Tool Calls
### Basic Syntax
```bash
mcp call <tool_name> --params '<json>' <server-command>
```
### Examples
**Read a file:**
```bash
mcp call read_file --params '{"path": "/tmp/example.txt"}' \
npx -y @modelcontextprotocol/server-filesystem /tmp
```
**Write a file:**
```bash
mcp call write_file --params '{"path": "/tmp/test.txt", "content": "Hello world"}' \
npx -y @modelcontextprotocol/server-filesystem /tmp
```
**List directory:**
```bash
mcp call list_directory --params '{"path": "/tmp"}' \
npx -y @modelcontextprotocol/server-filesystem /tmp
```
**Create entities (memory server):**
```bash
mcp call create_entities --params '{"entities": [{"name": "Project", "entityType": "Software", "observations": ["Uses TypeScript"]}]}' \
npx -y @modelcontextprotocol/server-memory
```
**Search (memory server):**
```bash
mcp call search_nodes --params '{"query": "TypeScript"}' \
npx -y @modelcontextprotocol/server-memory
```
### Complex Parameters
For nested objects and arrays, ensure valid JSON:From obra/superpowers-lab, MIT.
More from obra/superpowers-lab
- 0.632score
finding-duplicate-functions
obra
Use when auditing a codebase for semantic duplication - functions that do the same thing but have different names or implementations.
SkillDFreshness: D★ 433Claude Code +9 - 0.540score
windows-vm
obra
Create, manage, or connect to a headless Windows 11 VM running in Docker with SSH access.
SkillDFreshness: D★ 433Claude Code +9 - 0.500score
using-tmux-for-interactive-commands
obra
Use when you need to run interactive CLI tools (vim, git rebase -i, Python REPL, etc.) that require real-time input/output - provides tmux-based approach for…
SkillFFreshness: F★ 433Claude Code +9
Signals
- Stars
- 433
- Forks
- 37
- Open issues
- 1
- Last commit (this folder)
- Dec 24, 2025 (10 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/obra/superpowers-lab
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from obra
- 0.891score
executing-plans
obra
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.891score
diagnosing-superpowers
obra
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.750score
using-superpowers
obra
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.750score
AGENTS.md · obra/superpowers
obra
AGENTS.md from obra/superpowers: 122 lines covering If You Are an AI Agent, Pull Request Requirements, What We Will Not Accept, New Harness Support and more.
TemplateAFreshness: A★ 304.6KCodex +5 - 0.749score
subagent-driven-development
obra
Use when executing implementation plans with independent tasks in the current session
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.747score
brainstorming
obra
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in…
SkillAFreshness: A★ 304.6KClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get mcp-cli running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
mcp-cli skill. Agent Mart. https://agentmart.dev/skills/obra-mcp-cli (last updated 2026-10-24)