noodle-perplexity-mcp
Version:
A Perplexity API Model Context Protocol (MCP) server that unlocks Perplexity's search-augmented AI capabilities for LLM agents. Features robust error handling, secure input validation, transparent reasoning, and multimodal support with file attachments (P
16 lines (15 loc) • 664 B
TypeScript
/**
* @fileoverview Main entry point for the MCP (Model Context Protocol) server.
* This file orchestrates the server's lifecycle:
* 1. Initializes the core `McpServer` instance.
* 2. Registers available tools.
* 3. Selects and starts the appropriate communication transport.
* 4. Handles top-level error management during startup.
* @module src/mcp-server/server
*/
import { ServerType } from "@hono/node-server";
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Main application entry point. Initializes and starts the MCP server.
*/
export declare function initializeAndStartServer(): Promise<void | McpServer | ServerType>;