GitLab REST and GraphQL API vs Mainline MCP server
GitLab REST and GraphQL APIby GitLabPaid fromNot statedAccessHTTP, CLI, MCPAgentsNot agent-friendlyAPI QA score[SCORE]View API
Mainline MCP serverby MainlinePaid from$99 per team,/monthAccessMCP, Hosted UI, FileAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
15 different8 stated by only one1 the same on both
The basics
What it isGitLab REST and GraphQL API: Reads and writes projects, repositories, issues, merge requests, commits, pipelines and packages on GitLabMainline MCP server: Read-only MCP server per team onto Mainline, a project tool for trunk-based teams, so coding agents can read story maps and stories with their acceptance scenarios; self-hosted under AGPL or hosted
AccessGitLab REST and GraphQL API: HTTP, CLI, MCPMainline MCP server: MCP, Hosted UI, File
Still on saleGitLab REST and GraphQL API: YesMainline MCP server: Yes
What they work on
BothIssue
Only one of themGitLab REST and GraphQL API: CommentCommitPull requestRepositorySoftware packageWorkflow runUserDeploymentCI/CD pipelineGroup+11 moreMainline MCP server: Story map
Price
PricesGitLab REST and GraphQL API: Mainline MCP server:
- Premium$29 /user/month, billed annually
- Storage$5 /month for 10 GiB, billed annually
- Enterprise Agile Planning$15 /user/month
- Hosted$99 per team,/month
- Hosted (yearly)$990 /year
Buying and paying
Agent gets a key aloneGitLab REST and GraphQL API: Nokeys, tokens or OAuth apps are created by a signed-in person in the vendor UIMainline MCP server: Nokey or token is created by a signed-in person
First call without a keyGitLab REST and GraphQL API: Not statedMainline MCP server: Noevery call needs a key or OAuth token
Agent can payGitLab REST and GraphQL API: Nocheckout needs a person with a card, or a sales contractMainline MCP server: Noplan bought by card in the web app by a person; no agent payment protocol
Payment railsGitLab REST and GraphQL API: Not statedMainline MCP server: cardcard checkout for self-serve plans
Payment protocolsGitLab REST and GraphQL API: Not statedMainline MCP server: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredGitLab REST and GraphQL API: NoFree tierMainline MCP server: Yeshosted $99 per team per month; self-hosting free
Smallest purchase (USD)GitLab REST and GraphQL API: Not statedMainline MCP server: From $99'$99 per team per month'
Price published as dataGitLab REST and GraphQL API: Not statedMainline MCP server: Noprices only in the HTML page
Pay per callGitLab REST and GraphQL API: Nocompute minutes $10 per 1,000 are CI, not API callsMainline MCP server: Not stated
Reading and signing up
Public pricesGitLab REST and GraphQL API: Yestiers and add-ons on pricing pageMainline MCP server: Yesplan prices on the public pricing page
Self-serve sign-upGitLab REST and GraphQL API: Yesno card requiredMainline MCP server: Yes'Sign up'
Free useGitLab REST and GraphQL API: YesFree tier, 5 users per top-level groupMainline MCP server: Free trial'14-day trial on your first team, no card'; self-hosted free
OpenAPIGitLab REST and GraphQL API: Yesdoc/api/openapi/openapi_v2.yaml in the gitlab repoMainline MCP server: No
Docs without loginGitLab REST and GraphQL API: Yesdocs.gitlab.comMainline MCP server: Yesdocs public
llms.txtGitLab REST and GraphQL API: Yesabout.gitlab.com/llms.txtMainline MCP server: Yeshttps://mainline.dev/llms.txt
Docs as MarkdownGitLab REST and GraphQL API: Not statedMainline MCP server: NoAccept: text/markdown returned HTML or JSON on the docs and site URLs
MCP
Vendor MCP serverGitLab REST and GraphQL API: YesGitLab MCP server and Orbit MCP endpoint in docs.gitlab.comMainline MCP server: Yeshttps://mainline.dev/mcp/{team_id} (/.well-known/mcp.json)
MCP server hosted by the vendorGitLab REST and GraphQL API: YesMainline MCP server: Yeshosted by the vendor
MCP sign-inGitLab REST and GraphQL API: Not statedMainline MCP server: Uses an API key'Go to your team settings and generate an MCP token'
Jobs both do
Open a job to see every API that does it.

