UNPKG

@brave/brave-search-mcp-server

Version:

MCP server for Brave Search. Uses the Brave Search API to return results from the web, including ranked links, images, and videos, as well as AI summaries of pages, rich results, and more.

12 lines (11 loc) 390 B
import newMcpServer from '../server.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; const createTransport = () => { return new StdioServerTransport(); }; const start = async () => { const transport = createTransport(); const mcpServer = newMcpServer(); await mcpServer.connect(transport); }; export default { start, createTransport };