GitLab MCP server Orbit tools

  • Tier: Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

The availability of the get_orbit_context tool is controlled by a feature flag. For more information, see the history.

To provide feedback on this feature, leave a comment on issue 630189.

These tools are part of the orbit toolset. Use them to query GitLab Orbit and read an entity and its graph neighborhood.

For a list of all tools, see GitLab MCP server tools.

The orbit toolset has one tool for each GitLab Orbit command, for example query_graph. The Orbit server sets the names, descriptions, and input schemas of the command tools. Your MCP client gets the current list of tools from the GitLab MCP server. For the commands and what they do, see GitLab Orbit endpoint tools.

The toolset also has the get_orbit_context tool, which GitLab provides. The tool reads one entity, such as an issue or merge request, from an Orbit token, and optionally its graph neighborhood. Use a Type[id] token built from the type and ID columns of a query_graph row, or a reference as GitLab writes it, for example group/project#7. The Type can be MergeRequest, WorkItem, Issue, Epic, Job, or Pipeline. Other types, such as Project or User, are not supported. The tool counts toward the Orbit query rate limit and requires Orbit turned on for at least one of your groups. With expand, get_orbit_context returns outside_graph_scope for an entity in a group that does not have Orbit turned on. Tool rules for get_orbit_context apply to the project or group the token names, not to linked items or expanded neighbors. You still see only what you can read.

These tools are listed only when you request the orbit toolset and meet the Orbit requirements. For more information, see select tool groups.

Example:

Use GitLab Orbit to list the 5 most recently updated projects in my group.