Connect Cursor to Gitea
Cursor reaches Gitea through one Flowplane address. You add Gitea once in Flowplane, add that address to Cursor, and sign in. Read code, issues, pull requests and Actions logs in your own Gitea, and open, review or merge with your approval.
- Tools
- 24 read · 19 change
- Sign-in
- Own account or shared key
- Approval, by default
- Changes wait for you
- MCP server
- Flowplane’s tools
- 1
Add Gitea in Flowplane
In the Flowplane console, add Gitea, type the address you open Gitea at, and either enter the OAuth application’s client ID and secret or paste an access token.
Two ways. Sign in with Gitea: a Gitea administrator registers an OAuth2 application in your Gitea once, and then each person signs in and acts as themselves. Or an access token: one person makes a token in Gitea (Settings, Applications) and pastes it, and the assistant acts with that account’s rights, cut down to the scopes ticked. Flowplane keeps it sealed; the assistant never sees it.
- 2
Add Flowplane to Cursor
Your address is shown in the Flowplane console; it looks like
https://mcp.flowplane.eu/<your-label>- Add the block below to
~/.cursor/mcp.json(all projects) or.cursor/mcp.json(one project). - Open Cursor’s MCP settings and turn
flowplaneon. - When Cursor asks, sign in to Flowplane and allow it.
{ "mcpServers": { "flowplane": { "url": "https://mcp.flowplane.eu/<your-label>" } } }Steps checked against the vendor’s documentation (Anysphere)
- Add the block below to
- 3
Ask Cursor
- “Which pull requests in acme/website are still open, and which have failing checks?”
- “Show me the diff of PR 42 and sum up what it changes.”
- “Why did the last Actions run on main fail? Read the log of the failing job.”
- “Open an issue in acme/api: the export button times out on large files, label it bug.”
- “Merge pull request 57 in acme/website once its checks pass.”
What Cursor can do in Gitea
Gitea is the self-hosted Git forge many teams run on their own servers. Through Flowplane an AI assistant can read repositories, files, commits, pull requests with their diffs and reviews, issues, releases and the logs of Actions jobs. It can open issues and pull requests, comment, review, commit a file or merge, and each of those changes waits for your approval by default.
Reads24
- List repositoriesYours, an owner's, or found by name
list_repos - Get repoA repository's settings and counts
get_repo - List branchesThe branches of a repository
list_branches - Read a fileA file's text, cut to a size
get_file - List a directoryFiles and folders, one level or all below
list_dir - List commitsThe commits of a branch or path
list_commits - Get commitOne commit with the files it changed
get_commit - Compare two refsThe commits one branch has over another
compare - Get statusThe checks on a commit: passing or not
get_status - List prsThe pull requests of a repository
list_prs - Get prOne pull request
get_pr - List pr filesThe files a pull request changes
list_pr_files - Read a pull request's diffThe changes as a unified diff, cut to a size
get_pr_diff - List a pull request's reviewsReviews, or the comments of one review
list_pr_reviews - List issuesThe issues of a repository, filtered
list_issues - Get issueOne issue
get_issue - List commentsThe discussion on an issue or pull request
list_comments - Search issuesIssues and pull requests across repositories
search_issues - List labelsA repository's labels, or an organisation's
list_labels - List milestonesThe milestones of a repository
list_milestones - List releasesReleases, or one by its tag with its notes
list_releases - List Actions runsWorkflow runs, or the jobs of one run
list_action_runs - Read a job's logThe end of an Actions job's log
get_action_job_log - List notificationsYour unread notifications
list_notifications
Changesasks first19
- Create issueOpen a new issue, asked first
create_issue - Edit issueChange an issue or close it, asked first
edit_issue - Add commentComment on an issue or pull request, asked first
add_comment - Edit commentChange a comment's text, asked first
edit_comment - Change labelsAdd or remove an issue's labels, asked first
update_labels - Create labelMake a new label, asked first
create_label - Create prOpen a pull request, asked first
create_pr - Edit prChange a pull request, asked first
edit_pr - Request reviewAsk people for a review, asked first
request_review - Submit reviewApprove, request changes or comment, asked first
submit_review - Create branchMake a new branch, asked first
create_branch - Write a fileCommit a file's new text, asked first
create_or_update_file - Create releasePublish a release, asked first
create_release - Merge a pull requestMerge it into its branch, asked first by default
merge_pr - Delete a branchRemove a branch, asked first by default
delete_branch - Delete a fileRemove a file in a commit, asked first by default
delete_file - Delete a releaseRemove a release, asked first by default
delete_release - Delete a labelRemove a label, asked first by default
delete_label - Delete a commentRemove a comment, asked first by default
delete_comment
Questions
- Which way of signing in should we use?
- Sign in with Gitea when several people use it: each acts as themselves. It needs Gitea 1.23 or later for the scopes to hold, and a Gitea reachable from the internet on port 443 with a public certificate. Use an access token for one person, for an older Gitea, or for a Gitea behind a firewall (through a tunnel) or with a certificate from your own authority.
- What can the assistant change in Gitea?
- Issues, comments, labels, pull requests, reviews, branches, files and releases, and every change waits for your approval by default. Merging a pull request and every delete cannot be undone, so they wait for your approval by default. Creating, deleting or transferring repositories, collaborators and teams, webhooks, deploy keys, branch protection, secrets, packages, administration, force merges and rerunning or cancelling Actions are left out on purpose.
- Which Gitea versions does it work with?
- Gitea 1.22 and later. Actions runs and job logs need 1.25. Forgejo speaks the same API for most of this, without branch search and a few filters.
- Does Cursor see the password or key for Gitea?
- No. You sign in to Gitea through Flowplane, which keeps that sign-in sealed. Cursor only gets a Flowplane sign-in for you, which you can revoke in the console.
- Can Cursor change things in Gitea without asking?
- Not by default: every change in Gitea waits for your approval in the browser. Your workspace’s rules decide, per tool.
- Connect Claude to Gitea→
- Connect Claude Code to Gitea→
- Connect ChatGPT to Gitea→
- Connect Codex to Gitea→
- Connect GitHub Copilot to Gitea→
- Connect Mistral Le Chat to Gitea→
Flowplane is not affiliated with or endorsed by Gitea’s maker; the name and logo only identify the app. Pricing
Let your AI work with your data. Safely, from today.
Free for yourself, set up in a minute. For your team or company, we’re happy to help you get started.