commands
Pack: tldr-pages · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/commands for the schema, then POST the same URL with its arguments for the data.
List every command-line utility that has a tldr-pages cheatsheet, filtered to one platform (common, linux, osx, windows, android, sunos, freebsd) and one ISO 639-1 language, read from the tldr-pages index published on GitHub. Returns the command names plus a count. Answers which shell commands tldr documents for a given platform, before fetching a page.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
platform | string | no | |
language | string | no |
Example call
Arguments
{
"platform": "linux",
"language": "en"
}
curl
curl -X POST https://gateway.pipeworx.io/tldr-pages/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"commands","arguments":{"platform":"linux","language":"en"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('commands', {
"platform": "linux",
"language": "en"
});
Response shape
Always returns: platform, language, count, commands
| Field | Type | Description |
|---|---|---|
platform | string | Platform filter used |
language | string | Language code used |
count | number | Number of commands returned |
commands | array | List of command names |
Full JSON Schema
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"description": "Platform filter used"
},
"language": {
"type": "string",
"description": "Language code used"
},
"count": {
"type": "number",
"description": "Number of commands returned"
},
"commands": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of command names"
}
},
"required": [
"platform",
"language",
"count",
"commands"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the tldr-pages pack
{
"mcpServers": {
"tldr-pages": {
"url": "https://gateway.pipeworx.io/tldr-pages/mcp"
}
}
}
See Getting Started for client-specific install steps.