Skip to main content
Glama

Storacha MCP Storage Server

Official
by storacha
index.ts875 B
#!/usr/bin/env node import 'dotenv/config'; import startMCPServer from './src/core/server/index.js'; import { loadConfig as loadServerConfig } from './src/core/server/config.js'; import { loadConfig as loadStorageConfig } from './src/core/storage/config.js'; /** * Main entry point for the MCP Storage Server. * Server mode is determined by the MCP_TRANSPORT_MODE environment variable: * - 'stdio': Starts the server in stdio mode (default) * - 'http': Starts the server in HTTP mode with SSE transport * - 'rest': Starts the server in REST mode (MCP.so Cloud) */ async function main() { try { const serverConfig = loadServerConfig(); const storageConfig = await loadStorageConfig(); await startMCPServer(serverConfig, storageConfig); } catch (error) { console.error("Error starting MCP Storage Server:", error); process.exit(1); } } main();

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/storacha/mcp-storage-server'

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