list_providers
Retrieve a comprehensive list of all providers managed through the UseGrant MCP Server, enabling efficient provider management and access control.
Instructions
List all providers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:26-31 (handler)The handler for the 'list_providers' MCP tool. It calls usegrant.listProviders() to fetch providers and returns them formatted as JSON in the MCP response format. This also serves as the registration since the handler is defined inline.server.tool('list_providers', 'List all providers', async () => { const providers = await usegrant.listProviders(); return { content: [{ type: 'text', text: JSON.stringify(providers, null, 2) }], }; });