Skip to main content
Glama

privateGPT MCP Server

by Fujitsu-AI
export{ bitcoin, gold } process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; //The actual tool function async function bitcoin(args){ const apiUrl = 'https://mempool.space/api/v1/prices' const json = await fetch(apiUrl) .then(response => response.json()); //console.log(json); var result = JSON.stringify(json) return { content: [{ type: "text", text: `${result}` }], }; } async function gold(args){ const apiUrl = 'https://api.gold-api.com/price/XAU' const json = await fetch(apiUrl) .then(response => response.json()); //console.log(json); var result = json.price + " USD" return { content: [{ type: "text", text: `${result}` }], }; }

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/Fujitsu-AI/MCP-Server-for-MAS-Developments'

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