GitHub MCP TS SDK Server

Provides a TypeScript MCP server giving access to GitHub data such as repos, issues, PRs, commits, and user profiles.
  • typescript

0

GitHub Stars

typescript

Language

6 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "om-shree-0709-github-mcp-ts-sdk": {
      "command": "node",
      "args": [
        "/path/to/your/github-mcp-server/dist/server.js"
      ],
      "env": {
        "GITHUB_TOKEN": "your_github_token_here",
        "GITHUB_USERNAME": "optional_username_here"
      }
    }
  }
}

You run a GitHub MCP Server that exposes repositories, issues, pull requests, commits, and user information through a standardized interface. Built in TypeScript, it helps you query GitHub data efficiently from any MCP-compatible client.

How to use

You connect an MCP client to the server and start asking questions about GitHub data. You can retrieve your own profile, explore repositories you own, list issues and PRs in a repository, browse commits, and run searches across GitHub. Use natural language prompts or explicit tool calls to fetch the information you need, and rely on the server to handle authentication, rate limits, and error reporting.

How to install

Prerequisites: Node.js 18 or newer, npm or yarn, and a GitHub Personal Access Token with appropriate scopes.

# 1. Clone your MCP server project
git clone <your-repo-url>
cd github-mcp-ts-sdk

# 2. Install dependencies
npm install

# 3. Set up environment variables
cp env.example .env
# Edit .env and add your GitHub token

Runtime start and development flow

Build and run the server in development or production mode as you iterate on features and tests.

# Development mode
npm run dev

# Production mode
npm run build
npm start

Available tools

get_my_info

Get information about the authenticated GitHub user, including username and profile details.

get_repo_info

Retrieve detailed information about a specific repository, including description, language, stars, forks, and visibility.

list_repo_issues

List issues for a repository with optional state filtering (open/closed).

list_repo_prs

List pull requests for a repository with optional state filtering.

list_repo_commits

List recent commits for a repository with commit messages and authors.

search_repositories

Search for repositories on GitHub using queries and filters.

get_user_info

Get information about any GitHub user by username.

list_user_repos

List repositories belonging to a specific user.

get_my_repos

List repositories belonging to the authenticated user.

get_github_stats

Get comprehensive GitHub statistics for a user, including repo counts and overall activity.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational