Skip to main content
Glama
usegranthq

UseGrant MCP Server

Official
by usegranthq

list_tenants

Retrieve a complete list of tenants managed on the UseGrant MCP Server to streamline provider, client, and access token administration.

Instructions

List all tenants

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The inline handler function for the 'list_tenants' MCP tool. It calls usegrant.listTenants() from the UseGrant SDK to fetch all tenants and returns the result as a JSON-formatted text content block. This is also the registration site since the handler is inline.
    server.tool('list_tenants', 'List all tenants', async () => { const tenants = await usegrant.listTenants(); return { content: [{ type: 'text', text: JSON.stringify(tenants, null, 2) }], }; });

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/usegranthq/mcp-server'

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