Skip to main content
Glama

MCP-NG

by Lotargo
cleanup_ports.ps11.56 kB
# # Этот скрипт принудительно завершает все процессы, связанные с MCP-NG, # чтобы освободить порты перед запуском тестов. # Write-Host "--- Starting MCP-NG Cleanup ---" -ForegroundColor Yellow # 1. Завершаем главный скомпилированный сервер Write-Host "Stopping main server (mcp_server.exe)..." taskkill /F /IM mcp_server.exe /T 2>$null # 2. Завершаем все известные Go-инструменты по именам их .exe файлов # (добавьте сюда другие, если они появятся) $go_tools = @( "api_caller.exe", "calculator.exe", "db_querier.exe", "file_reader.exe", "file_writer.exe", "human_input.exe", "list_directory.exe", "log_notifier.exe", "ozon.exe", "web_search.exe", "wildberries.exe" ) foreach ($tool in $go_tools) { Write-Host "Stopping Go tool ($tool)..." taskkill /F /IM $tool /T 2>$null } # 3. Завершаем все Python процессы (ВНИМАНИЕ!) # Это убьет и code_interpreter, но также и любые другие скрипты Python. # Для изолированной тестовой среды это безопасно. Write-Host "Stopping Python tool processes (python.exe)..." taskkill /F /IM python.exe /T 2>$null Write-Host "Cleanup complete. All known processes terminated." -ForegroundColor Green Write-Host "You can now safely run the tests."

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/Lotargo/MCP-NG'

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