feat: добавить .gitignore и шаблон mcp.json

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-11 19:31:04 +07:00
parent 1cba573777
commit 0e863ecb7d
2 changed files with 39 additions and 0 deletions
+34
View File
@@ -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": "<developer-account-token>",
"GIT_AUTHOR_NAME": "<developer-username>",
"GIT_AUTHOR_EMAIL": "<developer-email>",
"GIT_COMMITTER_NAME": "<developer-username>",
"GIT_COMMITTER_EMAIL": "<developer-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": "<reviewer-account-token>",
"GIT_AUTHOR_NAME": "<reviewer-username>",
"GIT_AUTHOR_EMAIL": "<reviewer-email>",
"GIT_COMMITTER_NAME": "<reviewer-username>",
"GIT_COMMITTER_EMAIL": "<reviewer-email>"
}
}
}
}