arch-ops-server 3.0.1__py3-none-any.whl → 3.2.0__py3-none-any.whl
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.
- arch_ops_server/__init__.py +3 -1
- arch_ops_server/server.py +495 -83
- arch_ops_server/system_health_check.py +189 -0
- arch_ops_server/tool_metadata.py +646 -0
- {arch_ops_server-3.0.1.dist-info → arch_ops_server-3.2.0.dist-info}/METADATA +33 -9
- {arch_ops_server-3.0.1.dist-info → arch_ops_server-3.2.0.dist-info}/RECORD +8 -6
- {arch_ops_server-3.0.1.dist-info → arch_ops_server-3.2.0.dist-info}/WHEEL +2 -2
- {arch_ops_server-3.0.1.dist-info → arch_ops_server-3.2.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: arch-ops-server
|
|
3
|
-
Version: 3.0
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: MCP server bridging AI assistants with Arch Linux ecosystem (Wiki, AUR, official repos)
|
|
5
5
|
Keywords: arch-linux,mcp,model-context-protocol,aur,pacman,wiki,ai-assistant
|
|
6
6
|
Author: Nihal
|
|
@@ -36,6 +36,8 @@ Description-Content-Type: text/markdown
|
|
|
36
36
|
|
|
37
37
|
# Arch Linux MCP Server
|
|
38
38
|
|
|
39
|
+
[](https://pepy.tech/projects/arch-ops-server)
|
|
40
|
+
|
|
39
41
|
<a href="https://glama.ai/mcp/servers/@nihalxkumar/arch-mcp">
|
|
40
42
|
<img width="380" height="200" src="https://glama.ai/mcp/servers/@nihalxkumar/arch-mcp/badge" />
|
|
41
43
|
</a>
|
|
@@ -50,17 +52,18 @@ Leverage AI to get output for digestible, structured results that are ready for
|
|
|
50
52
|
|
|
51
53
|
## Sneak Peak into what's available
|
|
52
54
|
|
|
53
|
-
<details
|
|
54
|
-
|
|
55
|
+
<details>
|
|
56
|
+
|
|
57
|
+
<summary>Using VS Code Sonnet 3.5 for Safe Installation from AUR</summary>
|
|
55
58
|
|
|
56
|
-

|
|
57
60
|
|
|
58
61
|
</details>
|
|
59
62
|
|
|
60
63
|
<details>
|
|
61
|
-
<summary>
|
|
64
|
+
<summary> Asking Claude Code Sonnet 4.5 for fedora equivalent command </summary>
|
|
62
65
|
|
|
63
|
-

|
|
64
67
|
|
|
65
68
|
</details>
|
|
66
69
|
|
|
@@ -69,11 +72,13 @@ Leverage AI to get output for digestible, structured results that are ready for
|
|
|
69
72
|
Direct access to Arch ecosystem data via custom URI schemes:
|
|
70
73
|
|
|
71
74
|
#### Documentation & Search
|
|
75
|
+
|
|
72
76
|
| URI Scheme | Example | Returns |
|
|
73
77
|
|------------|---------|---------|
|
|
74
78
|
| `archwiki://` | `archwiki://Installation_guide` | Markdown-formatted Wiki page |
|
|
75
79
|
|
|
76
80
|
#### Package Information
|
|
81
|
+
|
|
77
82
|
| URI Scheme | Example | Returns |
|
|
78
83
|
|------------|---------|---------|
|
|
79
84
|
| `archrepo://` | `archrepo://vim` | Official repository package details |
|
|
@@ -81,6 +86,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
81
86
|
| `aur://*/pkgbuild` | `aur://yay/pkgbuild` | Raw PKGBUILD with safety analysis |
|
|
82
87
|
|
|
83
88
|
#### System Packages (Arch only)
|
|
89
|
+
|
|
84
90
|
| URI Scheme | Example | Returns |
|
|
85
91
|
|------------|---------|---------|
|
|
86
92
|
| `pacman://installed` | `pacman://installed` | System installed packages list |
|
|
@@ -91,6 +97,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
91
97
|
| `pacman://database/freshness` | `pacman://database/freshness` | Package database sync status |
|
|
92
98
|
|
|
93
99
|
#### System Monitoring & Logs
|
|
100
|
+
|
|
94
101
|
| URI Scheme | Example | Returns |
|
|
95
102
|
|------------|---------|---------|
|
|
96
103
|
| `system://info` | `system://info` | System information (kernel, memory, uptime) |
|
|
@@ -101,6 +108,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
101
108
|
| `pacman://log/failed` | `pacman://log/failed` | Failed package transactions |
|
|
102
109
|
|
|
103
110
|
#### News & Updates
|
|
111
|
+
|
|
104
112
|
| URI Scheme | Example | Returns |
|
|
105
113
|
|------------|---------|---------|
|
|
106
114
|
| `archnews://latest` | `archnews://latest` | Latest Arch Linux news |
|
|
@@ -108,6 +116,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
108
116
|
| `archnews://since-update` | `archnews://since-update` | News since last system update |
|
|
109
117
|
|
|
110
118
|
#### Configuration
|
|
119
|
+
|
|
111
120
|
| URI Scheme | Example | Returns |
|
|
112
121
|
|------------|---------|---------|
|
|
113
122
|
| `config://pacman` | `config://pacman` | Parsed pacman.conf configuration |
|
|
@@ -118,6 +127,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
118
127
|
### Tools (Executable Functions)
|
|
119
128
|
|
|
120
129
|
#### Package Search & Information
|
|
130
|
+
|
|
121
131
|
| Tool | Description | Platform |
|
|
122
132
|
|------|-------------|----------|
|
|
123
133
|
| `search_archwiki` | Query Arch Wiki with ranked results | Any |
|
|
@@ -125,6 +135,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
125
135
|
| `get_official_package_info` | Get official package details (hybrid local/remote) | Any |
|
|
126
136
|
|
|
127
137
|
#### Package Lifecycle Management
|
|
138
|
+
|
|
128
139
|
| Tool | Description | Platform |
|
|
129
140
|
|------|-------------|----------|
|
|
130
141
|
| `check_updates_dry_run` | Check for available updates | Arch only |
|
|
@@ -133,6 +144,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
133
144
|
| `remove_packages_batch` | Remove multiple packages efficiently | Arch only |
|
|
134
145
|
|
|
135
146
|
#### Package Analysis & Maintenance
|
|
147
|
+
|
|
136
148
|
| Tool | Description | Platform |
|
|
137
149
|
|------|-------------|----------|
|
|
138
150
|
| `list_orphan_packages` | Find orphaned packages | Arch only |
|
|
@@ -143,6 +155,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
143
155
|
| `mark_as_dependency` | Allow package to be orphaned | Arch only |
|
|
144
156
|
|
|
145
157
|
#### Package Organization
|
|
158
|
+
|
|
146
159
|
| Tool | Description | Platform |
|
|
147
160
|
|------|-------------|----------|
|
|
148
161
|
| `find_package_owner` | Find which package owns a file | Arch only |
|
|
@@ -152,6 +165,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
152
165
|
| `list_group_packages` | Show packages in specific group | Arch only |
|
|
153
166
|
|
|
154
167
|
#### System Monitoring & Diagnostics
|
|
168
|
+
|
|
155
169
|
| Tool | Description | Platform |
|
|
156
170
|
|------|-------------|----------|
|
|
157
171
|
| `get_system_info` | System info (kernel, memory, uptime) | Any |
|
|
@@ -162,6 +176,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
162
176
|
| `check_database_freshness` | Check package database sync status | Arch only |
|
|
163
177
|
|
|
164
178
|
#### Transaction History & Logs
|
|
179
|
+
|
|
165
180
|
| Tool | Description | Platform |
|
|
166
181
|
|------|-------------|----------|
|
|
167
182
|
| `get_transaction_history` | Recent package transactions (install/upgrade/remove) | Arch only |
|
|
@@ -170,6 +185,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
170
185
|
| `get_database_sync_history` | Database sync events | Arch only |
|
|
171
186
|
|
|
172
187
|
#### News & Safety Checks
|
|
188
|
+
|
|
173
189
|
| Tool | Description | Platform |
|
|
174
190
|
|------|-------------|----------|
|
|
175
191
|
| `get_latest_news` | Fetch Arch Linux news from RSS | Any |
|
|
@@ -177,6 +193,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
177
193
|
| `get_news_since_last_update` | News posted since last system update | Arch only |
|
|
178
194
|
|
|
179
195
|
#### Mirror Management
|
|
196
|
+
|
|
180
197
|
| Tool | Description | Platform |
|
|
181
198
|
|------|-------------|----------|
|
|
182
199
|
| `list_active_mirrors` | Show configured mirrors | Arch only |
|
|
@@ -185,6 +202,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
185
202
|
| `check_mirrorlist_health` | Verify mirror configuration | Arch only |
|
|
186
203
|
|
|
187
204
|
#### Configuration Management
|
|
205
|
+
|
|
188
206
|
| Tool | Description | Platform |
|
|
189
207
|
|------|-------------|----------|
|
|
190
208
|
| `analyze_pacman_conf` | Parse pacman.conf settings | Arch only |
|
|
@@ -193,6 +211,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
193
211
|
| `get_parallel_downloads_setting` | Get parallel download config | Arch only |
|
|
194
212
|
|
|
195
213
|
#### Security Analysis
|
|
214
|
+
|
|
196
215
|
| Tool | Description | Platform |
|
|
197
216
|
|------|-------------|----------|
|
|
198
217
|
| `analyze_pkgbuild_safety` | Comprehensive PKGBUILD analysis (50+ red flags) | Any |
|
|
@@ -212,6 +231,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
212
231
|
## Installation
|
|
213
232
|
|
|
214
233
|
### Prerequisites
|
|
234
|
+
|
|
215
235
|
- Python 3.11+
|
|
216
236
|
- [uv](https://github.com/astral-sh/uv) (recommended) or pip
|
|
217
237
|
|
|
@@ -220,6 +240,7 @@ Direct access to Arch ecosystem data via custom URI schemes:
|
|
|
220
240
|
```bash
|
|
221
241
|
uvx arch-ops-server
|
|
222
242
|
```
|
|
243
|
+
|
|
223
244
|
---
|
|
224
245
|
|
|
225
246
|
## Configuration
|
|
@@ -247,7 +268,10 @@ Contributions are greatly appreciated. Please feel free to submit a pull request
|
|
|
247
268
|
|
|
248
269
|
This project is dual-licensed under your choice of:
|
|
249
270
|
|
|
250
|
-
- **[GPL-3.0-only](https://www.gnu.org/licenses/gpl-3.0.en.html)** - See [LICENSE-GPL](LICENSE-GPL)
|
|
251
|
-
- **[MIT License](https://opensource.org/licenses/MIT)** - See [LICENSE-MIT](LICENSE-MIT)
|
|
271
|
+
- **[GPL-3.0-only](https://www.gnu.org/licenses/gpl-3.0.en.html)** - For those who prefer strong copyleft protections. See [LICENSE-GPL](LICENSE-GPL)
|
|
272
|
+
- **[MIT License](https://opensource.org/licenses/MIT)** - For broader compatibility and adoption, including use in proprietary software and compatibility with platforms like Docker MCP Catalog. See [LICENSE-MIT](LICENSE-MIT)
|
|
273
|
+
|
|
274
|
+
You may use this software under the terms of either license. When redistributing or modifying this software, you may choose which license to apply.
|
|
275
|
+
|
|
276
|
+
By contributing to this project, you agree that your contributions will be licensed under both licenses.
|
|
252
277
|
|
|
253
|
-
You may use this software under the terms of either license. See [LICENSE](LICENSE) for more details.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
arch_ops_server/__init__.py,sha256=
|
|
1
|
+
arch_ops_server/__init__.py,sha256=CfKcpYarSMJxh64krmGD6yjCsqgtgefttjdxfAu4S88,4343
|
|
2
2
|
arch_ops_server/aur.py,sha256=poYbh2DW7I1tZfCeNp_7e10fh9ZZx8HTnYZnKKZtflQ,49808
|
|
3
3
|
arch_ops_server/config.py,sha256=4mtpS28vXSMeEVGrTWTMwZEzgIyfl0oCAYEzF7SKxE8,11076
|
|
4
4
|
arch_ops_server/http_server.py,sha256=wZ3hY6o6EftbN1OZiTUau7861LB9ihKWap6gevev_No,31810
|
|
@@ -7,11 +7,13 @@ arch_ops_server/mirrors.py,sha256=Evt-g20cMOTZQl9FbbkbklFd0gKWz-I7vVNrmyQO19U,13
|
|
|
7
7
|
arch_ops_server/news.py,sha256=E97eASR24tq_EaVDYuamIoBl4a7QtBkpscOaUPuU0W4,9359
|
|
8
8
|
arch_ops_server/pacman.py,sha256=S1Gc53CA6o4--YavA03EkxL0dGCZNhoFFZjawlW_p20,38354
|
|
9
9
|
arch_ops_server/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
arch_ops_server/server.py,sha256=
|
|
10
|
+
arch_ops_server/server.py,sha256=VFUBCbk8cm5YbyAAfeghkxMPwNX-RbRvkD5lN1_E_UI,88313
|
|
11
11
|
arch_ops_server/system.py,sha256=JfBUB3KD0veulQ-IIK8IOC8Jn6lqtLMCtlnryiL1n7w,9221
|
|
12
|
+
arch_ops_server/system_health_check.py,sha256=G_hgPaVz-6tQ_ZAoPEk7aX2rm4lIwbO0xdXcwdBDoaE,7196
|
|
13
|
+
arch_ops_server/tool_metadata.py,sha256=Z0ZhtS1bxo9T_erJlGx9Xf0fKk4oZ0L6UQ8gJu7WEcA,20468
|
|
12
14
|
arch_ops_server/utils.py,sha256=po7MVqCx-hsdx-lOgs7uGicjoUVMf6HvuNNYl2qyFH0,10112
|
|
13
15
|
arch_ops_server/wiki.py,sha256=XB_emMGXYF3Vn5likRICkGOa72YDZvOhtZBgp_d1gg8,7350
|
|
14
|
-
arch_ops_server-3.0.
|
|
15
|
-
arch_ops_server-3.0.
|
|
16
|
-
arch_ops_server-3.0.
|
|
17
|
-
arch_ops_server-3.0.
|
|
16
|
+
arch_ops_server-3.2.0.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
|
|
17
|
+
arch_ops_server-3.2.0.dist-info/entry_points.txt,sha256=ZS2crFEqE9TteC4j2HmYS1wKvoBOCCXT2FJXJW5C4-E,117
|
|
18
|
+
arch_ops_server-3.2.0.dist-info/METADATA,sha256=vvwpjNRHYK_FrH8b4mjcsdEjJHVprEzrDjpXHk3sk64,11356
|
|
19
|
+
arch_ops_server-3.2.0.dist-info/RECORD,,
|
|
File without changes
|