Skip to main content
Glama

Angular Bootstrap MCP Server

by palsuman
server.ts1.04 kB
import express from "express"; import bodyParser from "body-parser"; import os from "os"; import indexRoutes from "./routes/index"; import helpRoutes from "./routes/help"; import generateAppRoutes from "./routes/generateApp"; import generateArtifactRoutes from "./routes/generateArtifact"; import templatesRoutes from "./routes/templates"; const app = express(); const PORT = 3000; app.use(bodyParser.json()); app.use("/", indexRoutes); app.use("/help", helpRoutes); app.use("/generate-angular-app", generateAppRoutes); app.use("/generate-artifact", generateArtifactRoutes); app.use("/templates", templatesRoutes); function getLocalIP() { const interfaces = os.networkInterfaces(); for (const name of Object.keys(interfaces)) { for (const iface of interfaces[name] || []) { if (iface.family === "IPv4" && !iface.internal) { return iface.address; } } } return "localhost"; } const HOST = getLocalIP(); app.listen(PORT, HOST, () => { console.log(`MCP Server running on http://${HOST}:${PORT}`); });

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/palsuman/angular-bootstrap-mcp-server'

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