browser-automation-api-direct-save-v4.0.4.js•1.58 kB
#!/usr/bin/env node
/**
* EuConquisto Composer Browser Automation MCP Server - Enhanced Tool Recognition
* @version 4.0.4
* @description Fixed tool description for better Claude Desktop recognition
*/
import { readFileSync } from 'fs';
// First, copy the entire original file content
const originalContent = readFileSync('/Users/ricardokawasaki/Desktop/euconquisto-composer-mcp-poc/dist/browser-automation-api-direct-save-v4.0.3.js', 'utf-8');
// Replace the tool description to be more specific
const enhancedContent = originalContent.replace(
"description: 'Create educational compositions using API Direct Save v4.0.3 - Dynamic Authentication!'",
`description: 'Use this tool to create educational lessons and content for Brazilian students. This tool creates interactive educational compositions in EuConquisto Composer for any subject, grade level, or topic. Perfect for creating lessons about science topics like photosynthesis (fotossíntese), math, history, or any educational content. The tool automatically saves the content to EuConquisto Composer and opens it in your browser for editing. Always use this tool when asked to create educational content, lessons, or teaching materials in Portuguese or for Brazilian education.'`
);
// Write the enhanced version
import { writeFileSync } from 'fs';
writeFileSync('/Users/ricardokawasaki/Desktop/euconquisto-composer-mcp-poc/dist/browser-automation-api-direct-save-v4.0.4-temp.js', enhancedContent);
// Now import and run the enhanced version
await import('./browser-automation-api-direct-save-v4.0.4-temp.js');