We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/haripriyagullipalli/Mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { startServer } from "./server";
(async () => {
// Default to HTTP mode for better accessibility
const useHttp = process.env.USE_HTTP !== "false";
const port = parseInt(process.env.PORT || "8080", 10);
if (useHttp) {
console.error(`๐ Starting in HTTP mode on port ${port}`);
console.error(`๐ Access MCP server at: http://localhost:${port}/mcp`);
await startServer(true, port, false); // Load guidelines in startServer
} else {
console.error("๐ Starting in stdio mode for VS Code");
await startServer(false, port, false); // Load guidelines in startServer
}
})();