komplian 0.4.7 → 0.4.8
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/komplian-mcp-tools.mjs +28 -15
- package/package.json +1 -1
package/komplian-mcp-tools.mjs
CHANGED
|
@@ -38,6 +38,15 @@ const KOMPLIAN_MCP_PRESET = {
|
|
|
38
38
|
GITHUB_PERSONAL_ACCESS_TOKEN: "",
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
|
+
"KOMPLIAN-atlassian": {
|
|
42
|
+
command: "npx",
|
|
43
|
+
args: ["-y", "mcp-atlassian"],
|
|
44
|
+
env: {
|
|
45
|
+
ATLASSIAN_BASE_URL: "https://komplian.atlassian.net",
|
|
46
|
+
ATLASSIAN_EMAIL: "",
|
|
47
|
+
ATLASSIAN_API_TOKEN: "",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
41
50
|
"KOMPLIAN-sentry": {
|
|
42
51
|
command: "npx",
|
|
43
52
|
args: ["-y", "@sentry/mcp-server@latest"],
|
|
@@ -50,6 +59,11 @@ const KOMPLIAN_MCP_PRESET = {
|
|
|
50
59
|
STRIPE_SECRET_KEY: "",
|
|
51
60
|
},
|
|
52
61
|
},
|
|
62
|
+
"KOMPLIAN-chrome-devtools": {
|
|
63
|
+
command: "npx",
|
|
64
|
+
args: ["-y", "chrome-devtools-mcp@latest"],
|
|
65
|
+
env: {},
|
|
66
|
+
},
|
|
53
67
|
},
|
|
54
68
|
};
|
|
55
69
|
|
|
@@ -59,28 +73,27 @@ Este archivo lo genera \`npx komplian mcp-tools\`. **No commitees** tokens; \`.c
|
|
|
59
73
|
|
|
60
74
|
## 1. Servidores en \`.cursor/mcp.json\` (stdio / npx)
|
|
61
75
|
|
|
62
|
-
|
|
63
|
-
|----|--------|---------|
|
|
64
|
-
| **KOMPLIAN-github** | GitHub API (issues, PRs) | \`GITHUB_PERSONAL_ACCESS_TOKEN\` en el bloque \`env\` del servidor (PAT con scopes repo/workflow según necesidad). El paquete npm está deprecado a favor del servidor oficial; si falla, sustituye por la config que indique [github/github-mcp-server](https://github.com/github/github-mcp-server). |
|
|
65
|
-
| **KOMPLIAN-sentry** | Sentry (issues, trazas) | Primera vez: login por navegador (device code). **Komplian:** \`organizationSlug\` = \`komplian\`, \`regionUrl\` = \`https://de.sentry.io\`. Proyectos: \`komplian-api\`, \`komplian-app\`. |
|
|
66
|
-
| **KOMPLIAN-stripe** | Stripe API | \`STRIPE_SECRET_KEY\` en \`env\` (mejor **Restricted key** / test en dev). Modo test vs live según [docs Stripe MCP](https://docs.stripe.com/mcp). |
|
|
76
|
+
Activa cada fila en **Cursor → Settings → MCP** (interruptor). Rellena \`env\` según la tabla.
|
|
67
77
|
|
|
68
|
-
|
|
78
|
+
| ID | Paquete | Qué es | Rellena / notas |
|
|
79
|
+
|----|---------|--------|-----------------|
|
|
80
|
+
| **KOMPLIAN-github** | \`@modelcontextprotocol/server-github\` | GitHub API | \`GITHUB_PERSONAL_ACCESS_TOKEN\` (PAT). El paquete npm está deprecado; alternativa: [github/github-mcp-server](https://github.com/github/github-mcp-server). |
|
|
81
|
+
| **KOMPLIAN-atlassian** | \`mcp-atlassian\` | Jira + Confluence (Cloud) | \`ATLASSIAN_EMAIL\` + \`ATLASSIAN_API_TOKEN\` ([crear token](https://id.atlassian.com/manage-profile/security/api-tokens)). \`ATLASSIAN_BASE_URL\` ya apunta a \`https://komplian.atlassian.net\`. Jira proyecto **KAPP**. |
|
|
82
|
+
| **KOMPLIAN-sentry** | \`@sentry/mcp-server\` | Sentry | Primera vez: login en navegador. **Komplian:** org \`komplian\`, \`regionUrl\` \`https://de.sentry.io\`, proyectos \`komplian-api\` / \`komplian-app\`. |
|
|
83
|
+
| **KOMPLIAN-stripe** | \`@stripe/mcp\` | Stripe API | \`STRIPE_SECRET_KEY\` (restricted key / test en dev). [Docs Stripe MCP](https://docs.stripe.com/mcp). |
|
|
84
|
+
| **KOMPLIAN-chrome-devtools** | \`chrome-devtools-mcp\` | Chrome (red, consola, screenshots) | Requiere **Node 20.19+** y Chrome estable. Ver [Chrome DevTools MCP](https://developer.chrome.com/blog/chrome-devtools-mcp). |
|
|
69
85
|
|
|
70
|
-
|
|
86
|
+
## 2. Opcional: integraciones nativas de Cursor
|
|
71
87
|
|
|
72
|
-
|
|
73
|
-
|-------------|-----------------|
|
|
74
|
-
| **Atlassian** (Jira + Confluence) | Site \`komplian.atlassian.net\`, proyecto Jira **KAPP**. Plugin \`plugin-atlassian-atlassian\` / \`user-mcp-atlassian\`. |
|
|
75
|
-
| **Chrome DevTools** | Depuración del navegador (\`user-chrome-devtools\`). |
|
|
88
|
+
Si además quieres los conectores de Cursor (OAuth / UI): **Settings → MCP** y busca **Atlassian**, **Sentry**, **Stripe**, **Chrome DevTools** — pueden coexistir con las entradas **KOMPLIAN-***; evita duplicar la misma acción en dos servidores.
|
|
76
89
|
|
|
77
90
|
## 3. Reinicio
|
|
78
91
|
|
|
79
|
-
Tras editar \`mcp.json\`, **reinicia Cursor**
|
|
92
|
+
Tras editar \`mcp.json\`, **reinicia Cursor** para cargar MCP.
|
|
80
93
|
|
|
81
94
|
## 4. Referencia interna
|
|
82
95
|
|
|
83
|
-
|
|
96
|
+
\`.cursor/rules/mcp-integrations.mdc\` (org Sentry, Stripe, KAPP).
|
|
84
97
|
`;
|
|
85
98
|
|
|
86
99
|
function findWorkspaceRoot(start) {
|
|
@@ -143,8 +156,8 @@ function parseMcpArgs(argv) {
|
|
|
143
156
|
function usageMcpTools() {
|
|
144
157
|
log(`Uso: npx komplian mcp-tools [opciones] [carpeta-monorepo]`);
|
|
145
158
|
log(``);
|
|
146
|
-
log(` Añade servidores MCP KOMPLIAN-* en .cursor/mcp.json (GitHub, Sentry, Stripe)
|
|
147
|
-
log(` y genera .cursor/KOMPLIAN_MCP_SETUP.md
|
|
159
|
+
log(` Añade servidores MCP KOMPLIAN-* en .cursor/mcp.json (GitHub, Atlassian, Sentry, Stripe, Chrome).`);
|
|
160
|
+
log(` y genera .cursor/KOMPLIAN_MCP_SETUP.md.`);
|
|
148
161
|
log(``);
|
|
149
162
|
log(` ${c.dim}Secretos: vacíos en JSON; no se publican en el paquete npm komplian.${c.reset}`);
|
|
150
163
|
log(``);
|
package/package.json
CHANGED