Connect Codex to GitLab and MongoDB
What happens next
Set up in minutes
Choose where it runs
On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in GitLab
A preset of real GitLab operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Pick what it can do in MongoDB
A preset of real MongoDB operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect GitLab
One sign-in. The agent acts through your account, scoped to the operations you picked.
Connect MongoDB
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your Codex first calls in.
Run this in your terminal
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools Codex gets
GitLab
81 toolsList projects accessible to the token.
Retrieve a single project by ID or namespace/path.
Create a new project (repository).
List members of a project.
List issues in a project.
Get a single issue by its project-scoped IID.
Create an issue in a project.
Edit issue fields or change its state.
Add a comment (note) to an issue or merge request.
List merge requests in a project.
Get a single merge request by IID.
Open a merge request.
Edit a merge request or change its state.
Accept/merge a merge request.
List repository branches.
Create a repository branch.
Delete a repository branch.
List repository commits.
Create a commit with file actions in one call.
Get a repository file's content and metadata.
Create or update a single repository file.
Create a git tag.
List CI/CD pipelines.
Trigger a new pipeline on a ref.
List jobs for a pipeline.
Create a release tied to a tag.
List groups visible to the token.
Global search across GitLab.
Return the authenticated user (token validity check).
Get a single pipeline.
Retry the failed/canceled jobs of a pipeline.
Cancel a pipeline's running jobs.
Get a single job.
Get a job's log/trace (plain text).
Retry a single job.
Run a manual job.
Cancel a single job.
List a project's CI/CD variables.
Create a project CI/CD variable.
Update a project CI/CD variable's value.
Delete a project CI/CD variable.
Approve a merge request.
Remove your approval from a merge request.
List comments (notes) on an issue or merge request.
Delete an issue.
List a project's labels.
Create a project label.
Delete a project label.
List a project's milestones.
Create a project milestone.
Add a user as a project member.
Remove a project member.
List a project's releases.
Get a release by tag name.
Post a build/commit status onto a commit SHA.
List a project's environments.
Create an environment.
Stop an environment.
Delete a stopped environment.
List a project's deployments.
Get a single deployment.
Create a deployment record.
List a project's wiki pages.
Get a wiki page by slug.
Create a wiki page.
Update a wiki page.
Delete a wiki page.
List protected branches.
Protect a branch (or wildcard).
Unprotect a branch.
List the current user's todos.
Mark a single todo as done.
Mark all of the current user's todos as done.
List a project's webhooks.
Create a project webhook.
Delete a project webhook.
Update a release's name/notes.
Delete a release (the tag is kept).
List a group's epics (Premium).
Create an epic in a group (Premium).
Update an epic (Premium).
MongoDB
38 toolsStarting points
What you can build
Meet the runner
About Codex
Good to know
Frequently asked questions
Keep exploring
More ways to connect
Make it yours
Open your Codex agent in one click.
NoClick runs Codex for you with GitLab and MongoDB wired in as tools. Connect your account and run.