Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 27, 2026 Changes in this version + const BridgeFailed + const ClientID + const ConflictSHA + const DefaultUser + const DownstreamFailed + const FakeToken + const GroupLabel + const GroupSub + const GroupTop + const JobAllowed + const JobFailed + const JobManual + const JobPassed + const LogFiller + const MilestoneActive + const MilestoneClosed + const MilestoneGroup + const PipelineFailed + const ProjectAlpha + const ProjectBeta + const ProjectMoved + const ProjectSecret + const SnippetAlpha + const SnippetPersonal + const TagPlain + const TagRelease + const TodoAssigned + const TodoDone + const TodoReview + const WikiNested + var Users = []string + type Fault struct + AfterApply bool + Body string + Delay time.Duration + Header http.Header + Method string + Path string + StallAfter time.Duration + Status int + Times int + func Application429(path string, retryAfter, times int) Fault + func RackAttack429(path string, retryAfter, times int) Fault + type Options struct + AccessTokenTTL time.Duration + AlphaCommits int + AlphaIssues int + AlphaMergeRequests int + AuthorizeAs string + ClientSecret string + Confidential bool + Enterprise bool + ExtraProjects int + MoveDropsQuery bool + Now func() time.Time + OffsetCap int + RedirectURIs []string + TotalLimit int + Version string + type Request struct + Authorization string + EscapedPath string + IfUnmodifiedSince string + Method string + RawQuery string + UserAgent string + type Server struct + func New(t testing.TB, opts Options) *Server + func (s *Server) Approvals(projectPath string, iid int64, user string) (gitlab.Approvals, bool) + func (s *Server) BranchHead(projectPath, branch string) (gitlab.Commit, bool) + func (s *Server) Comment(projectPath, kind string, iid int64, user, body string) (gitlab.Note, bool) + func (s *Server) Discussions(projectPath, kind string, iid int64) []gitlab.Discussion + func (s *Server) Drafts(projectPath string, iid int64) []gitlab.DraftNote + func (s *Server) EditWikiPage(projectPath, slug, content string) bool + func (s *Server) FileAt(projectPath, branch, path string) (string, bool) + func (s *Server) Inject(f Fault) + func (s *Server) Issue(projectPath string, iid int64) (gitlab.Issue, bool) + func (s *Server) IssueLinks() int + func (s *Server) Job(projectPath string, id int64) (gitlab.Job, bool) + func (s *Server) JobInputsSent() map[string]any + func (s *Server) MergeRequest(projectPath string, iid int64) (gitlab.MergeRequest, bool) + func (s *Server) Pipeline(projectPath string, id int64) (gitlab.PipelineDetail, bool) + func (s *Server) ProjectID(path string) int64 + func (s *Server) PushTo(projectPath, branch string) (string, bool) + func (s *Server) Rebases() int + func (s *Server) Refreshes() int + func (s *Server) Release(projectPath, tag string) (gitlab.Release, bool) + func (s *Server) Requests() []Request + func (s *Server) ResetRequests() + func (s *Server) ReviewerState(projectPath string, iid int64, user string) string + func (s *Server) Revoke(token string) + func (s *Server) SetHeadPipelineStatus(projectPath string, iid int64, status string) bool + func (s *Server) SetIssuesAccess(projectPath, level string) bool + func (s *Server) SetJobLog(projectPath string, id int64, status, log string, archived bool) bool + func (s *Server) SetMRDiffs(projectPath string, iid int64, diffs []gitlab.Diff) bool + func (s *Server) SetMergeStatus(projectPath string, iid int64, status string) bool + func (s *Server) SnippetVisibility(id int64) string + func (s *Server) TodoState(id int64) string + func (s *Server) Token() string + func (s *Server) TokenFor(user string, scopes ...string) string + func (s *Server) TouchNote(projectPath, kind string, iid, noteID int64, at time.Time) bool + func (s *Server) WikiPage(projectPath, slug string) (gitlab.WikiPage, bool) Other modules containing this package github.com/mmedum/gitlab-mcp/v2 github.com/mmedum/gitlab-mcp/v3 github.com/mmedum/gitlab-mcp/v4