UNPKG

artillery-performance-mcp-server

Version:

MCP server for performance testing with Artillery.io

1 lines 2.1 kB
function a2_0x28cd(_0x39f38d,_0x36531d){const _0x259128=a2_0x2591();return a2_0x28cd=function(_0x28cde7,_0xebf4c8){_0x28cde7=_0x28cde7-0xea;let _0x1b5f05=_0x259128[_0x28cde7];return _0x1b5f05;},a2_0x28cd(_0x39f38d,_0x36531d);}function a2_0x2591(){const _0x3f0c01=['503317yRkYAk','7930990vyLsIC','Connecting\x20STDIO\x20transport\x20to\x20MCP\x20server','2345262fNuSHG','788397mwaIMK','info','9213237YhluFh','connect','Error\x20starting\x20MCP\x20server:\x20','Unhandled\x20error:\x20','6ExmNhL','MCP\x20server\x20successfully\x20started\x20with\x20STDIO\x20transport','16pXXitI','error','3924440ZWApoe','6603480IgKcWC','exit','21RoZltm'];a2_0x2591=function(){return _0x3f0c01;};return a2_0x2591();}(function(_0x1c81f1,_0x334f8a){const _0x49099c=a2_0x28cd,_0x515bef=_0x1c81f1();while(!![]){try{const _0x4e395a=parseInt(_0x49099c(0xf9))/0x1*(parseInt(_0x49099c(0xf1))/0x2)+-parseInt(_0x49099c(0xeb))/0x3*(parseInt(_0x49099c(0xf3))/0x4)+parseInt(_0x49099c(0xf6))/0x5+parseInt(_0x49099c(0xea))/0x6*(-parseInt(_0x49099c(0xf8))/0x7)+parseInt(_0x49099c(0xf5))/0x8+-parseInt(_0x49099c(0xed))/0x9+parseInt(_0x49099c(0xfa))/0xa;if(_0x4e395a===_0x334f8a)break;else _0x515bef['push'](_0x515bef['shift']());}catch(_0x5c74ff){_0x515bef['push'](_0x515bef['shift']());}}}(a2_0x2591,0xd39dd));import{createMcpServer,initializeMcpServer}from'./core/server.js';import{StdioServerTransport}from'@modelcontextprotocol/sdk/server/stdio.js';import a2_0x3b4707 from'./utils/logger.js';async function main(){const _0x536530=a2_0x28cd;try{a2_0x3b4707[_0x536530(0xec)]('Starting\x20Artillery\x20Performance\x20MCP\x20Server');const _0x24af56=createMcpServer();await initializeMcpServer(_0x24af56);const _0x253262=new StdioServerTransport();a2_0x3b4707[_0x536530(0xec)](_0x536530(0xfb)),await _0x24af56[_0x536530(0xee)](_0x253262),a2_0x3b4707[_0x536530(0xec)](_0x536530(0xf2));}catch(_0x2872ef){a2_0x3b4707[_0x536530(0xf4)](_0x536530(0xef)+_0x2872ef),process[_0x536530(0xf7)](0x1);}}main()['catch'](_0x5b4bcc=>{const _0x3a4b59=a2_0x28cd;a2_0x3b4707[_0x3a4b59(0xf4)](_0x3a4b59(0xf0)+_0x5b4bcc),process[_0x3a4b59(0xf7)](0x1);});