Skip to main content
Glama

MCP Server

by mokemoke0821
const { spawn } = require('child_process'); const path = require('path'); // Path to the MCP server directory const serverDir = path.join(process.env.LOCALAPPDATA, 'AnthropicClaude', 'app-0.9.0', 'mcp-server'); // Start the MCP server console.log('Starting MCP server...'); const server = spawn('node', ['server.js'], { cwd: serverDir, detached: true, stdio: 'ignore' }); // Detach the process so it runs independently server.unref(); console.log('MCP server started in background.');

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/mokemoke0821/MCP'

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