Skip to main content
Glama
metadataMethods.ts1 kB
import { Zodios } from '@zodios/core'; import { GraphQLResponse, metadataApis } from '../apis/metadataApi.js'; import { Credentials } from '../types/credentials.js'; import AuthenticatedMethods from './authenticatedMethods.js'; /** * Metadata methods of the Tableau Server REST API * * @export * @class MetadataMethods * @link https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_metadata.htm */ export default class MetadataMethods extends AuthenticatedMethods<typeof metadataApis> { constructor(baseUrl: string, creds: Credentials) { super(new Zodios(baseUrl, metadataApis), creds); } /** * Executes a GraphQL query against the Tableau Server. * * Required scopes: `tableau:content:read` * * @param {string} query * @link https://help.tableau.com/current/api/metadata_api/en-us/index.html */ graphql = async (query: string): Promise<GraphQLResponse> => { return await this._apiClient.graphql({ query }, { ...this.authHeader }); }; }

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