@globalpayments/vega-mcp-stdio-server 0.1.0
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.
- package/LICENSE +7 -0
- package/README.md +73 -0
- package/index.js +62901 -0
- package/package.json +31 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright (c) Heartland Payment Systems, LLC.
|
|
2
|
+
|
|
3
|
+
All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files are proprietary and confidential.
|
|
6
|
+
Unauthorized copying, modification, distribution, sublicensing, or use of this software,
|
|
7
|
+
in whole or in part, is strictly prohibited without prior written permission from the copyright holder.
|
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# @globalpayments/vega-mcp-stdio-server
|
|
2
|
+
|
|
3
|
+
Vega MCP server package for stdio transport.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @globalpayments/vega-mcp-stdio-server
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Pre-installation is optional. The recommended setup is to run via `npx` directly in MCP client config.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Use this package as an MCP stdio server in tools like VS Code, Cursor, or Claude Desktop.
|
|
16
|
+
|
|
17
|
+
Example MCP server configuration:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"servers": {
|
|
22
|
+
"vega": {
|
|
23
|
+
"type": "stdio",
|
|
24
|
+
"command": "npx",
|
|
25
|
+
"args": ["-y", "@globalpayments/vega-mcp-stdio-server"]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
To pin a specific package version, use:
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"servers": {
|
|
36
|
+
"vega": {
|
|
37
|
+
"type": "stdio",
|
|
38
|
+
"command": "npx",
|
|
39
|
+
"args": ["-y", "@globalpayments/vega-mcp-stdio-server@0.1.0"]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Optional Environment Variables
|
|
46
|
+
|
|
47
|
+
- `VEGA_MCP_BLOB_URL`: Azure Blob base URL for docs content.
|
|
48
|
+
- `VEGA_MCP_BLOB_SAS`: SAS token for private blob access.
|
|
49
|
+
- `VEGA_MCP_CACHE_DIR`: local cache directory.
|
|
50
|
+
- `VEGA_MCP_CACHE_TTL`: cache TTL in hours.
|
|
51
|
+
|
|
52
|
+
## Optional Startup Flags
|
|
53
|
+
|
|
54
|
+
- `--refresh-cache`: force refresh of cached content for requested version.
|
|
55
|
+
- `--refresh-mode=once|always`: control refresh guidance behavior.
|
|
56
|
+
- `once` (default): refresh once per conversation/session, then reuse the loaded knowledge base unless the user explicitly says the Vega version changed.
|
|
57
|
+
- `always`: refresh once at the start of each new user message before the first Vega tool call, using the latest version detected from package.json.
|
|
58
|
+
|
|
59
|
+
## Available MCP Tools
|
|
60
|
+
|
|
61
|
+
- `list_components`
|
|
62
|
+
- `get_component_api`
|
|
63
|
+
- `get_component_examples`
|
|
64
|
+
- `list_types`
|
|
65
|
+
- `get_type_definition`
|
|
66
|
+
- `search_docs`
|
|
67
|
+
- `get_doc`
|
|
68
|
+
- `refresh_knowledge_base`
|
|
69
|
+
|
|
70
|
+
## Node Requirement
|
|
71
|
+
|
|
72
|
+
- Node.js >= 20
|
|
73
|
+
- Npm >= 10
|