Skip to main content
Glama
getTableauAuthInfo.ts445 B
import { AuthInfo } from '@modelcontextprotocol/sdk/server/auth/types.js'; import { TableauAuthInfo, tableauAuthInfoSchema } from './schemas.js'; export const getTableauAuthInfo = (authInfo: AuthInfo | undefined): TableauAuthInfo | undefined => { if (!authInfo) { return; } const tableauAuthInfo = tableauAuthInfoSchema.safeParse(authInfo.extra); if (!tableauAuthInfo.success) { return; } return tableauAuthInfo.data; };

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/datalabs89/tableau-mcp'

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