@egain/egain-mcp-server 1.0.22 → 1.0.23
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/README.md +3 -3
- package/bin/mcp-server.js +5 -5
- package/bin/mcp-server.js.map +4 -4
- package/esm/src/lib/config.d.ts +2 -2
- package/esm/src/lib/config.js +2 -2
- package/esm/src/mcp-server/mcp-server.js +1 -1
- package/esm/src/mcp-server/server.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Learn more about the tools and usage of the MCP in the [eGain MCP guide](https:/
|
|
|
32
32
|
- AI Services enabled for the tenant and target portal
|
|
33
33
|
- Knowledge portal and article content available
|
|
34
34
|
- Supported browser: Chrome, Edge, or Brave
|
|
35
|
-
- A
|
|
35
|
+
- A client application configured in your eGain tenant
|
|
36
36
|
|
|
37
37
|
> ℹ️ MCP access always mirrors the authenticated user’s permissions (portal and article visibility).
|
|
38
38
|
|
|
@@ -77,14 +77,14 @@ If you're having trouble configuring your MCP client, see these detailed guides:
|
|
|
77
77
|
Once you've set up the server on your client, **run your first eGain MCP query** and a browser window will popup for authentication.
|
|
78
78
|
|
|
79
79
|
**Requirements for authentication:**
|
|
80
|
-
- A
|
|
80
|
+
- A client application configured in your eGain tenant (some environments may have a pre-configured **APIs Trial** client app)
|
|
81
81
|
- A supported browser (Chrome, Edge, or Brave — Safari is not supported)
|
|
82
82
|
- Delegated API permissions in your client app:
|
|
83
83
|
- `knowledge.portalmgr.manage`
|
|
84
84
|
- `knowledge.portalmgr.read`
|
|
85
85
|
- `core.aiservices.read`
|
|
86
86
|
|
|
87
|
-
You'll need to enter your authentication configuration values in the browser form. For a tutorial, see the [Authentication Deep Dive](./help/authentication.md). Please contact your eGain PA if you do not have access to client application settings.
|
|
87
|
+
You'll need to enter your authentication configuration values in the browser form. For a tutorial, see the [Authentication Deep Dive](./help/authentication.md). If you need to create a client application, see the [API Authentication Guide](https://apidev.egain.com/developer-portal/get-started/authentication_guide/) — **be sure to select SPA (Single Page Application) as the platform type**. Please contact your eGain PA if you do not have access to client application settings.
|
|
88
88
|
|
|
89
89
|
<!-- No Installation [installation] -->
|
|
90
90
|
|
package/bin/mcp-server.js
CHANGED
|
@@ -4046,9 +4046,9 @@ var init_config = __esm(() => {
|
|
|
4046
4046
|
SDK_METADATA = {
|
|
4047
4047
|
language: "typescript",
|
|
4048
4048
|
openapiDocVersion: "1.0.0",
|
|
4049
|
-
sdkVersion: "1.0.
|
|
4049
|
+
sdkVersion: "1.0.23",
|
|
4050
4050
|
genVersion: "2.723.8",
|
|
4051
|
-
userAgent: "speakeasy-sdk/mcp-typescript 1.0.
|
|
4051
|
+
userAgent: "speakeasy-sdk/mcp-typescript 1.0.23 2.723.8 1.0.0 @egain/egain-mcp-server"
|
|
4052
4052
|
};
|
|
4053
4053
|
});
|
|
4054
4054
|
|
|
@@ -47433,7 +47433,7 @@ The Search API is a hybrid search service that combines semantic understanding w
|
|
|
47433
47433
|
function createMCPServer(deps) {
|
|
47434
47434
|
const server = new McpServer({
|
|
47435
47435
|
name: "EgainMcp",
|
|
47436
|
-
version: "1.0.
|
|
47436
|
+
version: "1.0.23"
|
|
47437
47437
|
});
|
|
47438
47438
|
const getClient = deps.getSDK || (() => new EgainMcpCore({
|
|
47439
47439
|
security: deps.security,
|
|
@@ -48680,7 +48680,7 @@ var routes = ln({
|
|
|
48680
48680
|
var app = _e(routes, {
|
|
48681
48681
|
name: "mcp",
|
|
48682
48682
|
versionInfo: {
|
|
48683
|
-
currentVersion: "1.0.
|
|
48683
|
+
currentVersion: "1.0.23"
|
|
48684
48684
|
}
|
|
48685
48685
|
});
|
|
48686
48686
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -48688,5 +48688,5 @@ export {
|
|
|
48688
48688
|
app
|
|
48689
48689
|
};
|
|
48690
48690
|
|
|
48691
|
-
//# debugId=
|
|
48691
|
+
//# debugId=40239CB349D7F88464756E2164756E21
|
|
48692
48692
|
//# sourceMappingURL=mcp-server.js.map
|