Skip to main content
Glama

fetchGithubReleases

Retrieve GitHub releases from the Goose repository to track version updates and changelog information for development monitoring.

Instructions

Fetch ALL GitHub releases from the Goose repo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that fetches GitHub releases from the block/goose repository using axios and maps the response data to 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)
    Registration of the 'fetchGithubReleases' tool in the FastMCP server, specifying the name, description, input schema (empty object), and execution function that calls the handler and returns JSON string.
    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, serving as the output schema.
    interface ContentItem { id: string; title: string; url: string; published_at: string; type: "video" | "blog" | "release"; }

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