
timescale/tiger-gh-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Tiger GitHub MCP サーバー
概要
GitHub API の周りのラッパーで、モデルコンテキストプロトコルを介して LLM に焦点を絞ったツールを提供しています。 このプロジェクトでは、実行時間とパッケージマネージャとして bun を使用します。 ラッパースクリプト(./bun)は、最初に使用したbunのピン化されたバージョンをダウンロードするので、グローバルにインストールする必要はありません。 ./bun をインストールして依存関係をインストールします。 ./bun run watch http を使用して、HTTP モードでサーバーを実行し、変更時にリロードします。 正しいスコープでGitHubトークンが必要です。 このような新しいトークンを作成するための直接リンクです。 .env.sample ファイルに基づいて .env ファイルを作成します。 .env で GITHUB TOKEN 値を更新します。 このプロジェクトには、HTTPモードでサーバーを起動する「Debug Github MCP」と呼ばれるVSコードデバッグプロファイルが含まれており、フルデバッグサポートでTypeScriptソースを直接bun経由で実行します。 - VSコードでプロジェクトを開きます - Debugパネル(Ctrl / Cmd + Shift + D)に移動 - ドロップダウンから「Debug Github MCP」を選択します - F5を押して、再生ボタンをクリック
概要(AI 翻訳)
GitHub API の周りのラッパーで、モデルコンテキストプロトコルを介して LLM に焦点を絞ったツールを提供しています。
開発
ローカルでサーバーをクローニングして実行します。
ビル
このプロジェクトでは、実行時間とパッケージマネージャとして bun を使用します。 ツイート wrapper スクリプト ([T0]) は、bun のピン化されたバージョンをダウンロードします。 まずは、グローバルにインストールする必要はありません。
./bun installを実行して、依存関係をインストールします。 ./bun run watch http を使って実行する
HTTP モードのサーバーと変更のリロード。
正しいスコープでGitHubトークンが必要です。 このような新しいトークンを作成するための直接リンクです。
.env.sampleファイルに基づいて[.env]ファイルを作成します。
[.env]で[GITHUB_TOKEN]]値を更新します。
VS コード デバッグ
このプロジェクトには、「Debug Github MCP」と呼ばれるVSコードデバッグプロファイルが含まれています。 サーバを HTTP モードで起動し、完全なデバッグサポートで実行 bun 経由で直接 TypeScript ソース。
使用するため:
- VSコードでプロジェクトを開く
- Debug パネルに行く(Ctrl/Cmd + Shift + D)
- ドロップダウンから「Debug Github MCP」を選択します
- F5を押すか、再生ボタンをクリックして下さい
ブレークポイントは、ソースマップのサポートにより、TypeScript ソースファイルで適切に機能します。
##テスト
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
Tiger GitHub MCP Server
A wrapper around the GitHub API to provide some focused tools to LLMs via the Model Context Protocol.
Development
Cloning and running the server locally.
git clone [email protected]:timescale/tiger-gh-mcp-server.git
Building
This project uses bun as its runtime and package manager. A
wrapper script (./bun) is included that downloads a pinned version of bun on
first use, so you don’t need to install it globally.
Run ./bun install to install dependencies. Use ./bun run watch http to run
the server in HTTP mode and reload on changes.
You will need a GitHub token with the correct scopes. Here is a direct link to create such a new token.
Create a .env file based on the .env.sample file.
cp .env.sample .env
Then update the GITHUB_TOKEN value in .env.
VS Code Debugging
The project includes a VS Code debug profile called “Debug Github MCP” that launches the server in HTTP mode with full debugging support, running the TypeScript source directly via bun.
To use it:
- Open the project in VS Code
- Go to the Debug panel (Ctrl/Cmd + Shift + D)
- Select “Debug Github MCP” from the dropdown
- Press F5 or click the play button
Breakpoints will work properly in TypeScript source files thanks to source map support.
Testing
The MCP Inspector is a very handy to exercise the MCP server from a web-based UI.
./bun run inspector
| Field | Value |
|---|---|
| Transport Type | STDIO |
| Command | ./bun |
| Arguments | src/index.ts |
Testing in Claude Desktop
Create/edit the file ~/Library/Application Support/Claude/claude_desktop_config.json to add an entry like the following, making sure to use the absolute path to your local tiger-gh-mcp-server project, and use a valid GitHub token.
{
"mcpServers": {
"tiger-gh": {
"command": "/absolute/path/to/tiger-gh-mcp-server/bun",
"args": [
"/absolute/path/to/tiger-gh-mcp-server/src/index.ts",
"stdio"
],
"env": {
"GITHUB_TOKEN": "ghp_whatever",
"GITHUB_ORG": "timescale"
}
}
}
}
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"tiger-gh": {
"command": "/absolute/path/to/tiger-gh-mcp-server/bun",
"args": [
"/absolute/path/to/tiger-gh-mcp-server/src/index.ts",
"stdio"
],
"env": {
"GITHUB_TOKEN": "ghp_whatever",
"GITHUB_ORG": "timescale"
}
}
}
}