Skip to main content
Glama

WithSeismic MCP

create-server.ts874 B
import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { registry } from "./lib/registry-instance.js"; // Import modules to ensure tools and prompts are loaded and registered import "./modules/prompts"; import "./modules/tools"; export const createServer = () => { // If server already exists in registry, return it if (registry.getServer()) { return registry.getServer()!; } console.log("🚀 Creating MCP server"); const server = new Server( { name: "withseismic/mcp", version: "1.0.0", }, { capabilities: { prompts: {}, resources: { subscribe: true }, tools: {}, logging: {}, }, }, ); // Initialize the existing registry instance with the server registry.initialize({ server }); console.log("✅ MCP Server created successfully"); return server; };

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/dougwithseismic/withseismic-mcp'

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