We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lostintangent/gistpad-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
refresh.ts•410 B
import type { ToolEntry } from "#types";
export default [
{
name: "refresh_gists",
description:
"Refresh the server's cache of gists, to ensure it picks up any changes made by external clients.",
handler: async (_args, context) => {
await Promise.all([context.gistStore.refresh(), context.starredGistStore.refresh()]);
return "Gists refreshed!";
},
},
] as ToolEntry[];