We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akiojin/playfab-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { PlayFabAdminAPI } from "../../config/playfab.js";
import { callAdminAPI, addCustomTags } from "../../utils/playfab-wrapper.js";
import { PlayFabHandler } from "../../types/index.js";
import { GetTitleInternalDataParams, GetTitleInternalDataResult } from "../../types/handler-types.js";
export const GetTitleInternalData: PlayFabHandler<GetTitleInternalDataParams, GetTitleInternalDataResult> = async (params) => {
const request = addCustomTags({
Keys: params.Keys
});
const result = await callAdminAPI(
PlayFabAdminAPI.GetTitleInternalData,
request,
'GetTitleInternalData'
);
// Convert null values to empty strings to match the type definition
const data: Record<string, string> = {};
if (result.Data) {
Object.entries(result.Data).forEach(([key, value]) => {
data[key] = value || '';
});
}
return {
success: true,
data
};
};