agenticwerx-mcp-client 1.0.1__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.
- agenticwerx_mcp_client-1.0.1/.gitignore +205 -0
- agenticwerx_mcp_client-1.0.1/LICENSE +21 -0
- agenticwerx_mcp_client-1.0.1/PKG-INFO +265 -0
- agenticwerx_mcp_client-1.0.1/README.md +219 -0
- agenticwerx_mcp_client-1.0.1/pyproject.toml +112 -0
- agenticwerx_mcp_client-1.0.1/src/agenticwerx_mcp_client/__init__.py +15 -0
- agenticwerx_mcp_client-1.0.1/src/agenticwerx_mcp_client/__main__.py +129 -0
- agenticwerx_mcp_client-1.0.1/src/agenticwerx_mcp_client/api.py +250 -0
- agenticwerx_mcp_client-1.0.1/src/agenticwerx_mcp_client/client.py +238 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# poetry
|
|
98
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
99
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
100
|
+
# commonly ignored for libraries.
|
|
101
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
102
|
+
#poetry.lock
|
|
103
|
+
|
|
104
|
+
# pdm
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
106
|
+
#pdm.lock
|
|
107
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
108
|
+
# in version control.
|
|
109
|
+
# https://pdm.fming.dev/#use-with-ide
|
|
110
|
+
.pdm.toml
|
|
111
|
+
|
|
112
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
113
|
+
__pypackages__/
|
|
114
|
+
|
|
115
|
+
# Celery stuff
|
|
116
|
+
celerybeat-schedule
|
|
117
|
+
celerybeat.pid
|
|
118
|
+
|
|
119
|
+
# SageMath parsed files
|
|
120
|
+
*.sage.py
|
|
121
|
+
|
|
122
|
+
# Environments
|
|
123
|
+
.env
|
|
124
|
+
.venv
|
|
125
|
+
env/
|
|
126
|
+
venv/
|
|
127
|
+
ENV/
|
|
128
|
+
env.bak/
|
|
129
|
+
venv.bak/
|
|
130
|
+
|
|
131
|
+
# Spyder project settings
|
|
132
|
+
.spyderproject
|
|
133
|
+
.spyproject
|
|
134
|
+
|
|
135
|
+
# Rope project settings
|
|
136
|
+
.ropeproject
|
|
137
|
+
|
|
138
|
+
# mkdocs documentation
|
|
139
|
+
/site
|
|
140
|
+
|
|
141
|
+
# mypy
|
|
142
|
+
.mypy_cache/
|
|
143
|
+
.dmypy.json
|
|
144
|
+
dmypy.json
|
|
145
|
+
|
|
146
|
+
# Pyre type checker
|
|
147
|
+
.pyre/
|
|
148
|
+
|
|
149
|
+
# pytype static type analyzer
|
|
150
|
+
.pytype/
|
|
151
|
+
|
|
152
|
+
# Cython debug symbols
|
|
153
|
+
cython_debug/
|
|
154
|
+
|
|
155
|
+
# PyCharm
|
|
156
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
157
|
+
# be added to the global gitignore or merged into this project gitignore. For a PyCharm
|
|
158
|
+
# project, it is recommended to include the following files in version control:
|
|
159
|
+
# - .idea/modules.xml
|
|
160
|
+
# - .idea/*.iml
|
|
161
|
+
# - .idea/misc.xml
|
|
162
|
+
# - .idea/vcs.xml
|
|
163
|
+
.idea/
|
|
164
|
+
|
|
165
|
+
# VS Code
|
|
166
|
+
.vscode/
|
|
167
|
+
|
|
168
|
+
# macOS
|
|
169
|
+
.DS_Store
|
|
170
|
+
|
|
171
|
+
# Windows
|
|
172
|
+
Thumbs.db
|
|
173
|
+
ehthumbs.db
|
|
174
|
+
Desktop.ini
|
|
175
|
+
|
|
176
|
+
# Test files
|
|
177
|
+
test_*.py.bak
|
|
178
|
+
*.tmp
|
|
179
|
+
|
|
180
|
+
# Local development
|
|
181
|
+
.env.local
|
|
182
|
+
.env.development
|
|
183
|
+
.env.test
|
|
184
|
+
.env.production
|
|
185
|
+
|
|
186
|
+
# Temporary files
|
|
187
|
+
*.swp
|
|
188
|
+
*.swo
|
|
189
|
+
*~
|
|
190
|
+
|
|
191
|
+
# Coverage reports
|
|
192
|
+
.coverage.*
|
|
193
|
+
coverage/
|
|
194
|
+
|
|
195
|
+
# Profiling
|
|
196
|
+
*.prof
|
|
197
|
+
|
|
198
|
+
# Local configuration
|
|
199
|
+
config.local.json
|
|
200
|
+
settings.local.json
|
|
201
|
+
|
|
202
|
+
# API keys and secrets (just in case)
|
|
203
|
+
api_keys.txt
|
|
204
|
+
secrets.txt
|
|
205
|
+
.secrets/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 AgenticWerx
|
|
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.
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agenticwerx-mcp-client
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: Simple MCP client that connects to your AgenticWerx MCP server to retrieve rules
|
|
5
|
+
Project-URL: Homepage, https://agenticwerx.com
|
|
6
|
+
Project-URL: Documentation, https://docs.agenticwerx.com/mcp-client
|
|
7
|
+
Project-URL: Bug Reports, https://github.com/agenticwerx/mcp-client/issues
|
|
8
|
+
Project-URL: Source Code, https://github.com/agenticwerx/mcp-client
|
|
9
|
+
Author-email: AgenticWerx <support@agenticwerx.com>
|
|
10
|
+
License: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: agenticwerx,client,mcp,rules
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Requires-Dist: httpx>=0.25.0
|
|
25
|
+
Requires-Dist: mcp>=1.0.0
|
|
26
|
+
Requires-Dist: pydantic>=2.0.0
|
|
27
|
+
Requires-Dist: typing-extensions>=4.0.0; python_version < '3.10'
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: bandit>=1.7.0; extra == 'dev'
|
|
30
|
+
Requires-Dist: build>=0.10.0; extra == 'dev'
|
|
31
|
+
Requires-Dist: mypy>=1.5.0; extra == 'dev'
|
|
32
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
|
|
33
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
|
34
|
+
Requires-Dist: pytest-mock>=3.10.0; extra == 'dev'
|
|
35
|
+
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
36
|
+
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
37
|
+
Requires-Dist: safety>=2.3.0; extra == 'dev'
|
|
38
|
+
Requires-Dist: twine>=4.0.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: types-requests>=2.31.0; extra == 'dev'
|
|
40
|
+
Provides-Extra: test
|
|
41
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'test'
|
|
42
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
|
|
43
|
+
Requires-Dist: pytest-mock>=3.10.0; extra == 'test'
|
|
44
|
+
Requires-Dist: pytest>=7.0.0; extra == 'test'
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
|
|
47
|
+
# AgenticWerx MCP Client
|
|
48
|
+
|
|
49
|
+
[](https://badge.fury.io/py/agenticwerx-mcp-client)
|
|
50
|
+
[](https://pypi.org/project/agenticwerx-mcp-client/)
|
|
51
|
+
[](https://opensource.org/licenses/MIT)
|
|
52
|
+
|
|
53
|
+
A Model Context Protocol (MCP) client that connects to the AgenticWerx Lambda MCP server using JSON-RPC 2.0 protocol to provide code analysis and rule management capabilities.
|
|
54
|
+
|
|
55
|
+
## 🚀 Quick Start
|
|
56
|
+
|
|
57
|
+
### For IDE Users
|
|
58
|
+
|
|
59
|
+
Add this configuration to your MCP-compatible IDE (Kiro, Amazon Q Developer, etc.):
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"mcpServers": {
|
|
64
|
+
"agenticwerx": {
|
|
65
|
+
"command": "uvx",
|
|
66
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
67
|
+
"env": {
|
|
68
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Get Your API Key
|
|
76
|
+
|
|
77
|
+
1. Visit [AgenticWerx Dashboard](https://agenticwerx.com/dashboard)
|
|
78
|
+
2. Navigate to API Keys section
|
|
79
|
+
3. Create a new API key
|
|
80
|
+
4. Copy the key to your MCP configuration
|
|
81
|
+
|
|
82
|
+
## 🛠️ Available Tools
|
|
83
|
+
|
|
84
|
+
The AgenticWerx MCP client provides a simple tool for code analysis:
|
|
85
|
+
|
|
86
|
+
### **analyze**
|
|
87
|
+
Analyze code using AgenticWerx rules from the server.
|
|
88
|
+
|
|
89
|
+
**Parameters:**
|
|
90
|
+
- `packageId` (optional): Specific package ID to use rules from a specific package
|
|
91
|
+
|
|
92
|
+
**Example:**
|
|
93
|
+
```json
|
|
94
|
+
{
|
|
95
|
+
"tool": "analyze",
|
|
96
|
+
"packageId": "stripe-integration-excellence-pack"
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
The tool connects to AgenticWerx services and retrieves the rules, which are then processed and returned to your IDE.
|
|
101
|
+
|
|
102
|
+
## 🔗 Simple Connection
|
|
103
|
+
|
|
104
|
+
This client acts as a simple bridge between your IDE and AgenticWerx services. It retrieves rules and passes them back to your IDE for code analysis.
|
|
105
|
+
|
|
106
|
+
## 🔧 Installation Methods
|
|
107
|
+
|
|
108
|
+
### Method 1: UVX (Recommended)
|
|
109
|
+
No installation needed! Your IDE will automatically download and run the client:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
uvx agenticwerx-mcp-client@latest --api-key your_key_here
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Method 2: pip install
|
|
116
|
+
```bash
|
|
117
|
+
pip install agenticwerx-mcp-client
|
|
118
|
+
agenticwerx-mcp-client --api-key your_key_here
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Method 3: From Source
|
|
122
|
+
```bash
|
|
123
|
+
git clone https://github.com/agenticwerx/mcp-client.git
|
|
124
|
+
cd mcp-client
|
|
125
|
+
pip install -e .
|
|
126
|
+
agenticwerx-mcp-client --api-key your_key_here
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## 📋 IDE Configuration Examples
|
|
130
|
+
|
|
131
|
+
### Kiro IDE
|
|
132
|
+
```json
|
|
133
|
+
{
|
|
134
|
+
"mcpServers": {
|
|
135
|
+
"agenticwerx": {
|
|
136
|
+
"command": "uvx",
|
|
137
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
138
|
+
"env": {
|
|
139
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Amazon Q Developer
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"mcpServers": {
|
|
150
|
+
"agenticwerx": {
|
|
151
|
+
"command": "uvx",
|
|
152
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
153
|
+
"env": {
|
|
154
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### VS Code (with MCP extension)
|
|
162
|
+
```json
|
|
163
|
+
{
|
|
164
|
+
"mcp.servers": {
|
|
165
|
+
"agenticwerx": {
|
|
166
|
+
"command": "uvx",
|
|
167
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
168
|
+
"env": {
|
|
169
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## 🔒 Security & Privacy
|
|
177
|
+
|
|
178
|
+
- **API Key Security:** Your API key is only used to authenticate with AgenticWerx services
|
|
179
|
+
- **Code Privacy:** Code analysis happens securely through encrypted connections
|
|
180
|
+
- **No Data Storage:** Your code is analyzed in real-time and not stored on our servers
|
|
181
|
+
- **Local Processing:** The MCP client runs locally on your machine
|
|
182
|
+
|
|
183
|
+
## 🚀 Features
|
|
184
|
+
|
|
185
|
+
- ✅ **Simple Connection:** Connects your IDE to AgenticWerx services
|
|
186
|
+
- ✅ **Rule Retrieval:** Fetches rules from the server
|
|
187
|
+
- ✅ **MCP Compatible:** Works with any MCP-compatible IDE
|
|
188
|
+
- ✅ **Zero Configuration:** Just add your API key
|
|
189
|
+
- ✅ **Lightweight:** Minimal overhead, just passes data through
|
|
190
|
+
|
|
191
|
+
## 📊 Example Output
|
|
192
|
+
|
|
193
|
+
```json
|
|
194
|
+
{
|
|
195
|
+
"tool": "analyze",
|
|
196
|
+
"packageId": "stripe-integration-excellence-pack",
|
|
197
|
+
"rules": {
|
|
198
|
+
"rules": [
|
|
199
|
+
{
|
|
200
|
+
"id": "rule-1",
|
|
201
|
+
"name": "Security Rule",
|
|
202
|
+
"description": "Prevents security vulnerabilities",
|
|
203
|
+
"pattern": "eval\\(",
|
|
204
|
+
"message": "Avoid using eval() as it can lead to code injection"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"metadata": {
|
|
208
|
+
"package_name": "Security Rules",
|
|
209
|
+
"version": "1.0.0",
|
|
210
|
+
"total_rules": 1
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## 🛠️ Technical Requirements
|
|
217
|
+
|
|
218
|
+
### Runtime Requirements
|
|
219
|
+
- Python 3.8+
|
|
220
|
+
- httpx >= 0.25.0
|
|
221
|
+
- mcp >= 1.0.0
|
|
222
|
+
- pydantic >= 2.0.0
|
|
223
|
+
|
|
224
|
+
### Installation
|
|
225
|
+
```bash
|
|
226
|
+
# Via uvx (recommended)
|
|
227
|
+
uvx agenticwerx-mcp-client@latest --api-key your_key_here
|
|
228
|
+
|
|
229
|
+
# Via pip
|
|
230
|
+
pip install agenticwerx-mcp-client
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
## 📚 Documentation
|
|
234
|
+
|
|
235
|
+
- [Full Documentation](https://docs.agenticwerx.com/mcp-client)
|
|
236
|
+
- [API Reference](https://docs.agenticwerx.com/api)
|
|
237
|
+
- [Rule Package Catalog](https://agenticwerx.com/packages)
|
|
238
|
+
- [IDE Integration Guides](https://docs.agenticwerx.com/integrations)
|
|
239
|
+
|
|
240
|
+
## 🆘 Support
|
|
241
|
+
|
|
242
|
+
- **Documentation:** [docs.agenticwerx.com](https://docs.agenticwerx.com)
|
|
243
|
+
- **Email Support:** [support@agenticwerx.com](mailto:support@agenticwerx.com)
|
|
244
|
+
- **Community:** [Discord Server](https://discord.gg/agenticwerx)
|
|
245
|
+
|
|
246
|
+
## 📄 License
|
|
247
|
+
|
|
248
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
249
|
+
|
|
250
|
+
**Note:** This is a proprietary package developed and maintained exclusively by AgenticWerx. We do not accept external contributions at this time.
|
|
251
|
+
|
|
252
|
+
## 🔄 Changelog
|
|
253
|
+
|
|
254
|
+
### v1.0.0 (2025-01-XX)
|
|
255
|
+
- Initial release
|
|
256
|
+
- Full MCP protocol support
|
|
257
|
+
- Rule retrieval tools
|
|
258
|
+
- Multi-language support
|
|
259
|
+
- Real-time code feedback
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
**Built with ❤️ by the AgenticWerx Team**
|
|
264
|
+
|
|
265
|
+
*Making code quality accessible to every developer, in every IDE, for every language.*
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# AgenticWerx MCP Client
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/py/agenticwerx-mcp-client)
|
|
4
|
+
[](https://pypi.org/project/agenticwerx-mcp-client/)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
A Model Context Protocol (MCP) client that connects to the AgenticWerx Lambda MCP server using JSON-RPC 2.0 protocol to provide code analysis and rule management capabilities.
|
|
8
|
+
|
|
9
|
+
## 🚀 Quick Start
|
|
10
|
+
|
|
11
|
+
### For IDE Users
|
|
12
|
+
|
|
13
|
+
Add this configuration to your MCP-compatible IDE (Kiro, Amazon Q Developer, etc.):
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"agenticwerx": {
|
|
19
|
+
"command": "uvx",
|
|
20
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
21
|
+
"env": {
|
|
22
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Get Your API Key
|
|
30
|
+
|
|
31
|
+
1. Visit [AgenticWerx Dashboard](https://agenticwerx.com/dashboard)
|
|
32
|
+
2. Navigate to API Keys section
|
|
33
|
+
3. Create a new API key
|
|
34
|
+
4. Copy the key to your MCP configuration
|
|
35
|
+
|
|
36
|
+
## 🛠️ Available Tools
|
|
37
|
+
|
|
38
|
+
The AgenticWerx MCP client provides a simple tool for code analysis:
|
|
39
|
+
|
|
40
|
+
### **analyze**
|
|
41
|
+
Analyze code using AgenticWerx rules from the server.
|
|
42
|
+
|
|
43
|
+
**Parameters:**
|
|
44
|
+
- `packageId` (optional): Specific package ID to use rules from a specific package
|
|
45
|
+
|
|
46
|
+
**Example:**
|
|
47
|
+
```json
|
|
48
|
+
{
|
|
49
|
+
"tool": "analyze",
|
|
50
|
+
"packageId": "stripe-integration-excellence-pack"
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The tool connects to AgenticWerx services and retrieves the rules, which are then processed and returned to your IDE.
|
|
55
|
+
|
|
56
|
+
## 🔗 Simple Connection
|
|
57
|
+
|
|
58
|
+
This client acts as a simple bridge between your IDE and AgenticWerx services. It retrieves rules and passes them back to your IDE for code analysis.
|
|
59
|
+
|
|
60
|
+
## 🔧 Installation Methods
|
|
61
|
+
|
|
62
|
+
### Method 1: UVX (Recommended)
|
|
63
|
+
No installation needed! Your IDE will automatically download and run the client:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
uvx agenticwerx-mcp-client@latest --api-key your_key_here
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Method 2: pip install
|
|
70
|
+
```bash
|
|
71
|
+
pip install agenticwerx-mcp-client
|
|
72
|
+
agenticwerx-mcp-client --api-key your_key_here
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Method 3: From Source
|
|
76
|
+
```bash
|
|
77
|
+
git clone https://github.com/agenticwerx/mcp-client.git
|
|
78
|
+
cd mcp-client
|
|
79
|
+
pip install -e .
|
|
80
|
+
agenticwerx-mcp-client --api-key your_key_here
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## 📋 IDE Configuration Examples
|
|
84
|
+
|
|
85
|
+
### Kiro IDE
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"mcpServers": {
|
|
89
|
+
"agenticwerx": {
|
|
90
|
+
"command": "uvx",
|
|
91
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
92
|
+
"env": {
|
|
93
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Amazon Q Developer
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"mcpServers": {
|
|
104
|
+
"agenticwerx": {
|
|
105
|
+
"command": "uvx",
|
|
106
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
107
|
+
"env": {
|
|
108
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### VS Code (with MCP extension)
|
|
116
|
+
```json
|
|
117
|
+
{
|
|
118
|
+
"mcp.servers": {
|
|
119
|
+
"agenticwerx": {
|
|
120
|
+
"command": "uvx",
|
|
121
|
+
"args": ["agenticwerx-mcp-client@latest", "--api-key", "${AGENTICWERX_API_KEY}"],
|
|
122
|
+
"env": {
|
|
123
|
+
"AGENTICWERX_API_KEY": "your-api-key-here"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## 🔒 Security & Privacy
|
|
131
|
+
|
|
132
|
+
- **API Key Security:** Your API key is only used to authenticate with AgenticWerx services
|
|
133
|
+
- **Code Privacy:** Code analysis happens securely through encrypted connections
|
|
134
|
+
- **No Data Storage:** Your code is analyzed in real-time and not stored on our servers
|
|
135
|
+
- **Local Processing:** The MCP client runs locally on your machine
|
|
136
|
+
|
|
137
|
+
## 🚀 Features
|
|
138
|
+
|
|
139
|
+
- ✅ **Simple Connection:** Connects your IDE to AgenticWerx services
|
|
140
|
+
- ✅ **Rule Retrieval:** Fetches rules from the server
|
|
141
|
+
- ✅ **MCP Compatible:** Works with any MCP-compatible IDE
|
|
142
|
+
- ✅ **Zero Configuration:** Just add your API key
|
|
143
|
+
- ✅ **Lightweight:** Minimal overhead, just passes data through
|
|
144
|
+
|
|
145
|
+
## 📊 Example Output
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"tool": "analyze",
|
|
150
|
+
"packageId": "stripe-integration-excellence-pack",
|
|
151
|
+
"rules": {
|
|
152
|
+
"rules": [
|
|
153
|
+
{
|
|
154
|
+
"id": "rule-1",
|
|
155
|
+
"name": "Security Rule",
|
|
156
|
+
"description": "Prevents security vulnerabilities",
|
|
157
|
+
"pattern": "eval\\(",
|
|
158
|
+
"message": "Avoid using eval() as it can lead to code injection"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"metadata": {
|
|
162
|
+
"package_name": "Security Rules",
|
|
163
|
+
"version": "1.0.0",
|
|
164
|
+
"total_rules": 1
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## 🛠️ Technical Requirements
|
|
171
|
+
|
|
172
|
+
### Runtime Requirements
|
|
173
|
+
- Python 3.8+
|
|
174
|
+
- httpx >= 0.25.0
|
|
175
|
+
- mcp >= 1.0.0
|
|
176
|
+
- pydantic >= 2.0.0
|
|
177
|
+
|
|
178
|
+
### Installation
|
|
179
|
+
```bash
|
|
180
|
+
# Via uvx (recommended)
|
|
181
|
+
uvx agenticwerx-mcp-client@latest --api-key your_key_here
|
|
182
|
+
|
|
183
|
+
# Via pip
|
|
184
|
+
pip install agenticwerx-mcp-client
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## 📚 Documentation
|
|
188
|
+
|
|
189
|
+
- [Full Documentation](https://docs.agenticwerx.com/mcp-client)
|
|
190
|
+
- [API Reference](https://docs.agenticwerx.com/api)
|
|
191
|
+
- [Rule Package Catalog](https://agenticwerx.com/packages)
|
|
192
|
+
- [IDE Integration Guides](https://docs.agenticwerx.com/integrations)
|
|
193
|
+
|
|
194
|
+
## 🆘 Support
|
|
195
|
+
|
|
196
|
+
- **Documentation:** [docs.agenticwerx.com](https://docs.agenticwerx.com)
|
|
197
|
+
- **Email Support:** [support@agenticwerx.com](mailto:support@agenticwerx.com)
|
|
198
|
+
- **Community:** [Discord Server](https://discord.gg/agenticwerx)
|
|
199
|
+
|
|
200
|
+
## 📄 License
|
|
201
|
+
|
|
202
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
203
|
+
|
|
204
|
+
**Note:** This is a proprietary package developed and maintained exclusively by AgenticWerx. We do not accept external contributions at this time.
|
|
205
|
+
|
|
206
|
+
## 🔄 Changelog
|
|
207
|
+
|
|
208
|
+
### v1.0.0 (2025-01-XX)
|
|
209
|
+
- Initial release
|
|
210
|
+
- Full MCP protocol support
|
|
211
|
+
- Rule retrieval tools
|
|
212
|
+
- Multi-language support
|
|
213
|
+
- Real-time code feedback
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
**Built with ❤️ by the AgenticWerx Team**
|
|
218
|
+
|
|
219
|
+
*Making code quality accessible to every developer, in every IDE, for every language.*
|