mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2025-08-23 22:33:05 +00:00
Update README.md
This commit is contained in:
28
README.md
28
README.md
@@ -4,26 +4,6 @@
|
|||||||
|
|
||||||
**MCP Server Config**
|
**MCP Server Config**
|
||||||
```json
|
```json
|
||||||
{
|
|
||||||
"mcpServers": {
|
|
||||||
"gitea": {
|
|
||||||
"command": "gitea-mcp",
|
|
||||||
"args": {
|
|
||||||
"-t": "stdio",
|
|
||||||
"--host": "https://gitea.com",
|
|
||||||
"--token": "<your personal access token>"
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"GITEA_HOST": "https://gitea.com",
|
|
||||||
"GITEA_ACCESS_TOKEN": "<your personal access token>"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- Cursor config
|
|
||||||
```json
|
|
||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"gitea": {
|
"gitea": {
|
||||||
@@ -32,8 +12,12 @@
|
|||||||
"-t": "stdio",
|
"-t": "stdio",
|
||||||
"--host": "https://gitea.com",
|
"--host": "https://gitea.com",
|
||||||
"--token": "<your personal access token>"
|
"--token": "<your personal access token>"
|
||||||
]
|
],
|
||||||
|
// "env": {
|
||||||
|
// "GITEA_HOST": "https://gitea.com",
|
||||||
|
// "GITEA_ACCESS_TOKEN": "<your personal access token>"
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user