githubmcp

package
v0.0.0-...-c40c2f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2026 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Summary

type Summary struct {
	Issues              int
	IssueComments       int
	PullRequests        int
	PullRequestComments int
}

Summary captures counts produced during ingestion.

func IngestRepository

func IngestRepository(ctx context.Context, db *database.Database, runID int64, session ToolCaller, owner, repo string) (Summary, error)

IngestRepository fetches issues, pull requests, and their comments from the GitHub MCP server and stores them in the ingest database.

type ToolCaller

type ToolCaller interface {
	CallTool(ctx context.Context, name string, args map[string]any) (*sdkmcp.CallToolResult, error)
}

ToolCaller represents the MCP session subset required for GitHub ingestion.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL