Skip to main content
Glama

GitHub Mapper MCP Server

//evals.ts import { EvalConfig } from 'mcp-evals'; import { openai } from "@ai-sdk/openai"; import { grade, EvalFunction } from "mcp-evals"; const setGithubTokenEval: EvalFunction = { name: 'set-github-token Tool Evaluation', description: 'Evaluates if the tool can successfully set the GitHub Personal Access Token', run: async () => { const result = await grade(openai("gpt-4"), "Please set my GitHub personal access token to ghp_abc123"); return JSON.parse(result); } }; const mapGithubRepoEval: EvalFunction = { name: "map-github-repo Evaluation", description: "Evaluates the correctness of mapping a GitHub repository structure and providing summary information", run: async () => { const result = await grade(openai("gpt-4"), "Map the structure of the GitHub repository at https://github.com/microsoft/vscode and provide summary information."); return JSON.parse(result); } }; const config: EvalConfig = { model: openai("gpt-4"), evals: [setGithubTokenEval, mapGithubRepoEval] }; export default config; export const evals = [setGithubTokenEval, mapGithubRepoEval];

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/dazeb/MCP-Github-Mapper'

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