knktx 0.1.0__tar.gz
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.
- knktx-0.1.0/.gitignore +41 -0
- knktx-0.1.0/PKG-INFO +7 -0
- knktx-0.1.0/README.md +150 -0
- knktx-0.1.0/knktx_mcp/__init__.py +1 -0
- knktx-0.1.0/knktx_mcp/cli.py +1043 -0
- knktx-0.1.0/knktx_mcp/client.py +853 -0
- knktx-0.1.0/knktx_mcp/enforcement.py +173 -0
- knktx-0.1.0/knktx_mcp/server.py +1389 -0
- knktx-0.1.0/pyproject.toml +25 -0
- knktx-0.1.0/tests/__init__.py +0 -0
- knktx-0.1.0/tests/test_cli.py +980 -0
- knktx-0.1.0/uv.lock +743 -0
knktx-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Environment
|
|
2
|
+
.env
|
|
3
|
+
.env.*
|
|
4
|
+
!.env.example
|
|
5
|
+
|
|
6
|
+
# Python
|
|
7
|
+
__pycache__/
|
|
8
|
+
*.py[cod]
|
|
9
|
+
*.egg-info/
|
|
10
|
+
dist/
|
|
11
|
+
build/
|
|
12
|
+
.venv/
|
|
13
|
+
|
|
14
|
+
# Node
|
|
15
|
+
node_modules/
|
|
16
|
+
web/dist/
|
|
17
|
+
|
|
18
|
+
# Docker
|
|
19
|
+
postgres_data/
|
|
20
|
+
|
|
21
|
+
# Backups
|
|
22
|
+
backups/
|
|
23
|
+
.env.backup
|
|
24
|
+
!.env.backup.example
|
|
25
|
+
|
|
26
|
+
# IDE
|
|
27
|
+
.vscode/
|
|
28
|
+
.idea/
|
|
29
|
+
*.swp
|
|
30
|
+
*.swo
|
|
31
|
+
.DS_Store
|
|
32
|
+
|
|
33
|
+
# Reviews (generated by PR review agents)
|
|
34
|
+
docs/reviews/
|
|
35
|
+
|
|
36
|
+
# Playground files
|
|
37
|
+
*-playground.html
|
|
38
|
+
*-explorer.html
|
|
39
|
+
|
|
40
|
+
# uv
|
|
41
|
+
.python-version
|
knktx-0.1.0/PKG-INFO
ADDED
knktx-0.1.0/README.md
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# knktx-mcp
|
|
2
|
+
|
|
3
|
+
MCP server for [knktx](https://github.com/StanK23/knktx) — AI agent project management.
|
|
4
|
+
|
|
5
|
+
Provides project, board, card, document, memory, skill, and config management tools via the Model Context Protocol.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install .
|
|
11
|
+
# or with uv:
|
|
12
|
+
uv pip install .
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Configuration
|
|
16
|
+
|
|
17
|
+
Set these environment variables:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
export KNKTX_API_URL="https://your-instance.com/api/v1"
|
|
21
|
+
export KNKTX_API_KEY="your-api-key"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Generate an API key from the knktx Settings page.
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
### With Claude Code
|
|
29
|
+
|
|
30
|
+
Add to your `~/.claude/settings.json`:
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"mcpServers": {
|
|
35
|
+
"knktx": {
|
|
36
|
+
"command": "knktx-mcp",
|
|
37
|
+
"env": {
|
|
38
|
+
"KNKTX_API_URL": "https://your-instance.com/api/v1",
|
|
39
|
+
"KNKTX_API_KEY": "your-api-key"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Standalone
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
knktx-mcp
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
The server uses stdio transport by default.
|
|
53
|
+
|
|
54
|
+
## Available Tools
|
|
55
|
+
|
|
56
|
+
### Projects
|
|
57
|
+
| Tool | Description |
|
|
58
|
+
|------|-------------|
|
|
59
|
+
| `list_projects` | List all projects |
|
|
60
|
+
| `create_project` | Create a new project |
|
|
61
|
+
| `get_project` | Get project details |
|
|
62
|
+
| `update_project` | Update project fields |
|
|
63
|
+
| `archive_project` | Archive a project |
|
|
64
|
+
| `restore_project` | Restore archived project |
|
|
65
|
+
| `delete_project` | Delete a project |
|
|
66
|
+
|
|
67
|
+
### Boards & Cards
|
|
68
|
+
| Tool | Description |
|
|
69
|
+
|------|-------------|
|
|
70
|
+
| `list_boards` | List boards in a project |
|
|
71
|
+
| `create_board` | Create a plan board |
|
|
72
|
+
| `get_board` | Get board with cards |
|
|
73
|
+
| `update_board` | Update board fields |
|
|
74
|
+
| `delete_board` | Delete a board |
|
|
75
|
+
| `list_cards` | List cards on a board |
|
|
76
|
+
| `get_card` | Get card details |
|
|
77
|
+
| `create_card` | Create a task card |
|
|
78
|
+
| `update_card` | Update card details |
|
|
79
|
+
| `move_card` | Transition card status |
|
|
80
|
+
| `reorder_card` | Reorder card position |
|
|
81
|
+
| `delete_card` | Delete a card |
|
|
82
|
+
| `comment_on_card` | Add comment to card |
|
|
83
|
+
| `list_comments` | List card comments |
|
|
84
|
+
| `update_comment` | Edit a comment |
|
|
85
|
+
| `delete_comment` | Delete a comment |
|
|
86
|
+
|
|
87
|
+
### Documents
|
|
88
|
+
| Tool | Description |
|
|
89
|
+
|------|-------------|
|
|
90
|
+
| `list_documents` | List documents in a project |
|
|
91
|
+
| `get_document` | Read document by type |
|
|
92
|
+
| `get_document_by_id` | Read document by ID |
|
|
93
|
+
| `create_document` | Create a document |
|
|
94
|
+
| `update_document` | Update document content |
|
|
95
|
+
| `delete_document` | Delete a document |
|
|
96
|
+
|
|
97
|
+
### Notes
|
|
98
|
+
| Tool | Description |
|
|
99
|
+
|------|-------------|
|
|
100
|
+
| `list_notes` | List notes with optional status filter |
|
|
101
|
+
| `search_notes` | Search notes by keyword |
|
|
102
|
+
| `write_note` | Create or update a note |
|
|
103
|
+
| `delete_note` | Delete a note |
|
|
104
|
+
|
|
105
|
+
### Skills & Plugins
|
|
106
|
+
| Tool | Description |
|
|
107
|
+
|------|-------------|
|
|
108
|
+
| `list_skills` | List available skills |
|
|
109
|
+
| `get_skill` | Get skill content |
|
|
110
|
+
| `create_skill` | Create a skill |
|
|
111
|
+
| `update_skill` | Update a skill |
|
|
112
|
+
| `delete_skill` | Delete a skill |
|
|
113
|
+
| `list_plugins` | List agent plugins |
|
|
114
|
+
| `get_plugin` | Get plugin details |
|
|
115
|
+
| `create_plugin` | Create a plugin |
|
|
116
|
+
| `update_plugin` | Update a plugin |
|
|
117
|
+
| `delete_plugin` | Delete a plugin |
|
|
118
|
+
|
|
119
|
+
### MCP Configs
|
|
120
|
+
| Tool | Description |
|
|
121
|
+
|------|-------------|
|
|
122
|
+
| `list_mcp_configs` | List MCP server configs |
|
|
123
|
+
| `get_mcp_config` | Get MCP server config |
|
|
124
|
+
| `create_mcp_config` | Create MCP config |
|
|
125
|
+
| `update_mcp_config` | Update MCP config |
|
|
126
|
+
| `delete_mcp_config` | Delete MCP config |
|
|
127
|
+
|
|
128
|
+
### Rules & Workflows
|
|
129
|
+
| Tool | Description |
|
|
130
|
+
|------|-------------|
|
|
131
|
+
| `get_workflows` | Get rules + workflows (bootstrap) |
|
|
132
|
+
| `list_workflows` | List workflow definitions |
|
|
133
|
+
| `get_workflow` | Get workflow details |
|
|
134
|
+
| `create_workflow` | Create a workflow |
|
|
135
|
+
| `update_workflow` | Update a workflow |
|
|
136
|
+
| `delete_workflow` | Delete a workflow |
|
|
137
|
+
| `duplicate_workflow` | Duplicate a workflow |
|
|
138
|
+
| `list_rules` | List rules |
|
|
139
|
+
| `get_rule` | Get rule details |
|
|
140
|
+
| `create_rule` | Create a rule |
|
|
141
|
+
| `update_rule` | Update a rule |
|
|
142
|
+
| `delete_rule` | Delete a rule |
|
|
143
|
+
| `check_obligations` | Check pending obligations |
|
|
144
|
+
| `start_workflow` | Start a workflow |
|
|
145
|
+
| `get_current_step` | Get current workflow step |
|
|
146
|
+
|
|
147
|
+
### Activity
|
|
148
|
+
| Tool | Description |
|
|
149
|
+
|------|-------------|
|
|
150
|
+
| `get_activity` | Get project activity log |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""knktx MCP server — pip-installable MCP server for AI agents."""
|