Skip to content

Commit 6b650db

Browse files
committed
User agent and readme
1 parent 54ad9e4 commit 6b650db

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ MCP changes this: exposing security management data in a modular, context-rich f
4040
### Visual Policy Mapping
4141
“Generate a report showing allowed and blocked services across my environment.”
4242
*→ Delivers structured data for dashboards, reports, and audits.*
43+
4344
---
4445

4546
## Configuration Options
@@ -59,7 +60,7 @@ Set the following environment variables:
5960

6061
- `API_KEY`: Your Smart-1 Cloud API key
6162
- `S1C_URL`: Your Smart-1 Cloud tenant "Web-API" URL
62-
63+
6364
---
6465

6566
### 2. On-Prem Management (API Key or Username/Password)
@@ -80,7 +81,7 @@ Set the following environment variables:
8081
- `API_KEY`: Your management API key (if using API key authentication)
8182
- `USERNAME`: Username for authentication (if using username/password authentication)
8283
- `PASSWORD`: Password for authentication (if using username/password authentication)
83-
84+
8485
---
8586

8687
## Client Configuration
@@ -218,6 +219,7 @@ Add the configuration as Claude Desktop App.
218219
Enter Cursor settings and click on "MCP Servers" in the left menu.
219220
You should see the option to add a new MCP Server.
220221
Add the configuration as Claude Desktop App.
222+
221223
---
222224

223225
## Development

packages/infra/src/api-client.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ import https from 'https';
44

55
function getMainPackageUserAgent(): string {
66
if (process.env.CP_MCP_MAIN_PKG) {
7-
return process.env.CP_MCP_MAIN_PKG;
7+
if (process.env.CP_MCP_MAIN_PKG.includes("quantum-management-mcp")) {
8+
return "mgmt-mcp";
9+
}
810
}
9-
return "Check Point MCP API Client/v1.0";
11+
return "Check Point MCP API Client";
1012
}
1113

1214
/**

packages/management/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ MCP changes this: exposing security management data in a modular, context-rich f
4040
### Visual Policy Mapping
4141
“Generate a report showing allowed and blocked services across my environment.”
4242
*→ Delivers structured data for dashboards, reports, and audits.*
43+
4344
---
4445

4546
## Configuration Options
@@ -59,7 +60,7 @@ Set the following environment variables:
5960

6061
- `API_KEY`: Your Smart-1 Cloud API key
6162
- `S1C_URL`: Your Smart-1 Cloud tenant "Web-API" URL
62-
63+
6364
---
6465

6566
### 2. On-Prem Management (API Key or Username/Password)
@@ -80,7 +81,7 @@ Set the following environment variables:
8081
- `API_KEY`: Your management API key (if using API key authentication)
8182
- `USERNAME`: Username for authentication (if using username/password authentication)
8283
- `PASSWORD`: Password for authentication (if using username/password authentication)
83-
84+
8485
---
8586

8687
## Client Configuration
@@ -110,7 +111,7 @@ It is expected to work with any MCP client that supports the Model Context Proto
110111
"mcpServers": {
111112
"quantum-management": {
112113
"command": "npx",
113-
"args": ["@chkp/quantum_management_mcp"],
114+
"args": ["@chkp/quantum-management-mcp"],
114115
"env": {
115116
"API_KEY": "YOUR_API_KEY",
116117
"S1C_URL": "YOUR_S1C_URL" // e.g., https://xxxxxxxx.maas.checkpoint.com/yyyyyyy/web_api
@@ -127,7 +128,7 @@ It is expected to work with any MCP client that supports the Model Context Proto
127128
"mcpServers": {
128129
"quantum-management": {
129130
"command": "npx",
130-
"args": ["@chkp/quantum_management_mcp"],
131+
"args": ["@chkp/quantum-management-mcp"],
131132
"env": {
132133
"MANAGEMENT_HOST": "YOUR_MANAGEMENT_IP_OR_HOST_NAME",
133134
"MANAGEMENT_PORT": "443", // optional, default is 443
@@ -167,7 +168,7 @@ Add the server configuration:
167168
"mcpServers": {
168169
"quantum-management": {
169170
"command": "npx",
170-
"args": ["@chkp/quantum_management_mcp"],
171+
"args": ["@chkp/quantum-management-mcp"],
171172
"env": {
172173
// Add the configuration from the above instructions
173174
}
@@ -191,7 +192,7 @@ Add this configuration:
191192
"quantum-management": {
192193
"command": "npx",
193194
"args": [
194-
"@chkp/quantum_management_mcp"
195+
"@chkp/quantum-management-mcp"
195196
],
196197
"env": {
197198
"MANAGEMENT_HOST": "YOUR_MANAGEMENT_IP_OR_HOST_NAME",
@@ -218,6 +219,7 @@ Add the configuration as Claude Desktop App.
218219
Enter Cursor settings and click on "MCP Servers" in the left menu.
219220
You should see the option to add a new MCP Server.
220221
Add the configuration as Claude Desktop App.
222+
221223
---
222224

223225
## Development

0 commit comments

Comments
 (0)