← All procedures

mcp.list-tools

List available MCP tools from the procedure registry

Package
@procedures/mcp-server · README
Path
["mcp","list-tools"]
CLI
Not a mark command: 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

FieldTypeRequiredDefaultDescription
includeTagsstring[]noOnly include procedures with these tags
excludeTagsstring[]noExclude procedures with these tags
excludeInternalbooleannotrueExclude internal procedures (default: true)
pathPrefixstring[]noOnly 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"
  }
}