@chenyingxian/zentao-mcp 0.1.0 → 0.1.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/CONFIG.md CHANGED
@@ -33,8 +33,8 @@ ZENTAO_TIMEOUT_MS=15000
33
33
  {
34
34
  "mcpServers": {
35
35
  "zentao": {
36
- "command": "npx",
37
- "args": ["zentao-mcp"],
36
+ "command": "npx",
37
+ "args": ["@chenyingxian/zentao-mcp"],
38
38
  "env": {
39
39
  "ZENTAO_BASE_URL": "https://zentao.example.com",
40
40
  "ZENTAO_ACCOUNT": "your-account",
package/CONFIG.zh-CN.md CHANGED
@@ -33,8 +33,8 @@ ZENTAO_TIMEOUT_MS=15000
33
33
  {
34
34
  "mcpServers": {
35
35
  "zentao": {
36
- "command": "npx",
37
- "args": ["zentao-mcp"],
36
+ "command": "npx",
37
+ "args": ["@chenyingxian/zentao-mcp"],
38
38
  "env": {
39
39
  "ZENTAO_BASE_URL": "https://zentao.example.com",
40
40
  "ZENTAO_ACCOUNT": "your-account",
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # zentao-mcp
1
+ # @chenyingxian/zentao-mcp
2
2
 
3
3
  ZenTao MCP server for RESTful API v1 and legacy JSON routes.
4
4
 
@@ -12,15 +12,15 @@ This package is intended for self-hosted ZenTao installations where the v1 API i
12
12
 
13
13
  ## Installation
14
14
 
15
- ```bash
16
- npm install -g zentao-mcp
17
- ```
18
-
19
- You can also run it without a global install:
20
-
21
- ```bash
22
- npx zentao-mcp
23
- ```
15
+ ```bash
16
+ npm install -g @chenyingxian/zentao-mcp
17
+ ```
18
+
19
+ You can also run it without a global install:
20
+
21
+ ```bash
22
+ npx @chenyingxian/zentao-mcp
23
+ ```
24
24
 
25
25
  ## Configuration
26
26
 
@@ -51,8 +51,8 @@ ZENTAO_TIMEOUT_MS=15000
51
51
  {
52
52
  "mcpServers": {
53
53
  "zentao": {
54
- "command": "npx",
55
- "args": ["zentao-mcp"],
54
+ "command": "npx",
55
+ "args": ["@chenyingxian/zentao-mcp"],
56
56
  "env": {
57
57
  "ZENTAO_BASE_URL": "https://zentao.example.com",
58
58
  "ZENTAO_ACCOUNT": "your-account",
package/README.zh-CN.md CHANGED
@@ -1,4 +1,4 @@
1
- # zentao-mcp
1
+ # @chenyingxian/zentao-mcp
2
2
 
3
3
  禅道 MCP Server,面向禅道 RESTful API v1 和部分旧版 JSON / 表单路由。
4
4
 
@@ -6,15 +6,15 @@
6
6
 
7
7
  ## 安装
8
8
 
9
- ```bash
10
- npm install -g zentao-mcp
11
- ```
9
+ ```bash
10
+ npm install -g @chenyingxian/zentao-mcp
11
+ ```
12
12
 
13
13
  也可以不全局安装,直接通过 `npx` 运行:
14
14
 
15
- ```bash
16
- npx zentao-mcp
17
- ```
15
+ ```bash
16
+ npx @chenyingxian/zentao-mcp
17
+ ```
18
18
 
19
19
  ## 文档
20
20
 
@@ -45,8 +45,8 @@ ZENTAO_TOKEN=your-token
45
45
  {
46
46
  "mcpServers": {
47
47
  "zentao": {
48
- "command": "npx",
49
- "args": ["zentao-mcp"],
48
+ "command": "npx",
49
+ "args": ["@chenyingxian/zentao-mcp"],
50
50
  "env": {
51
51
  "ZENTAO_BASE_URL": "https://zentao.example.com",
52
52
  "ZENTAO_ACCOUNT": "your-account",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chenyingxian/zentao-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MCP server for ZenTao RESTful API v1 and legacy JSON routes.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "engines": {
26
26
  "node": ">=18"
27
27
  },
28
- "files": [
28
+ "files": [
29
29
  "src",
30
30
  "scripts",
31
31
  "README.md",
@@ -34,7 +34,10 @@
34
34
  "CONFIG.zh-CN.md",
35
35
  "MCP_TOOLS.md",
36
36
  "MCP_TOOLS.zh-CN.md",
37
- ".env.example"
38
- ],
39
- "license": "MIT"
40
- }
37
+ ".env.example"
38
+ ],
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "license": "MIT"
43
+ }
package/src/index.js CHANGED
@@ -4,10 +4,10 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
4
4
  import { z } from "zod";
5
5
  import { createClientFromEnv } from "./zentao-client.js";
6
6
 
7
- const server = new McpServer({
8
- name: "zentao-mcp",
9
- version: "0.1.0"
10
- });
7
+ const server = new McpServer({
8
+ name: "zentao-mcp",
9
+ version: "0.1.1"
10
+ });
11
11
 
12
12
  server.tool(
13
13
  "zentao_get_my_tasks",