GitHub Agentic Chat

by akhidastech

479 downloads
Not rated
GitHub

About

Integrates with GitHub's API to enable natural language interaction with repositories, offering tools for searching, creating issues, and performing semantic searches across stored documents using PostgreSQL with pgvector.

Details

Author
akhidastech
Repository
akhidasTech/github-agentic-chat-mcp
Downloads
479
Categories
Developer Tools, Design, Workplace, File Management, AI, Community, Search, Communication, Knowledge Base

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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name GitHub Agentic Chat
    Command (node, npx, python, etc.) /absolute/path/to/bin/github-agentic-chat-mcp
    Environment
    • DATABASE_URL postgres://user:password@localhost:5432/dbname
    • GITHUB_TOKEN your_github_token_here
    • OPENAI_API_KEY your_openai_api_key_here

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone the repository:

git clone https://github.com/akhidasTech/github-agentic-chat-mcp.git
cd github-agentic-chat-mcp

2. 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

3. Set up PostgreSQL with pgvector:

CREATE EXTENSION vector;

4. Build the server:

go build -o bin/github-agentic-chat-mcp

5. Configure Claude Desktop:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers": {
"github-chat": {
"command": "/absolute/path/to/bin/github-agentic-chat-mcp"
}
}
}

6. Restart Claude Desktop

search_repositories

Search for GitHub repositories using a query string.

create_issue

Create a new issue in a GitHub repository.

add_to_vector_store

Add a document to the vector store for semantic search. Parameters: content (string), metadata (JSON string containing metadata about the content)

vector_search

Perform semantic search across stored documents. Parameters: query (string), limit (integer, default: 5)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "github agentic chat": {
            "env": {
                "DATABASE_URL": "postgres://user:password@localhost:5432/dbname",
                "GITHUB_TOKEN": "your_github_token_here",
                "OPENAI_API_KEY": "your_openai_api_key_here"
            },
            "args": [],
            "command": "/absolute/path/to/bin/github-agentic-chat-mcp"
        }
    }
}

Linux

{
    "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/dbname",
        "GITHUB_TOKEN": "your_github_token_here",
        "OPENAI_API_KEY": "your_openai_api_key_here"
    },
    "args": [],
    "command": "/absolute/path/to/bin/github-agentic-chat-mcp"
}

Macos

{
    "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/dbname",
        "GITHUB_TOKEN": "your_github_token_here",
        "OPENAI_API_KEY": "your_openai_api_key_here"
    },
    "args": [],
    "command": "/absolute/path/to/bin/github-agentic-chat-mcp"
}

Windows

{
    "env": {
        "DATABASE_URL": "postgres://user:password@localhost:5432/dbname",
        "GITHUB_TOKEN": "your_github_token_here",
        "OPENAI_API_KEY": "your_openai_api_key_here"
    },
    "args": [],
    "command": "/absolute/path/to/bin/github-agentic-chat-mcp"
}

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

2. 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

3. Set up PostgreSQL with pgvector:

CREATE EXTENSION vector;

4. Build the server:

go build -o bin/github-agentic-chat-mcp

5. Configure Claude Desktop:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers": {
"github-chat": {
"command": "/absolute/path/to/bin/github-agentic-chat-mcp"
}
}
}

6. 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.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.