@amonstack/gitea-mcp 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/README.zh-CN.md +10 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +13 -2
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ The server communicates over stdio and wraps the [Gitea REST API
|
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
|
-
### From npm
|
|
21
|
+
### From npm (npmjs.com)
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
npm install -g @amonstack/gitea-mcp
|
|
@@ -30,6 +30,16 @@ Or run directly without global install:
|
|
|
30
30
|
npx @amonstack/gitea-mcp
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
### From GitHub Packages
|
|
34
|
+
|
|
35
|
+
Each release is also published to GitHub Packages. Route the `@amonstack` scope there
|
|
36
|
+
once, then install:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
echo "@amonstack:registry=https://npm.pkg.github.com" >> ~/.npmrc
|
|
40
|
+
npm install -g @amonstack/gitea-mcp
|
|
41
|
+
```
|
|
42
|
+
|
|
33
43
|
### Build from source
|
|
34
44
|
|
|
35
45
|
```bash
|
package/README.zh-CN.md
CHANGED
|
@@ -17,7 +17,7 @@ opencode、Cursor 等)后,AI 助手即可通过自然语言在 Gitea 实例
|
|
|
17
17
|
|
|
18
18
|
## 安装
|
|
19
19
|
|
|
20
|
-
### 从 npm
|
|
20
|
+
### 从 npm(npmjs.com)安装
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
npm install -g @amonstack/gitea-mcp
|
|
@@ -29,6 +29,15 @@ npm install -g @amonstack/gitea-mcp
|
|
|
29
29
|
npx @amonstack/gitea-mcp
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
### 从 GitHub Packages 安装
|
|
33
|
+
|
|
34
|
+
每个版本也会发布到 GitHub Packages。先把 `@amonstack` 作用域指向它,再安装:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
echo "@amonstack:registry=https://npm.pkg.github.com" >> ~/.npmrc
|
|
38
|
+
npm install -g @amonstack/gitea-mcp
|
|
39
|
+
```
|
|
40
|
+
|
|
32
41
|
### 从源码构建
|
|
33
42
|
|
|
34
43
|
```bash
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createServer, runServer } from "./server.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amonstack/gitea-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "MCP server for managing Gitea issues via API",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/amonstack/gitea_mcp.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/amonstack/gitea_mcp#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/amonstack/gitea_mcp/issues"
|
|
12
|
+
},
|
|
5
13
|
"type": "module",
|
|
6
14
|
"main": "dist/index.js",
|
|
7
15
|
"bin": {
|
|
@@ -29,8 +37,11 @@
|
|
|
29
37
|
"gitea",
|
|
30
38
|
"issues"
|
|
31
39
|
],
|
|
32
|
-
"author": "",
|
|
40
|
+
"author": "amonstack",
|
|
33
41
|
"license": "MIT",
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=18"
|
|
44
|
+
},
|
|
34
45
|
"dependencies": {
|
|
35
46
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
36
47
|
"zod": "^4.4.3"
|