Skip to main content
Glama

Brave Search MCP Server

Official
index.ts521 B
#!/usr/bin/env node import { getOptions } from './config.js'; import { stdioServer, httpServer } from './protocols/index.js'; async function main() { const options = getOptions(); if (!options) { console.error('Invalid configuration'); process.exit(1); } // default to stdio server unless http is explicitly requested if (options.transport === 'http') { httpServer.start(); return; } await stdioServer.start(); } main().catch((error) => { console.error(error); process.exit(1); });

Latest Blog Posts

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/brave/brave-search-mcp-server'

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