Skip to main content
Glama

list_instances

Retrieve a list of all active Claude instances connected to the Claude IPC MCP server to monitor or manage AI assistant interactions.

Instructions

List all active Claude instances

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'list_instances' MCP tool including its schema (empty input)
    Tool( name="list_instances", description="List all active Claude instances", inputSchema={ "type": "object", "properties": {} } ),
  • MCP tool handler for 'list_instances' which delegates to the internal message broker's 'list' action
    elif name == "list_instances": response = BrokerClient.send_request({"action": "list"}) return [TextContent(type="text", text=json.dumps(response, indent=2))]
  • Core implementation of listing active instances from the MessageBroker's self.instances dictionary
    elif action == "list": instances = [ {"id": id, "last_seen": ts.isoformat()} for id, ts in self.instances.items() ] return {"status": "ok", "instances": instances}

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdez427/claude-ipc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server