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 { PlayFabHandler } from "../../types/index.js";
import { GetItemParams, GetItemResult } from "../../types/handler-types.js";
import { PlayFabEconomyAPI } from "../../config/playfab.js";
import { callAdminAPI, addCustomTags } from "../../utils/playfab-wrapper.js";
export const GetItem: PlayFabHandler<GetItemParams, GetItemResult> = async (params) => {
const request = addCustomTags({
Id: params.ItemId
});
const result = await callAdminAPI(
PlayFabEconomyAPI.GetItem,
request,
'GetItem'
);
return {
success: true,
item: result.Item || {},
};
};