@de-otio/epimethian-mcp 2.0.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/LICENSE +21 -0
- package/README.md +80 -0
- package/dist/cli/index.js +21968 -0
- package/dist/cli/index.js.map +7 -0
- package/package.json +49 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 rmyers
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Epimethian MCP
|
|
2
|
+
|
|
3
|
+
Confluence Cloud tools for AI assistants via the [Model Context Protocol](https://modelcontextprotocol.io/) (MCP). (not associated with or endorsed by Atlassian)
|
|
4
|
+
|
|
5
|
+
> **Note:** For most Confluence use cases, the official [Atlassian Rovo MCP server](https://github.com/atlassian/mcp-server-atlassian) may be sufficient. Use Epimethian if you need draw.io diagram support, OS keychain credential storage, or attribution tracking on managed pages.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
Tell your AI agent:
|
|
10
|
+
|
|
11
|
+
> Install and configure the Epimethian MCP server. See https://github.com/de-otio/epimethian-mcp
|
|
12
|
+
|
|
13
|
+
Or install manually:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @de-otio/epimethian-mcp
|
|
17
|
+
epimethian-mcp setup
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The `setup` command prompts for your Confluence URL, email, and API token (masked input), tests the connection, and stores credentials securely in your OS keychain.
|
|
21
|
+
|
|
22
|
+
## MCP Configuration
|
|
23
|
+
|
|
24
|
+
Add to your `.mcp.json` (or equivalent MCP client config):
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"mcpServers": {
|
|
29
|
+
"confluence": {
|
|
30
|
+
"command": "epimethian-mcp",
|
|
31
|
+
"env": {
|
|
32
|
+
"CONFLUENCE_URL": "https://yoursite.atlassian.net",
|
|
33
|
+
"CONFLUENCE_EMAIL": "user@example.com"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The API token is read from the OS keychain at startup. **Do not put it in config files.**
|
|
41
|
+
|
|
42
|
+
For IDE-hosted agents, use the absolute path from `which epimethian-mcp` as the `command` value.
|
|
43
|
+
|
|
44
|
+
## Tools
|
|
45
|
+
|
|
46
|
+
| Tool | Description |
|
|
47
|
+
| -------------------- | -------------------------- |
|
|
48
|
+
| `create_page` | Create a new page |
|
|
49
|
+
| `get_page` | Read a page by ID |
|
|
50
|
+
| `get_page_by_title` | Look up a page by title |
|
|
51
|
+
| `update_page` | Update an existing page |
|
|
52
|
+
| `delete_page` | Delete a page |
|
|
53
|
+
| `list_pages` | List pages in a space |
|
|
54
|
+
| `get_page_children` | Get child pages |
|
|
55
|
+
| `search_pages` | Search via CQL |
|
|
56
|
+
| `get_spaces` | List available spaces |
|
|
57
|
+
| `add_attachment` | Upload a file attachment |
|
|
58
|
+
| `get_attachments` | List attachments on a page |
|
|
59
|
+
| `add_drawio_diagram` | Add a draw.io diagram |
|
|
60
|
+
|
|
61
|
+
## Credential Security
|
|
62
|
+
|
|
63
|
+
- API tokens are stored in the OS keychain (macOS Keychain / Linux libsecret)
|
|
64
|
+
- Tokens are never written to disk in plaintext
|
|
65
|
+
- The `setup` command uses masked input so tokens don't appear in terminal scrollback
|
|
66
|
+
- For CI/headless environments, set `CONFLUENCE_API_TOKEN` as an environment variable injected by your secret manager
|
|
67
|
+
|
|
68
|
+
## Development
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
git clone https://github.com/de-otio/epimethian-mcp.git
|
|
72
|
+
cd epimethian-mcp
|
|
73
|
+
npm install
|
|
74
|
+
npm run build
|
|
75
|
+
npm test
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## License
|
|
79
|
+
|
|
80
|
+
[MIT](LICENSE)
|