artillery-performance-mcp-server
Version:
MCP server for performance testing with Artillery.io
2 lines • 2.11 kB
JavaScript
const a5_0x1286f7=a5_0xe2e6;(function(_0x5e7f78,_0xf245c){const _0xbcc27c=a5_0xe2e6,_0x26d461=_0x5e7f78();while(!![]){try{const _0x57004d=-parseInt(_0xbcc27c(0x176))/0x1+-parseInt(_0xbcc27c(0x171))/0x2+-parseInt(_0xbcc27c(0x16c))/0x3+parseInt(_0xbcc27c(0x173))/0x4+-parseInt(_0xbcc27c(0x168))/0x5*(parseInt(_0xbcc27c(0x166))/0x6)+-parseInt(_0xbcc27c(0x16d))/0x7+parseInt(_0xbcc27c(0x16a))/0x8;if(_0x57004d===_0xf245c)break;else _0x26d461['push'](_0x26d461['shift']());}catch(_0x31de48){_0x26d461['push'](_0x26d461['shift']());}}}(a5_0x1ce6,0x31334));function a5_0xe2e6(_0x38d26a,_0x217183){const _0x1ce67c=a5_0x1ce6();return a5_0xe2e6=function(_0xe2e6f3,_0x3a8996){_0xe2e6f3=_0xe2e6f3-0x166;let _0xdfa33e=_0x1ce67c[_0xe2e6f3];return _0xdfa33e;},a5_0xe2e6(_0x38d26a,_0x217183);}function a5_0x1ce6(){const _0x1e2ff3=['Connecting\x20STDIO\x20transport\x20to\x20MCP\x20server','Starting\x20Artillery\x20Performance\x20MCP\x20Server\x20with\x20STDIO\x20transport','265134zkLUFp','54wVLslV','catch','2535dJhBTu','info','4556072HAULQw','connect','242586LiuwSQ','1566628JRmajk','Unhandled\x20error:\x20','exit','error','182696GfntNL','MCP\x20server\x20successfully\x20started\x20with\x20STDIO\x20transport','1190904WPkajY'];a5_0x1ce6=function(){return _0x1e2ff3;};return a5_0x1ce6();}import{StdioServerTransport}from'@modelcontextprotocol/sdk/server/stdio.js';import{createMcpServer,initializeMcpServer}from'./core/server.js';import a5_0x1635a9 from'./utils/logger.js';async function main(){const _0x2f5b48=a5_0xe2e6;try{a5_0x1635a9[_0x2f5b48(0x169)](_0x2f5b48(0x175));const _0x223207=createMcpServer();await initializeMcpServer(_0x223207);const _0x2982be=new StdioServerTransport();a5_0x1635a9[_0x2f5b48(0x169)](_0x2f5b48(0x174)),await _0x223207[_0x2f5b48(0x16b)](_0x2982be),a5_0x1635a9['info'](_0x2f5b48(0x172));}catch(_0x41cfc5){a5_0x1635a9[_0x2f5b48(0x170)]('Error\x20starting\x20MCP\x20server:\x20'+_0x41cfc5),process[_0x2f5b48(0x16f)](0x1);}}main()[a5_0x1286f7(0x167)](_0x1fc654=>{const _0xe7f90c=a5_0x1286f7;a5_0x1635a9[_0xe7f90c(0x170)](_0xe7f90c(0x16e)+_0x1fc654),process['exit'](0x1);});