From 0e863ecb7d8c2fad1498578982818fa5ec7b9f01 Mon Sep 17 00:00:00 2001 From: dev_cursor Date: Mon, 11 May 2026 19:31:04 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20.gitignore=20=D0=B8=20=D1=88=D0=B0=D0=B1=D0=BB?= =?UTF-8?q?=D0=BE=D0=BD=20mcp.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .cursor/mcp.json.example | 34 ++++++++++++++++++++++++++++++++++ .gitignore | 5 +++++ 2 files changed, 39 insertions(+) create mode 100644 .cursor/mcp.json.example create mode 100644 .gitignore diff --git a/.cursor/mcp.json.example b/.cursor/mcp.json.example new file mode 100644 index 0000000..61e860b --- /dev/null +++ b/.cursor/mcp.json.example @@ -0,0 +1,34 @@ +{ + "mcpServers": { + "gitea-developer": { + "command": "/absolute/path/to/gitea-mcp", + "args": [ + "-t", "stdio", + "--host", "https://your-gitea.com", + "--tools", "get_my_user_info,list_my_repos,search_repos,create_branch,list_branches,get_repository_tree,get_file_content,get_dir_content,create_file,update_file,list_repo_commits,get_commit,create_pull_request,create_pull_request_reviewer,get_pull_request_by_index,list_repo_pull_requests,list_repo_issues,get_issue_by_index,search_users" + ], + "env": { + "GITEA_ACCESS_TOKEN": "", + "GIT_AUTHOR_NAME": "", + "GIT_AUTHOR_EMAIL": "", + "GIT_COMMITTER_NAME": "", + "GIT_COMMITTER_EMAIL": "" + } + }, + "gitea-reviewer": { + "command": "/absolute/path/to/gitea-mcp", + "args": [ + "-t", "stdio", + "--host", "https://your-gitea.com", + "--tools", "get_my_user_info,get_file_content,get_dir_content,get_repository_tree,list_repo_issues,get_issue_by_index,create_issue_comment,get_pull_request_by_index,get_pull_request_diff,list_repo_pull_requests,list_pull_request_reviews,get_pull_request_review,list_pull_request_review_comments,create_pull_request_review,submit_pull_request_review,dismiss_pull_request_review,merge_pull_request" + ], + "env": { + "GITEA_ACCESS_TOKEN": "", + "GIT_AUTHOR_NAME": "", + "GIT_AUTHOR_EMAIL": "", + "GIT_COMMITTER_NAME": "", + "GIT_COMMITTER_EMAIL": "" + } + } + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc62f09 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Cursor MCP config contains tokens — use .cursor/mcp.json.example as template +.cursor/mcp.json + +# Environment variables +.env