@impart-security/impart-mcp 0.2.2 → 0.2.3

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.
Files changed (3) hide show
  1. package/README.md +32 -14
  2. package/dist/index.js +0 -4
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -24,7 +24,7 @@ You'll need to set up the following environment variables:
24
24
 
25
25
  ## Available Tools
26
26
 
27
- This MCP server provides **26 tools** for managing Impart Security through the Model Context Protocol. All tools are automatically suffixed with your organization ID (e.g., `list_inspectors_d3ce`).
27
+ This MCP server provides **26 tools** for managing Impart Security through the Model Context Protocol. All tools are automatically suffixed with the last 4 characters of your organization ID (e.g., if your org ID ends with `d3ce`, the tool appears as `list_inspectors_d3ce`).
28
28
 
29
29
  ### Inspectors
30
30
  - **`list_inspectors`** - Get a list of inspectors for the organization
@@ -149,23 +149,41 @@ Add the Impart MCP server configuration:
149
149
 
150
150
  Make sure to update the environment variables with your Impart credentials.
151
151
 
152
- ## Testing
152
+ ### Claude Code
153
153
 
154
- Comprehensive test suite with regression tests for all critical fixes.
154
+ **Quick setup:**
155
155
 
156
- ```bash
157
- # Run all tests
158
- npm run build
159
- cd testing
160
- ./test-all.sh
156
+ ```sh
157
+ claude mcp add --transport stdio --env IMPART_AUTH_TOKEN=your_auth_token impart -- npx @impart-security/impart-mcp
158
+ ```
159
+
160
+ **Recommended setup** (keeps the token in your shell profile instead of a config file):
161
+
162
+ 1. Add to your shell profile (`~/.zshrc`, `~/.bashrc`, etc.):
163
+ ```sh
164
+ export IMPART_AUTH_TOKEN=your_auth_token
161
165
  ```
162
166
 
163
- **For complete testing documentation**, see [testing/TESTING.md](./testing/TESTING.md)
167
+ 2. Add to your project's `.mcp.json`:
168
+ ```json
169
+ {
170
+ "mcpServers": {
171
+ "impart": {
172
+ "command": "npx",
173
+ "args": ["@impart-security/impart-mcp"],
174
+ "env": {
175
+ "IMPART_AUTH_TOKEN": "${IMPART_AUTH_TOKEN}"
176
+ }
177
+ }
178
+ }
179
+ }
180
+ ```
181
+
182
+ Verify the connection by running `/mcp` inside Claude Code.
183
+
184
+ ## Documentation
164
185
 
165
- Quick links:
166
- - [Testing Guide](./testing/TESTING.md) - Complete guide with all fixes documented
167
- - [Claude Desktop Setup](./testing/CLAUDE_DESKTOP_SETUP.md) - Integration guide
168
- - [Sample Outputs](./testing/SAMPLE_OUTPUTS.md) - Real API examples
186
+ For complete documentation including setup guides, available tools, and troubleshooting, visit the [Impart MCP documentation](https://docs.impartsecurity.net/docs/integrations/mcp).
169
187
 
170
188
  ## Contributing
171
189
 
@@ -179,7 +197,7 @@ When contributing:
179
197
 
180
198
  ## License
181
199
 
182
- ISC
200
+ Apache-2.0
183
201
 
184
202
  ## Support
185
203
 
package/dist/index.js CHANGED
@@ -92,10 +92,6 @@ async function makeImpartRequest(endpoint, queryParams, method = "GET", body) {
92
92
  }
93
93
  // Log request details for debugging
94
94
  console.error(`[makeImpartRequest] ${method} ${url.toString()}`);
95
- console.error(`[makeImpartRequest] Headers:`, JSON.stringify(headers, null, 2));
96
- if (body) {
97
- console.error(`[makeImpartRequest] Body:`, JSON.stringify(body, null, 2));
98
- }
99
95
  const response = await fetch(url.toString(), requestOptions);
100
96
  console.error(`[makeImpartRequest] Response status: ${response.status} ${response.statusText}`);
101
97
  if (!response.ok) {
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@impart-security/impart-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Model Context Protocol (MCP) implementation for interacting with Impart's API",
5
5
  "author": "Impart Security",
6
+ "homepage": "https://docs.impartsecurity.net/docs/integrations/mcp",
6
7
  "license": "Apache-2.0",
7
8
  "main": "dist/index.js",
8
9
  "types": "dist/index.d.ts",
@@ -38,7 +39,7 @@
38
39
  "dependencies": {
39
40
  "@modelcontextprotocol/sdk": "1.27.1",
40
41
  "axios": "1.13.6",
41
- "hono": "4.12.3",
42
+ "hono": "4.12.7",
42
43
  "zod": "4.3.6"
43
44
  },
44
45
  "devDependencies": {