mcp.list-tools
List available MCP tools from the procedure registry
- Package
- @procedures/mcp-server · README
- Path
["mcp","list-tools"]- CLI
- Not a
markcommand: its package does not declare client.procedures. - As data
{"$proc":["mcp","list-tools"],"input":{}}- Tags
- mcp, introspection
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/mcp-server"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["mcp","list-tools"], {});
console.log(JSON.stringify(result));As data, in a program
{ "$proc": ["mcp", "list-tools"], "input": {} }Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
includeTags | string[] | no | Only include procedures with these tags | |
excludeTags | string[] | no | Exclude procedures with these tags | |
excludeInternal | boolean | no | true | Exclude internal procedures (default: true) |
pathPrefix | string[] | no | Only include procedures under this path prefix |
Output
The schema does not list fields (object).
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"includeTags": {
"description": "Only include procedures with these tags",
"type": "array",
"items": {
"type": "string"
}
},
"excludeTags": {
"description": "Exclude procedures with these tags",
"type": "array",
"items": {
"type": "string"
}
},
"excludeInternal": {
"default": true,
"description": "Exclude internal procedures (default: true)",
"type": "boolean"
},
"pathPrefix": {
"description": "Only include procedures under this path prefix",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"output": {
"type": "object"
}
}