google-mcp-server
0
The Google MCP Server project is designed to implement a Model Context Protocol server that allows integration with Google APIs for use with AI assistants and other compatible clients. It offers tools for performing web and image searches using the Google Custom Search API. The project is suitable for developers working on MCP configurations.
Google MCP Server
This project implements a Model Context Protocol (MCP) server for Google APIs, enabling integration with AI assistants and other MCP-compatible clients.
Prerequisites
- Node.js 18+
- npm
Installation
- Clone the repository.
- Install dependencies via npm.
- Set up your Google Custom Search API credentials by creating a
.env
file.
Usage
- Run a test search with an MCP-compatible client.
- Integrate the server into your configuration by adding it to your MCP settings file.
Available Tools
- googleSearchContent: Performs a web search and returns structured results.
- googleSearchImages: Performs an image search and returns a Markdown image link.
Development
- Modify the code in the
src
directory. - Update
package.json
if necessary. - Restart your MCP client or test script to apply changes.
Troubleshooting
- Ensure API key and CX ID are set correctly.
- Verify dependencies and Node.js version.