We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moimran/eveng-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_lab_integration.shβ’1.6 KiB
#!/bin/bash
# EVE-NG MCP Server - Lab Integration Test
# This script tests lab creation and management via MCP tools
echo "π§ͺ EVE-NG MCP Server - Lab Integration Test"
echo "============================================"
# Test 1: List existing labs
echo ""
echo "π Step 1: List existing labs"
echo "-----------------------------"
echo "Command: uv run eveng-mcp-server list-labs --path /"
uv run eveng-mcp-server list-labs --path /
# Test 2: Create a test lab
echo ""
echo "ποΈ Step 2: Create test lab 'mcp_test_lab'"
echo "----------------------------------------"
echo "Command: uv run eveng-mcp-server create-lab --name mcp_test_lab --description 'Test lab created via MCP' --author 'MCP Testing'"
uv run eveng-mcp-server create-lab --name mcp_test_lab --description "Test lab created via MCP" --author "MCP Testing"
# Test 3: List labs again to confirm creation
echo ""
echo "π Step 3: List labs after creation"
echo "-----------------------------------"
echo "Command: uv run eveng-mcp-server list-labs --path /"
uv run eveng-mcp-server list-labs --path /
# Test 4: Get lab details
echo ""
echo "π Step 4: Get lab details"
echo "--------------------------"
echo "Command: uv run eveng-mcp-server get-lab-details --lab_path /mcp_test_lab.unl"
uv run eveng-mcp-server get-lab-details --lab_path /mcp_test_lab.unl
echo ""
echo "β Lab Integration Test Complete!"
echo "================================"
echo ""
echo "π Please check your EVE-NG UI at http://eve.local/"
echo " You should see 'mcp_test_lab.unl' in the root folder"
echo ""
echo "Next: We'll test node management if lab creation was successful"