Skip to main content
Glama
swagger-mcp.js446 B
#!/usr/bin/env node import { fileURLToPath } from "url"; import { dirname, join } from "path"; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // 导入主服务器文件 const serverPath = join(__dirname, "..", "src", "index.js"); // 动态导入并启动服务器 import(serverPath).catch((error) => { console.error("❌ 启动Swagger MCP服务器失败:", error.message); process.exit(1); });

Latest Blog Posts

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/zidong0822/swagger-mcp'

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