---
slug: "web-search"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/divslingerx/mcp-server@main/README.md"
repo: "https://github.com/divslingerx/mcp-server"
source_file: "README.md"
branch: "main"
---
# Memory Store MCP Server

A Model Context Protocol (MCP) server that provides web search capabilities using Puppeteer.

## Features

- Web search functionality via Google
- Structured JSON results
- Lightweight and stateless design
- Easy integration with MCP-enabled systems

## Installation

1. Clone the repository:

   ```bash
   git clone https://github.com/yourusername/mcp-server.git
   cd mcp-server
   ```

2. Install dependencies:

   ```bash
   npm install
   ```

3. Build the project:
   ```bash
   npm run build
   ```

## Configuration

Create a `.env` file in the project root with the following environment variables:

```env
# Puppeteer configuration
PUPPETEER_EXECUTABLE_PATH=/path/to/chrome
PUPPETEER_HEADLESS=true

# Server settings
PORT=3000
```

## Usage

Start the server:

```bash
npm start
```

The server will be available to MCP clients. Example usage through MCP:

```json
{
  "tool": "search_web",
  "arguments": {
    "query": "example search"
  }
}
```

## Development

### Building the Project

```bash
npm run build
```

### Running Tests

```bash
npm test
```

### Linting

```bash
npm run lint
```

### Formatting

```bash
npm run format
```

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/divslingerx/mcp-server/tree/HEAD/LICENSE) file for details.
