MCP Tools
MCP Tools
- get_resource_topology: Get a map of resource types and connections
- search_resources: Find resources by identifier or regex
- get_resource_details: Get full details of a specific resource
- get_resource_map: Get a detailed map of a resource and its dependencies
- get_neighboring_resources: Get resources directly connected to the specified resource
Configuration
Configure the Graph plugin by editing the~/.unpage/profiles/<profile_name>/config.yaml file:
Tools
The Graph plugin provides the following tools to Agents and MCP Clients:get_resource_topology
Get a map of the types of resources and how they’re connected.Arguments
NoneReturns
string: A DOT graph representation showing resource types and their relationship patterns.search_resources
Find resources with an identifier matching the given identifier or regular expression.ArgumentsReturns
The identifier to search for, or a regular expression surrounded by slashes (e.g.,
/^my-resource-\d+$/).
If no exact match is found, the tool will perform fuzzy matching on partial identifiers.list[string] or string: List of node IDs that match the search criteria, or a message if no resources are found.Note: Results are limited to 500 items. Use get_resource_details with the returned node IDs to get full resource information.get_resource_details
get_resource_map
Get a detailed map of a resource and its dependencies.ArgumentsReturns
Maximum depth to traverse from the root node (default: 2). Higher values include more distant relationships but may return very large maps.
string: A DOT graph representation showing the resource and all its connected resources up to the specified depth.Note: This is an excellent first tool for understanding a specific part of your system architecture.get_neighboring_resources
Get the IDs of resources directly connected to the specified resource.ArgumentsReturns
list[string]: List of node IDs for neighboring resources.
