@nbakka/mcp-appium 2.0.23 → 2.0.25

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 (2) hide show
  1. package/lib/server.js +3 -3
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -146,7 +146,7 @@ const createMcpServer = () => {
146
146
  async () => {
147
147
  try {
148
148
  // Read file from config folder
149
- const filePath = path.join(__dirname, 'lib', 'app_context.txt');
149
+ const filePath = path.join(__dirname, '', 'app_context.txt');
150
150
  const fileContent = await fs.readFile(filePath, 'utf-8');
151
151
 
152
152
  // Assuming each note is separated by a newline
@@ -276,7 +276,7 @@ const createMcpServer = () => {
276
276
 
277
277
  tool(
278
278
  "fetch_google_sheet_locators",
279
- "MUST be invoked before mobile_learn_current_app_context. Provide the Google Sheet name to fetch locatorName and androidLocator from the specified sheet.",
279
+ "Follow this instructions strictly. MUST be invoked after mobile_learn_current_app_context tool. Provide the Google Sheet name to fetch locatorName and androidLocator from the specified sheet.",
280
280
  {
281
281
  sheetName: {
282
282
  type: "string",
@@ -295,7 +295,7 @@ const createMcpServer = () => {
295
295
  const { google } = require('googleapis');
296
296
 
297
297
  // Adjust path to your config folder as needed
298
- const keyFile = path.join(__dirname, 'config', 'secret.json');
298
+ const keyFile = path.join(__dirname, '', 'secret.json');
299
299
  const credentials = JSON.parse(await fs.readFile(keyFile, 'utf-8'));
300
300
 
301
301
  const auth = new google.auth.GoogleAuth({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.23",
3
+ "version": "2.0.25",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"