1. Conduid
  2. Developer Tools
  3. Github To MCP
MCP server · Developer Tools

Github To MCP

Convert GitHub repositories into MCP servers by extracting tools from OpenAPI specs, READMEs, code and GraphQL.

57Fair

Scored 1 hours ago · breakdown

About Github To MCP

Github To MCP is an MCP server published by nirholas in the Developer Tools category: convert GitHub repositories into MCP servers by extracting tools from OpenAPI specs, READMEs, code and GraphQL. Conduid read 31 tools from its source: add, analyze_repo_structure, convert_openapi_to_mcp, convert_repo, delay, echo and 25 more. No package is published for it, so it installs from a source checkout.

The repository has 35 stars and 6 forks, is licensed Apache-2.0, and its last commit was on 26 Nov 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, api and automation.

Install

From source
git clone https://github.com/nirholas/github-to-mcp

Tools (31)

addAdds two numbers
ParameterTypeDescription
a *numberFirst number
b *numberSecond number
analyze_repo_structureAnalyze a GitHub repository's structure to identify what extraction sources are available. Scans for: - OpenAPI/Swagger specs - GraphQL schemas - README files - Python and TypeScript source files - Existing MCP server implementations Returns a detailed breakdown of the repository structure with recommendations for extraction.
ParameterTypeDescription
github_tokenstringGitHub personal access token (optional)
github_url *stringThe GitHub repository URL to analyze
convert_openapi_to_mcpConvert an OpenAPI specification directly to MCP tools. Supports OpenAPI 3.x and Swagger 2.0 specifications. Can also handle: - Postman collections - Insomnia exports - HAR files - AsyncAPI specs - GraphQL schemas Returns MCP tool definitions extracted from the API specification.
ParameterTypeDescription
base_urlstringOverride the base URL for API calls
formatstringThe format of the specification
spec *stringThe OpenAPI specification content (JSON or YAML)
convert_repoConvert a GitHub repository into an MCP server implementation. This tool analyzes a GitHub repository and generates a complete MCP server that exposes the repository's functionality as AI-usable tools. Supported extraction sources: - OpenAPI/Swagger specifications - README documentation - Source code (Python functions, TypeScript functions) - GraphQL schemas - Existing MCP server introspection Returns the generated MCP server code with full type annotations and documentation.
ParameterTypeDescription
github_tokenstringGitHub personal access token for private repos or higher rate limits (optional)
github_url *stringThe GitHub repository URL (e.g., https://github.com/owner/repo)
output_languagestringThe output language for the generated MCP server
sourcesarrayWhich extraction sources to use (default: all)
delayWaits for a specified duration
ParameterTypeDescription
msnumberMilliseconds to wait
echoEcho back the input message
ParameterTypeDescription
message *stringMessage to echo
errorAlways throws an error (for testing)
ParameterTypeDescription
messagestringError message
export_dockerGenerate Docker configuration files for an MCP server. Creates: - Dockerfile optimized for MCP servers - docker-compose.yml for easy deployment - .dockerignore for efficient builds Supports TypeScript and Python MCP servers with best practices for: - Multi-stage builds (TypeScript) - Minimal image size - Proper caching - Security hardening - Logging configuration The generated configuration can be customized with server name, port, and environment variables.
ParameterTypeDescription
env_varsobjectEnvironment variables to include
include_healthcheckbooleanInclude a health check endpoint
language *stringThe programming language of the MCP server
multi_stagebooleanUse multi-stage build for smaller images (TypeScript only)
portnumberPort to expose (optional, MCP uses stdio by default)
server_namestringName for the Docker service
fetch_dataFetches data from an API
ParameterTypeDescription
headersobjectRequest headers
methodstring
url *stringURL to fetch
generate_claude_configGenerate a Claude Desktop configuration snippet for an MCP server. Creates the JSON configuration that can be added to Claude Desktop's config file to register the generated MCP server.
ParameterTypeDescription
env_varsobjectEnvironment variables to pass to the server
language *stringThe language of the MCP server
server_name *stringName for the MCP server in the config
server_path *stringPath to the generated MCP server file
generate_cursor_configGenerate a Cursor IDE configuration for an MCP server. Creates the configuration format used by Cursor to integrate MCP servers.
ParameterTypeDescription
language *stringThe language of the MCP server
server_name *stringName for the MCP server
server_path *stringPath to the generated MCP server file
generate_openapi_specGenerate an OpenAPI 3.1 specification from source code files. Analyzes source code to extract API routes and generates a complete OpenAPI specification. Supported frameworks: - Express.js (Node.js) - FastAPI/Flask (Python) - Next.js API routes (app/api and pages/api) The tool detects the framework automatically and extracts: - Routes and HTTP methods - Path, query, and header parameters - Request body schemas - Response schemas - Security schemes - Tags for grouping Returns the generated OpenAPI spec in both JSON and YAML formats.
ParameterTypeDescription
files *arrayArray of source code files to analyze
formatstringOutput format
optionsobjectGeneration options
get_readmeRetrieve the repository's README content
get_repo_infoGet repository info
get_timeGet the current server time
get_tool_templateGet a template for creating a new MCP tool definition. Returns a starter template in the requested language with best practices and documentation.
ParameterTypeDescription
description *stringDescription of what the tool does
languagestringTarget language for the template
parametersarrayList of parameters for the tool
tool_name *stringName for the tool
greetGenerates a greeting message
ParameterTypeDescription
formalbooleanUse formal greeting
name *stringName to greet
helloSay hello
ParameterTypeDescription
name *stringName to greet
list_extracted_toolsPreview the tools that would be extracted from a GitHub repository without generating the full MCP server. Useful for understanding what capabilities will be available before committing to a full conversion. Returns a structured list of all detected tools with their names, descriptions, parameters, and source locations.
ParameterTypeDescription
github_tokenstringGitHub personal access token (optional)
github_url *stringThe GitHub repository URL to analyze
sourcesarrayWhich extraction sources to scan
list_filesList files and directories at a given path
ParameterTypeDescription
pathanyoptional, defaults to root
list_providersList all supported AI providers and their MCP configuration details. Returns information about: - Provider name and description - Configuration file format - Configuration file paths for different operating systems - Example configuration snippets
ParameterTypeDescription
include_examplesbooleanInclude example configurations
monitor_mcp_serverMonitor an MCP server's health and collect metrics. Performs comprehensive health checks: - Connection test (ping/pong) - Tool availability verification - Response time measurement - Error rate tracking - Resource utilization estimates Returns a detailed health report with: - Overall status (healthy/degraded/unhealthy) - Individual tool health - Performance metrics - Recommendations for improvements Can be used for: - Pre-deployment validation - Continuous health monitoring - Debugging connection issues - Performance optimization
ParameterTypeDescription
checksarrayWhich health checks to run
include_recommendationsbooleanInclude optimization recommendations
server_config *objectServer configuration for connection
timeout_msnumberTimeout for health checks in milliseconds
tool_samplesnumberNumber of sample calls per tool for latency testing
namedescription
null_valuesTest with null values for all fields
read_fileRead the contents of a specific file
ParameterTypeDescription
pathanyrequired
search_codeSearch for patterns across the repository
ParameterTypeDescription
pathanyoptional
queryanyrequired
search_reposSearch repositories
stream_convertConvert a GitHub repository with streaming progress updates. Similar to convert_repo but provides real-time progress events during the conversion process. Progress events include: - start: Conversion initiated - analyzing: Analyzing repository structure - extracting: Extracting tools from sources - generating: Generating MCP server code - validating: Validating generated code - complete: Conversion finished - error: An error occurred Each event includes a progress percentage and detailed status information. Note: In MCP context, progress is reported via tool output. For SSE streaming, use the HTTP API endpoint.
ParameterTypeDescription
github_tokenstringGitHub token for private repos
github_url *stringThe GitHub repository URL to convert
include_progressbooleanInclude detailed progress in output
output_languagestringTarget language for generated code
sourcesarrayWhich extraction sources to use
test_mcp_toolTest and validate an MCP tool definition. Performs comprehensive validation and generates test cases: - Schema validation (JSON Schema compliance) - Input validation with edge cases - Mock data generation for testing - Example request/response pairs - Type checking for parameters Returns detailed validation results and generated test fixtures.
ParameterTypeDescription
generate_edge_casesbooleanGenerate edge case test inputs
generate_mocksbooleanGenerate mock input data for testing
output_formatstringOutput format for test cases
tool_definition *objectThe MCP tool definition to test
validate_schemabooleanValidate the JSON Schema is well-formed
tool_name...
validate_mcp_serverValidate MCP server code for correctness and best practices. Checks: - Tool definitions are well-formed - Input schemas are valid JSON Schema - Type annotations are consistent - Required fields are present - Description quality Returns validation results with any warnings or errors found.
ParameterTypeDescription
code *stringThe MCP server code to validate
language *stringThe language of the code

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 25K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and packages/openapi-parser/package-lock.json.
  • ✓No dynamic code executionScanned 251 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEapps/vscode/src/commands/validate.ts:129, apps/web/lib/api/validation.ts:60, apps/web/lib/api/validation.ts:60
Starts other programs
1 callapps/web/lib/mcp-sandbox.ts:202
Outbound network calls
46 callsapps/vscode/src/utils/github-api.ts:98, apps/vscode/src/utils/github-api.ts:174, apps/vscode/src/utils/github-api.ts:195
Writes or deletes files
39 callsapps/vscode/src/commands/configureClaudeDesktop.ts:124, apps/vscode/src/commands/configureClaudeDesktop.ts:255, apps/vscode/src/commands/configureClaudeDesktop.ts:272
Lockfile
pnpm-lock.yaml and packages/openapi-parser/package-lock.json

Pattern matches on the source text of 251 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 25K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Github To MCP

How do I install Github To MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Github To MCP safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 251 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE, starts other programs (1 call), makes outbound network calls (46 calls) and writes or deletes files (39 calls). Its dependencies are pinned by pnpm-lock.yaml and packages/openapi-parser/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Github To MCP still maintained?

Yes — the last commit was 5 days ago. The repository has 35 stars and 6 forks and 1 open issues.

What tools does Github To MCP provide?

Conduid read 31 tools from the source: add, analyze_repo_structure, convert_openapi_to_mcp, convert_repo, delay, echo, error, export_docker and 23 more. 24 of them publish their parameters, listed under Tools above.

What license is Github To MCP released under?

The repository declares the Apache-2.0 license.