@softspark/confluence-mcp 1.12.0 → 1.13.0
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 +26 -2
- package/dist/cli.js +40 -38
- package/dist/index.d.ts +62 -1
- package/dist/index.js +41 -39
- package/package.json +4 -3
- package/templates-system/pages/decision-record.md +30 -0
- package/templates-system/pages/incident-review.md +45 -0
- package/templates-system/pages/runbook.md +40 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softspark/confluence-mcp",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "MCP server for Confluence Cloud
|
|
3
|
+
"version": "1.13.0",
|
|
4
|
+
"description": "MCP server for Confluence Cloud \u2014 pages, blog posts, comments, labels, attachments, restrictions and whiteboards via the Model Context Protocol.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
7
7
|
"model-context-protocol",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"files": [
|
|
42
42
|
"dist/*.js",
|
|
43
43
|
"dist/*.d.ts",
|
|
44
|
+
"templates-system/**/*.md",
|
|
44
45
|
"README.md",
|
|
45
46
|
"CHANGELOG.md",
|
|
46
47
|
"LICENSE",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"engines": {
|
|
50
51
|
"node": ">=18.0.0"
|
|
51
52
|
},
|
|
52
|
-
"scripts_comments": "No postinstall/preinstall scripts by design
|
|
53
|
+
"scripts_comments": "No postinstall/preinstall scripts by design \u2014 supply chain safety",
|
|
53
54
|
"installConfig": {
|
|
54
55
|
"ignore-scripts": true
|
|
55
56
|
},
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"id": "decision-record",
|
|
4
|
+
"name": "Decision Record (storage)",
|
|
5
|
+
"description": "Architecture decision record using Confluence info and status macros. For spaces configured with format=storage.",
|
|
6
|
+
"format": "storage",
|
|
7
|
+
"title": "ADR-{{number}}: {{title}}",
|
|
8
|
+
"labels": ["adr", "decision"],
|
|
9
|
+
"variables": [
|
|
10
|
+
{ "name": "number", "description": "ADR number", "required": true, "example": "042" },
|
|
11
|
+
{ "name": "title", "description": "The decision, as a short statement", "required": true, "example": "Split the MCP servers per product" },
|
|
12
|
+
{ "name": "status", "description": "Accepted, Superseded or Proposed", "required": false, "default": "Accepted" },
|
|
13
|
+
{ "name": "context", "description": "The forces at play", "required": true },
|
|
14
|
+
{ "name": "decision", "description": "What was decided", "required": true },
|
|
15
|
+
{ "name": "consequences", "description": "What this costs and enables", "required": true },
|
|
16
|
+
{ "name": "alternatives", "description": "What was rejected and why", "required": false }
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
---
|
|
20
|
+
<ac:structured-macro ac:name="status"><ac:parameter ac:name="title">{{status}}</ac:parameter></ac:structured-macro>
|
|
21
|
+
<h2>Context</h2>
|
|
22
|
+
<p>{{context}}</p>
|
|
23
|
+
<h2>Decision</h2>
|
|
24
|
+
<ac:structured-macro ac:name="info"><ac:rich-text-body><p>{{decision}}</p></ac:rich-text-body></ac:structured-macro>
|
|
25
|
+
<h2>Consequences</h2>
|
|
26
|
+
<p>{{consequences}}</p>
|
|
27
|
+
{{#alternatives}}
|
|
28
|
+
<h2>Alternatives considered</h2>
|
|
29
|
+
<p>{{alternatives}}</p>
|
|
30
|
+
{{/alternatives}}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"id": "incident-review",
|
|
4
|
+
"name": "Post-Incident Review",
|
|
5
|
+
"description": "Blameless post-incident review: timeline, impact, root cause, actions",
|
|
6
|
+
"format": "markdown",
|
|
7
|
+
"title": "Post-incident review: {{title}} ({{date}})",
|
|
8
|
+
"labels": ["incident", "post-mortem"],
|
|
9
|
+
"variables": [
|
|
10
|
+
{ "name": "title", "description": "Short incident name", "required": true, "example": "Traefik 502s on prod" },
|
|
11
|
+
{ "name": "date", "description": "Incident date, YYYY-MM-DD", "required": true, "example": "2026-09-09" },
|
|
12
|
+
{ "name": "severity", "description": "Severity", "required": false, "default": "P2" },
|
|
13
|
+
{ "name": "impact", "description": "Who was affected and how", "required": true },
|
|
14
|
+
{ "name": "timeline", "description": "What happened, with timestamps", "required": true },
|
|
15
|
+
{ "name": "root_cause", "description": "What actually caused it", "required": true },
|
|
16
|
+
{ "name": "actions", "description": "Follow-up actions with owners", "required": true },
|
|
17
|
+
{ "name": "went_well", "description": "What worked during the response", "required": false }
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
---
|
|
21
|
+
**Severity:** {{severity}} | **Date:** {{date}}
|
|
22
|
+
|
|
23
|
+
## Impact
|
|
24
|
+
|
|
25
|
+
{{impact}}
|
|
26
|
+
|
|
27
|
+
## Timeline
|
|
28
|
+
|
|
29
|
+
{{timeline}}
|
|
30
|
+
|
|
31
|
+
## Root cause
|
|
32
|
+
|
|
33
|
+
{{root_cause}}
|
|
34
|
+
|
|
35
|
+
{{#went_well}}
|
|
36
|
+
## What went well
|
|
37
|
+
|
|
38
|
+
{{went_well}}
|
|
39
|
+
{{/went_well}}
|
|
40
|
+
|
|
41
|
+
## Follow-up actions
|
|
42
|
+
|
|
43
|
+
{{actions}}
|
|
44
|
+
|
|
45
|
+
This review is blameless. It records what the system allowed to happen, not who typed what.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
{
|
|
3
|
+
"id": "runbook",
|
|
4
|
+
"name": "Runbook",
|
|
5
|
+
"description": "Operational runbook: when to use it, prerequisites, steps, verification, rollback",
|
|
6
|
+
"format": "markdown",
|
|
7
|
+
"title": "{{system}} runbook: {{procedure}}",
|
|
8
|
+
"labels": ["runbook"],
|
|
9
|
+
"variables": [
|
|
10
|
+
{ "name": "system", "description": "System or service the runbook covers", "required": true, "example": "GitLab" },
|
|
11
|
+
{ "name": "procedure", "description": "What the runbook does", "required": true, "example": "token renewal" },
|
|
12
|
+
{ "name": "when", "description": "When to run this", "required": true, "example": "The CI token expires every 90 days." },
|
|
13
|
+
{ "name": "prerequisites", "description": "Access and tools needed", "required": false, "default": "None." },
|
|
14
|
+
{ "name": "steps", "description": "The procedure, as numbered steps", "required": true },
|
|
15
|
+
{ "name": "verification", "description": "How to confirm it worked", "required": true },
|
|
16
|
+
{ "name": "rollback", "description": "How to undo it", "required": false }
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
---
|
|
20
|
+
## When to use this
|
|
21
|
+
|
|
22
|
+
{{when}}
|
|
23
|
+
|
|
24
|
+
## Prerequisites
|
|
25
|
+
|
|
26
|
+
{{prerequisites}}
|
|
27
|
+
|
|
28
|
+
## Procedure
|
|
29
|
+
|
|
30
|
+
{{steps}}
|
|
31
|
+
|
|
32
|
+
## Verification
|
|
33
|
+
|
|
34
|
+
{{verification}}
|
|
35
|
+
|
|
36
|
+
{{#rollback}}
|
|
37
|
+
## Rollback
|
|
38
|
+
|
|
39
|
+
{{rollback}}
|
|
40
|
+
{{/rollback}}
|