Skip to content

Add-on: getGitMCP a quick fetcher interface #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

neno-is-ooo
Copy link

getGitMCP

A quick tool to convert GitHub URLs to GitMCP endpoints. This tool allows you to easily generate MCP (Model Context Protocol) endpoints from GitHub repositories, pages, or user/organization URLs.

🔗 Live here: https://neno-is-ooo.github.io/gitmcp-interface/

About

getGitMCP is powered by GitMCP, created by @idosal. It provides a simple interface to convert:

  • GitHub repository URLs → GitMCP endpoints
  • GitHub Pages URLs → GitMCP endpoints
  • GitHub user/organization URLs → List of repositories with their GitMCP endpoints

With these MCP endpoints, your AI agents can fetch and gather context from repositories and their documentation.

Features

  • Clean, modern UI for URL conversion
  • Support for multiple GitHub URL formats
  • Automatic sanitization of pasted URLs
  • Quick conversion of GitHub repository URLs to GitMCP endpoints
  • Support for GitHub Pages URLs
  • Repository listing for user/organization URLs
  • Single-click opening of converted URLs

How It Works

  1. Paste a GitHub URL (repository, pages, or user/organization)
  2. The tool instantly converts it to the corresponding GitMCP endpoint
  3. Use the generated endpoint with your AI assistants to access repository content

URL Conversion Examples

GitHub Repository

github.com/username/repo → gitmcp.io/username/repo

GitHub Pages

username.github.io/repo → username.gitmcp.io/repo

Use Cases

  • Allow AI assistants to access code repositories
  • Enable AI tools to reference documentation
  • Simplify the process of working with GitHub content in AI workflows
  • Quickly generate MCP endpoints for multiple repositories

Related Links

@idosal
Copy link
Owner

idosal commented Apr 12, 2025

That's awesome @neno-is-ooo ! Thanks for your contribution. I think it'd be great to incorporate this functionality into the landing page somehow.

@neno-is-ooo
Copy link
Author

neno-is-ooo commented Apr 12, 2025 via email

@neno-is-ooo
Copy link
Author

Please beware that the logic now is that

if a link has trailing like https://github.com/idosal/spring-authorization-server/tree/itest-support-poc

then

it will be sanitized into https://github.com/idosal/spring-authorization-server/

and opened automagically

However that branch gitmcp would be possible inot gitmcp see i.e. https://gitmcp.io/idosal/spring-authorization-server/tree/itest-support-poc

If you want to conserve trailing link in every case let me know. I think there are situations in which one want to sanitize it.

How did you spec this in your app? I want this to follow as much as possible.

@idosal
Copy link
Owner

idosal commented Apr 12, 2025

We sanitize everything to keep it simple. We only support the main branch at the moment.

@neno-is-ooo
Copy link
Author

Do you need anything from me at this point?

@idosal
Copy link
Owner

idosal commented Apr 12, 2025

Do you need anything from me at this point?

Nope, we have everything. I'll merge it later and finish integrating it into the landing page. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants