GitHub Models Helper
Integrates with GitHub Models to list available models and compare responses across models for the same prompt.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub Models HelperCompare gpt-4o and llama-3.2 on 'Explain quantum computing'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP TypeScript GitHub Models Helper
TypeScript MCP server that integrates with GitHub Models to list available models and compare responses across models for the same prompt. This README includes full requirements, project description, build steps, and testing flow.
Project requirements
Node.js 18+
GitHub account with access to GitHub Models
GitHub Personal Access Token (PAT) with GitHub Models access
MCP Inspector (runs via
npx)
Related MCP server: Model Hub MCP
Project description
This server exposes three MCP primitives:
Resource:
models://available(lists available models)Tool:
compare_models(compares model responses to the same prompt)Prompt:
compare_models_prompt(builds a reusable comparison prompt)
Project structure
mcp-typescript-github-models-helper/
src/
githubModels.ts
index.ts
.env.template
.gitignore
package.json
tsconfig.jsonStep-by-step setup
Install dependencies
npm installCreate
.envfrom the template
cp .env.template .envAdd your GitHub Models token
GITHUB_TOKEN=your_github_token_hereOptional: override the API base URL in .env:
GITHUB_MODELS_API_BASE=https://models.inference.ai.azure.comStep-by-step implementation (what the code does)
src/githubModels.tsFetches available models with
GET /modelsCompares models with
POST /chat/completionsUses
GITHUB_TOKENfrom.env
src/index.tsCreates the MCP server
Registers the
models://availableresourceRegisters the
compare_modelstoolRegisters the
compare_models_promptpromptConnects to STDIO transport
Run (development)
npm run devBuild and run (production-style)
npm run build
npm startStep-by-step testing with MCP Inspector
Build the server
npm run buildStart the Inspector
npx @modelcontextprotocol/inspector node dist/index.jsOpen the URL printed by the Inspector and click Connect
Test resources
Resources tab ->
models://available
Test tools
Tools tab ->
compare_models
Test prompts
Prompts tab ->
compare_models_prompt
Claude Desktop configuration
Add this to your claude_desktop_config.json and update the paths:
{
"mcpServers": {
"GitHub Models Comparison": {
"command": "node",
"args": [
"/absolute/path/to/mcp-typescript-github-models-helper/dist/index.js"
],
"env": {
"GITHUB_TOKEN": "your_github_personal_access_token"
}
}
}
}Note: This is not secure for production. Use proper secrets management and authentication when publishing MCP servers.
Troubleshooting
Cannot find name 'process': runnpm install --save-dev @types/node.401/403 from GitHub Models: verify the PAT has GitHub Models access.Inspector connection errors: rebuild and re-run
npx @modelcontextprotocol/inspector node dist/index.js.
Available Tools
1 toolcompare_modelsB
Compare responses from different models for the same prompt
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | List of model IDs to compare | |
| prompt | Yes | The prompt to send to all models |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the action without telling whether the call is synchronous, how results are presented, whether it has side effects (e.g., costs, rate limits), or what happens if a model fails. This is a significant gap for a tool that compares models.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, direct sentence that starts with the verb 'Compare'. It is concise, front-loaded, and contains no filler words. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has modest complexity (2 params, no output schema). The description states the core purpose, but without annotations or an output schema it lacks detail on return values and behavioral context. It is a bare minimum viable description, but not rich enough for an agent to fully anticipate the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents both 'prompt' and 'models'. The description adds a minimal semantic hint ('same prompt') but doesn't explain nuances like whether 'models' is an ordered list or how defaults behave. Baseline 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Compare') and the resource ('responses from different models') along with the context ('same prompt'). However, it doesn't specify what 'compare' means (e.g., side-by-side output, diff, metrics) and there are no sibling tools to differentiate from, so it falls short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool, preconditions, or alternatives. The description is purely functional and doesn't mention any exclusions or scenarios where another tool would be preferred. Since the schema shows it requires a prompt, but that's structural not usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v0.1.0- First observed
compare_models
TDQS
With only one tool, there is no ambiguity or overlap with other tools. The purpose of comparing models is clearly described.
The tool name follows a standard verb_noun pattern ('compare_models'). With a single tool, there is no inconsistency to evaluate.
A single tool feels too few for a server named 'GitHub Models Helper', which implies a broader set of utilities. The scope appears overly narrow.
The server only provides a model comparison tool, leaving obvious gaps such as listing available models or retrieving model details. This significantly limits helper functionality.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that allows agents to test and compare LLM prompts across OpenAI and Anthropic models, supporting single tests, side-by-side comparisons, and multi-turn conversations.MIT
- AlicenseBqualityDmaintenanceAn MCP server that retrieves and provides AI model information from OpenAI, Anthropic, and Google through a unified interface.322MIT
- AlicenseAqualityCmaintenanceAn MCP server that enables users to query, compare, and synthesize responses from multiple local and cloud LLMs simultaneously using existing subscriptions. It provides tools for parallel model evaluation, consensus polling with an LLM-as-judge, and response synthesis across different model providers.81515MIT
- FlicenseAqualityCmaintenanceAn MCP server for discovering and querying over 300 AI models available on OpenRouter. It enables users to list, search, filter, compare, and get detailed information about models with pricing, context limits, and capabilities.51-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/bvm-arjun108/mcp-typescript-github-models-helper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server