aidocx-mcp-server 0.1.0 → 0.1.2
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 +78 -0
- package/package.json +22 -3
package/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# aidocx-mcp-server
|
|
2
|
+
|
|
3
|
+
MCP (Model Context Protocol) server for [AiDocX](https://aidocx.ai) — AI-powered contract & document management platform.
|
|
4
|
+
|
|
5
|
+
Create, upload, and manage contracts directly from AI assistants like Claude Desktop, Claude Code, and other MCP-compatible clients.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
### 1. Get API Keys
|
|
10
|
+
|
|
11
|
+
Sign up at [app.aidocx.ai](https://app.aidocx.ai) and go to **Settings → API Keys** to generate your credentials.
|
|
12
|
+
|
|
13
|
+
### 2. Configure Your AI Client
|
|
14
|
+
|
|
15
|
+
#### Claude Desktop
|
|
16
|
+
|
|
17
|
+
Add to your `claude_desktop_config.json`:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"mcpServers": {
|
|
22
|
+
"aidocx": {
|
|
23
|
+
"command": "npx",
|
|
24
|
+
"args": ["aidocx-mcp-server"],
|
|
25
|
+
"env": {
|
|
26
|
+
"AIDOCX_API_KEY": "ak_xxxxxxxx",
|
|
27
|
+
"AIDOCX_API_SECRET": "your_secret_here"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
#### Claude Code
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
claude mcp add aidocx -- npx aidocx-mcp-server
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Then set environment variables `AIDOCX_API_KEY` and `AIDOCX_API_SECRET`.
|
|
41
|
+
|
|
42
|
+
### 3. Start Using
|
|
43
|
+
|
|
44
|
+
Ask your AI assistant:
|
|
45
|
+
|
|
46
|
+
- "계약서 양식 만들어서 AiDocX에 올려줘" (Create a contract and upload to AiDocX)
|
|
47
|
+
- "NDA 계약서 작성해줘" (Draft an NDA)
|
|
48
|
+
- "내 문서 목록 보여줘" (Show my documents)
|
|
49
|
+
|
|
50
|
+
## Available Tools
|
|
51
|
+
|
|
52
|
+
| Tool | Description |
|
|
53
|
+
|------|-------------|
|
|
54
|
+
| `create_contract_from_html` | Create a contract from HTML content → auto-converted to PDF |
|
|
55
|
+
| `upload_contract` | Upload a PDF or Office file (DOC, DOCX, HWP, XLS, XLSX, PPT, PPTX) |
|
|
56
|
+
| `list_contracts` | List contracts in document management |
|
|
57
|
+
| `get_contract` | Get contract details |
|
|
58
|
+
| `list_folders` | List folders |
|
|
59
|
+
| `create_folder` | Create a new folder |
|
|
60
|
+
|
|
61
|
+
## Workflow
|
|
62
|
+
|
|
63
|
+
1. **AI generates a contract** → calls `create_contract_from_html` → PDF is created in AiDocX
|
|
64
|
+
2. **Open the signing workspace URL** returned by the tool
|
|
65
|
+
3. **Place signature fields** and send to signers in the AiDocX web app
|
|
66
|
+
|
|
67
|
+
## Environment Variables
|
|
68
|
+
|
|
69
|
+
| Variable | Description |
|
|
70
|
+
|----------|-------------|
|
|
71
|
+
| `AIDOCX_API_KEY` | API key (starts with `ak_`) |
|
|
72
|
+
| `AIDOCX_API_SECRET` | API secret (64-char hex) |
|
|
73
|
+
|
|
74
|
+
## Links
|
|
75
|
+
|
|
76
|
+
- [AiDocX Website](https://aidocx.ai)
|
|
77
|
+
- [AiDocX App](https://app.aidocx.ai)
|
|
78
|
+
- [MCP Protocol](https://modelcontextprotocol.io)
|
package/package.json
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aidocx-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "MCP server for AiDocX - Create, upload, and manage contracts from Claude Desktop and other AI assistants",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "AiDocX <contact@aidocx.ai> (https://aidocx.ai)",
|
|
8
|
+
"homepage": "https://github.com/aidocx/mcp-server#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/aidocx/mcp-server.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"model-context-protocol",
|
|
16
|
+
"aidocx",
|
|
17
|
+
"contract",
|
|
18
|
+
"e-signature",
|
|
19
|
+
"document-management",
|
|
20
|
+
"pdf",
|
|
21
|
+
"claude",
|
|
22
|
+
"ai-tools"
|
|
23
|
+
],
|
|
6
24
|
"bin": {
|
|
7
25
|
"aidocx-mcp": "./build/index.js"
|
|
8
26
|
},
|
|
@@ -12,7 +30,8 @@
|
|
|
12
30
|
"dev": "tsx src/index.ts"
|
|
13
31
|
},
|
|
14
32
|
"files": [
|
|
15
|
-
"build"
|
|
33
|
+
"build",
|
|
34
|
+
"README.md"
|
|
16
35
|
],
|
|
17
36
|
"dependencies": {
|
|
18
37
|
"@modelcontextprotocol/sdk": "^1.12.0",
|