Skip to main content
Glama

fetchGithubReleases

Retrieve GitHub releases from the Goose repository to track and monitor new software versions and updates for development projects.

Instructions

Fetch ALL GitHub releases from the Goose repo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that fetches GitHub releases from the block/goose repository via the GitHub API and transforms the response into an array of ContentItem objects.
    async function fetchGithubReleases(): Promise<ContentItem[]> { const response = await axios.get( "https://api.github.com/repos/block/goose/releases", { headers: { Accept: "application/vnd.github+json" } } ); return response.data.map((rel: any) => ({ id: rel.tag_name, title: rel.name || rel.tag_name, url: rel.html_url, published_at: rel.published_at || rel.created_at, type: "release" as const, })); }
  • src/server.ts:159-164 (registration)
    Registers the fetchGithubReleases tool with the FastMCP server, specifying name, description, empty input schema, and execute function that calls the handler and stringifies the result.
    server.addTool({ name: "fetchGithubReleases", description: "Fetch ALL GitHub releases from the Goose repo.", parameters: z.object({}), execute: async () => JSON.stringify(await fetchGithubReleases()), });
  • TypeScript interface defining the structure of ContentItem objects returned by the tool (shared across multiple tools).
    interface ContentItem { id: string; title: string; url: string; published_at: string; type: "video" | "blog" | "release"; }
  • Zod schema for tool input parameters (empty object, no inputs required).
    parameters: z.object({}),

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/EbonyLouis/content-fetcher-mcp2'

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