Skip to main content
Glama
by mohalmah
test-mcp-version-fix.jsโ€ข926 B
// Test script to verify MCP version creation works import { apiTool } from './tools/google-app-script-api/apps-script-api/script-projects-versions-create.js'; const scriptId = '1fSY7y3Rh84FsgJmrFIMm4AUOV3mPgelLRvZ4Dahrv68zyDzX-cGbeYjn'; async function testVersionCreation() { console.log('๐Ÿงช Testing MCP version creation...'); try { const result = await apiTool.function({ scriptId: scriptId, description: 'Test version creation via MCP tools' }); console.log('โœ… Version creation result:', JSON.stringify(result, null, 2)); if (result.versionNumber) { console.log('๐ŸŽ‰ Version created successfully!'); console.log(`๐Ÿ“Š Version Number: ${result.versionNumber}`); } else { console.log('โŒ Version creation failed:', result); } } catch (error) { console.error('๐Ÿ’ฅ Error during version creation:', error); } } testVersionCreation();

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mohalmah/google-appscript-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server