UNPKG

@302ai/web-search-mcp

Version:

A Model Context Protocol server

54 lines (38 loc) 1.06 kB
# 302AI Web Search MCP Server ## Development Install dependencies: ```bash npm install ``` Build the server: ```bash npm run build ``` For development with auto-rebuild: ```bash npm run watch ``` ## Installation To use with Claude Desktop, add the server config: On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json` On Windows: `%APPDATA%/Claude/claude_desktop_config.json` ```json { "mcpServers": { "302ai-web-search-mcp": { "command": "npx", "args": ["-y", "@302ai/web-search-mcp"], "env": { "302AI_API_KEY": "YOUR_API_KEY_HERE" } } } } ``` Find Your 302AI_API_KEY [here](https://dash.302.ai/apis/list) ### Debugging Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script: ```bash npm run inspector ``` The Inspector will provide a URL to access debugging tools in your browser.