/open-horizons-platform:mcp-clifrom open-horizons-platform
Discovers MCP servers, inspects tool schemas, searches tools by name, and calls MCP tools with JSON, raw text, or stdin arguments from the command line.
Ships in open-horizons-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Discover available MCP servers, inspect each tool's JSON input schema, then execute external tools, APIs, data sources, filesystems, databases, or GitHub integrations from the command line with explicit arguments and parseable output.
mcp-cli executable must be installed and configured for the current environment.| Command | Purpose | Notes |
|---|---|---|
mcp-cli | List all configured servers and tool names. | Add -d to include descriptions. |
mcp-cli <server> | Show the tools exposed by one server with parameters. | Use before calling an unfamiliar tool. |
mcp-cli <server> -d | Show the server tools with descriptions. | More verbose; useful for discovery. |
mcp-cli <server>/<tool> | Print the full JSON schema for one tool. | Inspect required fields, types, enums, and defaults. |
mcp-cli <server>/<tool> '<json>' | Call a tool with inline JSON arguments. | Quote JSON safely; prefer stdin for complex text. |
mcp-cli grep "<glob>" | Search tools by name. | Use shell-style patterns such as *file*. |
mcp-cli <server>/<tool> --json | Emit JSON output for scripting. | Pipe to jq, Python, or other parsers. |
mcp-cli <server>/<tool> --raw | Emit raw text content. | Use only when the downstream command expects plain text. |
mcp-cli unless the server/tool is already known.mcp-cli <server>; add -d when names alone are ambiguous.mcp-cli <server>/<tool> before constructing arguments.mcp-cli <server>/<tool> '<json>', stdin, or piped JSON; use --json when automation needs structured output.| Pattern | Use | Example |
|---|---|---|
| Inline JSON | Short, simple argument objects | mcp-cli filesystem/read_file '{"path": "./README.md"}' |
| Heredoc stdin | JSON containing quotes, newlines, or generated content | mcp-cli server/tool <<EOF followed by {"content": "Text with 'quotes' inside"} and EOF |
| Pipe from file | Reusable argument payloads | `cat args.json |
| Parseable output | Machine processing | mcp-cli filesystem/read_file '{"path": "./README.md"}' --json |
| Tool search | Unknown capability name | mcp-cli grep "*file*" |
# List all servers and tool names
mcp-cli
# See all tools with parameters
mcp-cli filesystem
# Include descriptions
mcp-cli filesystem -d
# Get JSON schema for a specific tool
mcp-cli filesystem/read_file
# Call the tool
mcp-cli filesystem/read_file '{"path": "./README.md"}'
# Search for tools
mcp-cli grep "*file*"
# JSON output for parsing
mcp-cli filesystem/read_file '{"path": "./README.md"}' --json
# Complex JSON with quotes through stdin
mcp-cli server/tool <<EOF
{"content": "Text with 'quotes' inside"}
EOF
# Pipe from a file or command
cat args.json | mcp-cli server/tool
# Find TypeScript files, extract the first path, then read it
mcp-cli filesystem/search_files '{"path": "src/", "pattern": "*.ts"}' --json | jq -r '.content[0].text' | head -1 | xargs -I {} sh -c 'mcp-cli filesystem/read_file "{"path": "{}"}"'
| Flag | Purpose |
|---|---|
-j, --json | JSON output for scripting; equivalent in intent to long-form JSON output. |
-r, --raw | Raw text content for consumers that do not want structured envelopes. |
-d | Include descriptions, for example mcp-cli filesystem -d. |
Use discovery to move from servers/tools lists to specific schemas, and pipe from a file/command when arguments are generated outside the shell.
| Code | Meaning | Response |
|---|---|---|
0 | Success | Read the returned content and continue. |
1 | Client error: bad arguments or missing config | Re-inspect the schema and server configuration. |
2 | Server error: the MCP tool failed | Report the tool error and retry only after changing inputs or context. |
3 | Network error | Check connectivity, server process state, credentials, or proxy settings. |
1 client errors and can hide required nested objects.--json for scripts: parsing human text output is brittle when descriptions or formatting change.open-horizons-orchestration (skill).## MCP CLI result — <server/tool or discovery target>
**Status:** success | client error | server error | network error | blocked
**Command:** `<mcp-cli command>`
**Exit code:** 0 | 1 | 2 | 3 | not run
### Result
<server list, schema summary, or tool output>
### Follow-up
- <next command, schema fix, credential check, or none>
mcp-cli <server>/<tool> schema was inspected before constructing non-trivial JSON.--json or --raw was used only when the downstream consumer required that format.0, 1, 2, or 3 was interpreted and reported with the command that produced it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mcp, model-context-protocol, cli-tool, tool-discovery, schema-inspection
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin open-horizons-platform117 skills in this plugin
/agent-framework-pythonApplies Microsoft Agent Framework Python monorepo conventions to the imported example tree. Use when changing its public API exports, package metadata, tests, or Python implementation./agentsApplies current repository conventions for custom-agent metadata, tool scope, body structure, runtime boundaries, and validation. Use when creating or updating an agent./agent-safetyUse when editing Open Horizons agent runtimes, tools, orchestration, or policy code that requires safety and governance controls./agent-skillsApplies current portable Agent Skill conventions for discovery metadata, progressive disclosure, bundled resources, safety, and validation. Use when creating or updating SKILL.md./azure-agentic-architecture-patternsProvides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls./azure-api-centerDesign Azure API Center as the enterprise inventory and governance plane for APIs, agent tools, OpenAPI definitions, environments, deployments, metadata, linting, and MCP server discovery. Use when building an API or tool catalog, enforcing API standards, registering MCP servers, or making approved tools discoverable to agent builders.Other plugins' skills for the same job