File tree Expand file tree Collapse file tree 6 files changed +22
-8
lines changed
Expand file tree Collapse file tree 6 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,21 @@ permissions:
1212 contents : read
1313
1414jobs :
15+ test-starting-node :
16+ runs-on : ubuntu-latest
17+ name : Test Starting Server
18+ steps :
19+ - uses : actions/checkout@v4
20+ - uses : actions/setup-node@v4
21+ with :
22+ node-version-file : " .nvmrc"
23+ - run : npm install
24+ - run : npm run build
25+ - run : npm run start
26+ env :
27+ GENESYSCLOUD_REGION : dummy
28+ GENESYSCLOUD_OAUTHCLIENT_ID : dummy
29+ GENESYSCLOUD_OAUTHCLIENT_SECRET : dummy
1530 test-node :
1631 runs-on : ubuntu-latest
1732 name : Test
Original file line number Diff line number Diff line change 11{
22 "name" : " @makingchatbots/genesys-cloud-mcp-server" ,
3- "version" : " 0.0.5 " ,
3+ "version" : " 0.0.6 " ,
44 "description" : " A MCP server for connecting LLMs to Genesys Cloud's Platform API" ,
55 "exports" : " ./dist/index.js" ,
66 "type" : " module" ,
Original file line number Diff line number Diff line change @@ -92,3 +92,4 @@ server.tool(
9292
9393const transport = new StdioServerTransport ( ) ;
9494await server . connect ( transport ) ;
95+ console . log ( "Started..." ) ;
Original file line number Diff line number Diff line change 11import { z } from "zod" ;
22import { createTool , type ToolFactory } from "./utils/createTool.js" ;
33import { isUnauthorisedError } from "./utils/genesys/isUnauthorisedError.js" ;
4- import {
4+ import type {
5+ SpeechTextAnalyticsApi ,
56 Models ,
6- type SpeechTextAnalyticsApi ,
77} from "purecloud-platform-client-v2" ;
88import { type CallToolResult } from "@modelcontextprotocol/sdk/types.js" ;
9- import ConversationMetrics = Models . ConversationMetrics ;
109
1110export interface ToolDependencies {
1211 readonly speechTextAnalyticsApi : Pick <
@@ -63,7 +62,7 @@ export const conversationSentiment: ToolFactory<
6362 paramsSchema,
6463 } ,
6564 call : async ( { conversationIds } ) => {
66- const conversations : ConversationMetrics [ ] = [ ] ;
65+ const conversations : Models . ConversationMetrics [ ] = [ ] ;
6766 try {
6867 conversations . push (
6968 ...( await Promise . all (
Original file line number Diff line number Diff line change 11import { z } from "zod" ;
2- import type { Models } from "purecloud-platform-client-v2" ;
3- import { type RoutingApi } from "purecloud-platform-client-v2" ;
2+ import type { Models , RoutingApi } from "purecloud-platform-client-v2" ;
43import { isUnauthorisedError } from "./utils/genesys/isUnauthorisedError.js" ;
54import { createTool , type ToolFactory } from "./utils/createTool.js" ;
65
Original file line number Diff line number Diff line change 11import { z } from "zod" ;
22import { createTool , type ToolFactory } from "./utils/createTool.js" ;
33import { isUnauthorisedError } from "./utils/genesys/isUnauthorisedError.js" ;
4- import { Models , type AnalyticsApi } from "purecloud-platform-client-v2" ;
4+ import type { Models , AnalyticsApi } from "purecloud-platform-client-v2" ;
55import { type CallToolResult } from "@modelcontextprotocol/sdk/types.js" ;
66
77export interface ToolDependencies {
You can’t perform that action at this time.
0 commit comments