Skip to main content
Glama

NWC MCP Server

by getAlby
auth.ts333 B
export function getConnectionSecretFromBearerAuth( authorizationHeader: string | undefined ) { const authParts = authorizationHeader?.split(" "); if ( authParts?.length !== 2 || authParts[0] !== "Bearer" || !authParts[1].startsWith("nostr+walletconnect://") ) { return undefined; } return authParts[1]; }

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

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