We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jimbuck/open-brewery-db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
index.ts•506 B
#!/usr/bin/env node
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
import { createServer } from './mcp.js';
const server = createServer();
// Set up error handling
process.on('SIGINT', async () => {
await server.close();
process.exit(0);
});
// Start the server
(async function main() {
const transport = new StdioServerTransport();
await server.connect(transport);
console.error('Open Brewery DB MCP Server running on stdio');
})().catch(console.error);