Skip to main content
Glama

oauth_register_client

Register a new OAuth 2.1 client in MCP Hub by specifying client name, redirect URIs, and optional grant types and scopes to obtain secure credentials for API access.

Instructions

Register a new OAuth 2.1 client.

Args: client_name: Human-readable client name (e.g., "My OpenAI GPT") redirect_uris: Comma-separated redirect URIs grant_types: Comma-separated grant types (default: "authorization_code,refresh_token") allowed_scopes: Comma-separated scopes (default: "read,write") metadata: Optional metadata dict

Returns: Dict with client_id and client_secret (SAVE THIS - shown only once!)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_nameYes
redirect_urisYes
grant_typesNoauthorization_code,refresh_token
allowed_scopesNoread,write
metadataNo
Install Server

Other 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/airano-ir/mcphub'

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