mcpli

CLI tool for interacting with MCP (Model Context Protocol) servers. Use when invoking MCP tools, managing MCP servers, or working with MCP-based APIs. Triggers on "MCP server", "mcpli", "invoke MCP tool", or any MCP server interaction.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "mcpli" with this command: npx skills add juanibiapina/mcpli/juanibiapina-mcpli-mcpli

mcpli

CLI that turns MCP servers into native commands with tab completion.

Core Commands

Add a server

mcpli add <name> <url> [--header "key: value"]...

Headers support environment variable expansion with ${VAR_NAME}:

mcpli add myserver https://example.com/mcp/ \
  --header 'Authorization: Bearer ${API_TOKEN}'

List servers and tools

mcpli list              # List all configured servers
mcpli list <server>     # List tools for a server

Discover tools

mcpli <server> --help           # See all tools on a server
mcpli <server> <tool> --help    # See tool description and usage

Invoke a tool

mcpli <server> <tool> [json-arguments]

Examples:

mcpli myserver get_status                           # No arguments
mcpli myserver search '{"query": "hello"}'          # With JSON arguments
mcpli myserver create_item '{"name": "test", "count": 5}'

Manage servers

mcpli update <server>   # Refresh cached tool definitions
mcpli remove <server>   # Remove a configured server

Workflow

  1. Add server with mcpli add (fetches and caches tools)
  2. Discover tools with mcpli <server> --help
  3. Check tool parameters with mcpli <server> <tool> --help
  4. Invoke tools with mcpli <server> <tool> '{...}'

Notes

  • Tool definitions are cached locally after add; use update to refresh
  • Config stored at ~/.config/mcpli/config.json
  • Arguments must be valid JSON (use single quotes around JSON to avoid shell escaping issues)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

browse

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

HTML to Markdown

Convert HTML↔Markdown for web clipping, clean notes, and batch content migration. Use when users ask 网页转Markdown/Markdown转HTML/批量转换. Supports local files, UR...

Registry SourceRecently Updated
Coding

Podfetcher Tools

Search podcasts, browse episodes, and fetch podcast transcripts from Podfetcher using the bundled Node.js CLI, SDK, or MCP server.

Registry SourceRecently Updated
Coding

test

Extract and categorize expenses from receipts or statements, map to GL codes, check compliance with policies, and flag anomalies for review.

Registry SourceRecently Updated