mcpsh
/mcpsh
Używa serwera MCP przez powłokę, wypisując narzędzia jednym wierszem, czytając schemat tylko w razie potrzeby i mierząc koszt kontekstu.
- Autor
- Dodai0419 ↗
- Repozytorium
- mcpsh ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 28.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Używa serwera MCP przez powłokę, wypisując narzędzia jednym wierszem, czytając schemat tylko w razie potrzeby i mierząc koszt kontekstu.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use an MCP server through the shell instead of loading it as tools. List its tools in one short line each, read one schema only when needed, call a tool with key=value arguments, and measure how much context the server would cost. Use for "use the X MCP server", "call this MCP tool", "how big is this MCP server", or when an MCP server is not connected.
Jak działa
- Commands (run from the repo root)
- Rules
Podgląd SKILL.md
---
name: mcpsh
description: Use an MCP server through the shell instead of loading it as tools. List its tools in one short line each, read one schema only when needed, call a tool with key=value arguments, and measure how much context the server would cost. Use for "use the X MCP server", "call this MCP tool", "how big is this MCP server", or when an MCP server is not connected.
---
# mcpsh
An MCP server added to the agent puts every tool definition into context on every turn. mcpsh reaches the same server from Bash, only when you need it. Python 3.9+, standard library only.
## Commands (run from the repo root)
Pick the server once: a stdio command after `--`, or `--url` for Streamable HTTP (token from `--token` or env `MCP_TOKEN`).
```bash
python mcpsh.py tools -- npx -y @modelcontextprotocol/server-filesystem . # name(args) - first sentence, one per line; ? = optional
python mcpsh.py schema read_text_file -- npx -y @modelcontextprotocol/server-filesystem .
python mcpsh.py call read_text_file path=README.md head=20 -- npx -y @modelcontextprotocol/server-filesystem .
python mcpsh.py --url https://example.com/mcp call search query="rate limits" limit=5
python mcpsh.py --url https://example.com/mcp --json '{"items": [{"code": "A1", "qty": 2}]}' call price
python mcpsh.py size -- python examples/demo_server.py # bytes the server would add to context
```
## Rules
- Run `tools` first, `schema TOOL` only for a tool whose arguments are unclear, then `call`.
- `key=value` values are parsed as JSON when they parse (`n=3`, `ok=true`, `ids=[1,2]`), else kept as strings. Use `--json` for nested objects.
- Output is the tool's `structuredContent`, else its text parsed as JSON, else the text. Exit code 1 means the tool or server failed; the reason is on stderr.
- HTTP calls are rate limited to 300 per minute by default (`--rate`) and retry 429 and 5xx with backoff. Never loop calls in the shell faster than that.
- Do not print or echo the token.
Wersje
W bazie nie ma innych skilli o nazwie mcpsh.
Migawka bazy z 13.11.2026 · wersja paczki bd64b99d942f (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100eval-mcp
Mierzy, czy Claude poprawnie używa narzędzi serwera MCP: dokładność wyboru narzędzia, jakość schematów i iteracyjna optymalizacja opisów. - 100add-app-to-server
Pomaga dodać interaktywne UI (MCP Apps) do istniejącego serwera MCP z narzędziami, analizując narzędzia i dodając zasoby widoków. - 100add-app-to-server
Pomaga dodać interaktywne UI (MCP Apps) do istniejącego serwera MCP z narzędziami, analizując narzędzia i dodając zasoby widoków. - 100mcp-server-development
Projektuje i wdraża serwery MCP oraz narzędzia dla agentów: projekt narzędzi, zmiany specyfikacji, OAuth, bezpieczeństwo i wybór SDK, także przy migracji serwera. - 100mcp-server-builder
Buduje, podłącza i debuguje serwer MCP dający Claude dostęp do wewnętrznego API, bazy danych lub narzędzia SaaS, także gdy narzędzia serwera się nie pojawiają. - 100mcp-server-scaffold
Tworzy szkielet serwera MCP jako ograniczonego styku narzędzi i nadzoruje go: określa, które narzędzia agent może wołać, zgodnie z zasadą, że agenci wołają narzędzia, a narzędzia infrastrukturę.