# list_resources

> MCP tool listing resources under a StackQL provider.service

Source: https://stackql.io/mcp/list_resources

Returns the resources under a `provider.service` -- the third level of the StackQL [resource hierarchy](/getting-started/resource-hierarchy).  Resources are the targets that appear in the `FROM` clause of a StackQL query.

See also:
[[ MCP overview ]](/command-line-usage/mcp) [[ `list_services` ]](/mcp/list_services) [[ `list_methods` ]](/mcp/list_methods) [[ `describe_method` ]](/mcp/describe_method)

* * *

## Inputs

| Argument | Required | Description |
|--|--|--|
|`provider`|Yes|Provider name.|
|`service`|Yes|Service under that provider.|

:::info

Identifiers may not contain whitespace, semicolons or backslashes; such input is refused before any statement is built.

:::

* * *

## Output

| Renderer | Shape |
|--|--|
| Table | One row per resource under `provider.service` |

* * *

## Gating

Allowed in every server mode.  Read only.

* * *

## Example

Try this prompt with any elicitation-capable MCP client with the StackQL MCP server registered:

```
List the resources in the google.storage service
```

Here's an example in Claude Desktop:
