Skip to main content
Glama
commits.js536 B
import { z } from "zod"; import { githubRequest, buildUrl } from "../common/utils.js"; export const ListCommitsSchema = z.object({ owner: z.string(), repo: z.string(), sha: z.string().optional(), page: z.number().optional(), perPage: z.number().optional() }); export async function listCommits(owner, repo, page, perPage, sha) { return githubRequest(buildUrl(`https://api.github.com/repos/${owner}/${repo}/commits`, { page: page?.toString(), per_page: perPage?.toString(), sha })); }

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/AlexKissiJr/unreal-mcp-server'

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