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

Seerr server manager

CLI for the Seerr media request management API. Search movies and TV shows, create and manage media requests, manage users, track issues, and administer a se...

Registry SourceRecently Updated
Coding

Skills

Autonomous novel writing CLI agent - use for creative fiction writing, novel generation, style imitation, chapter continuation/import, EPUB export, and AIGC...

Registry SourceRecently Updated
Coding

Cli Tool Generator

Generate production-ready CLI tool skeletons in Bash or Python with argument parsing, help docs, error handling, and shell completions in seconds.

Registry SourceRecently Updated