Connect Claude Code to GitLab and PostgreSQL
What happens next
Set up in minutes
Choose where it runs
On your computer through your own Claude Code, 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 PostgreSQL
A preset of real PostgreSQL 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 PostgreSQL
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 Claude Code first calls in.
Run this in your terminal
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools Claude Code 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).
PostgreSQL
40 toolsExecute a SELECT query and return results as JSON
Execute an INSERT, UPDATE, DELETE, or other non-SELECT statement
Execute a statement with multiple parameter sets (batch operations)
Execute query with cursor for large result sets
Bulk import data to a table using COPY
Bulk export data from a table using COPY
List all tables in a schema
Get column metadata for a table
Get detailed information about a table including constraints and indexes
Create a new table
Drop a table
Truncate a table (remove all rows)
List all schemas in the database
Create a new schema
Drop a schema
List all databases in the PostgreSQL server
List all indexes in a schema
Create an index on a table
Drop an index
List all views in a schema
Create a view
Drop a view
List all sequences in a schema
Get the next value from a sequence (nextval)
Get the current value from a sequence (currval)
Set the current value of a sequence (setval)
List all functions in a schema
Call a PostgreSQL function
List all constraints for a table
List all triggers in a schema
List all installed extensions
Create/install an extension
List all database users
List all database roles
Explain a query's execution plan
Vacuum a table to reclaim storage and update statistics
Analyze a table to update statistics
Begin a new transaction
Commit the current transaction
Rollback the current transaction
Starting points
What you can build
Meet the runner
About Claude Code
Good to know
Frequently asked questions
Keep exploring
More ways to connect
More tools for Claude Code
Popular Claude Code pairs
Make it yours
Open your Claude Code agent in one click.
NoClick runs Claude Code for you with GitLab and PostgreSQL wired in as tools. Connect your account and run.