We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/magarcia/mcp-server-giphy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/usr/bin/env node
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { server } from "./server.js";
// Main function to start the server
export async function main() {
const transport = new StdioServerTransport();
await server.connect(transport);
console.error("GIPHY MCP Server running...");
}
// Handle process exits
process.on("SIGINT", () => {
console.error("Received SIGINT, shutting down...");
process.exit(0);
});
process.on("SIGTERM", () => {
console.error("Received SIGTERM, shutting down...");
process.exit(0);
});
// Start the server
main().catch((error) => {
console.error("Fatal error:", error);
process.exit(1);
});