Cover image
Try Now
2025-03-21

Une implémentation de serveur MCP pour le chat agentique GitHub en utilisant Go

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

GitHub Agentic Chat MCP Server

This is an MCP (Model Context Protocol) server implementation for GitHub agentic chat using Go. It provides tools for interacting with GitHub through natural language and includes vector search capabilities.

Features

  • Search GitHub repositories
  • Create issues
  • Vector search functionality
    • Add documents to vector store
    • Semantic search across stored documents
  • Extensible structure for adding more features

Prerequisites

  • Go 1.21 or later
  • PostgreSQL with pgvector extension
  • GitHub Personal Access Token
  • OpenAI API Key
  • Claude Desktop or other MCP-compatible client

Setup

  1. Clone the repository:
git clone https://github.com/akhidasTech/github-agentic-chat-mcp.git
cd github-agentic-chat-mcp
  1. Set up environment variables:
export GITHUB_TOKEN=your_github_token_here
export DATABASE_URL=postgres://user:password@localhost:5432/dbname
export OPENAI_API_KEY=your_openai_api_key_here
  1. Set up PostgreSQL with pgvector:
CREATE EXTENSION vector;
  1. Build the server:
go build -o bin/github-agentic-chat-mcp
  1. Configure Claude Desktop: Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
    "mcpServers": {
        "github-chat": {
            "command": "/absolute/path/to/bin/github-agentic-chat-mcp"
        }
    }
}
  1. Restart Claude Desktop

Available Tools

GitHub Tools

search_repositories

Search for GitHub repositories using a query string.

create_issue

Create a new issue in a GitHub repository.

Vector Search Tools

add_to_vector_store

Add a document to the vector store for semantic search.

Parameters:

  • content: The text content to store
  • metadata: JSON string containing metadata about the content

Example:

{
    "content": "This is a document about GitHub Actions",
    "metadata": "{\"type\": \"documentation\", \"tags\": [\"github\", \"ci-cd\"]}"
}

vector_search

Perform semantic search across stored documents.

Parameters:

  • query: The search query text
  • limit: Maximum number of results to return (default: 5)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

    Reviews

    5 (1)
    Avatar
    user_KG9jQSk6
    2025-04-17

    I've been using github-agentic-chat-mcp by akhidasTech, and it has truly revolutionized my workflow. The seamless integration with GitHub and intuitive interface make managing projects and communicating with my team effortless. Highly recommend this tool for any developer looking to boost productivity. Check it out here: https://github.com/akhidasTech/github-agentic-chat-mcp