Skip to main content
Glama
update_repository.ts736 B
import { z } from "zod"; import { forceUpdateRepo } from "../repo.js"; import type { ToolDefinition } from "./base.js"; const schema = z.object({}); export const updateRepositoryTool: ToolDefinition< typeof schema, ReturnType<typeof forceUpdateRepo> > = { name: "update_repository", description: "Force update the cached FedRAMP docs repository to get the latest data. This fetches and resets to the latest version from GitHub. The server automatically checks for updates every 24 hours by default, but you can use this tool to update immediately. After updating, you may need to restart the MCP server or rebuild the index to see changes.", schema, execute: async () => { return await forceUpdateRepo(); }, };

Latest Blog Posts

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/ethanolivertroy/fedramp-docs-mcp'

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