MCP.so
ログイン

Google MCP Server

@rtbui2012

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

rtbui2012

Google MCP Server について

概要はまだありません

#google-mcp-server#mcp#google-api

Google MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "google-mcp-server": {
      "command": "npx",
      "args": [
        "ts-node",
        "src/test.ts"
      ]
    }
  }
}

Google MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Google MCP Server?

Google MCP Server is an MCP (Model Context Protocol) server that integrates Google Custom Search API with AI assistants and other MCP‑compatible clients, enabling web and image search through standardized tool calls.

How to use Google MCP Server?

Clone the repository, install dependencies (npm install), and set up a .env file with your GOOGLE_API_KEY and GOOGLE_CX_ID. Then run a test search with npx ts-node src/test.ts or add the server to your MCP client’s configuration (e.g., claude_desktop_config.json) specifying the command, arguments, and environment variables.

Key features of Google MCP Server

  • Provides web search via googleSearchContent tool.
  • Provides image search via googleSearchImages tool.
  • Returns structured results (titles, links, snippets).
  • Returns Markdown image link for first image result.
  • Works with any MCP‑compatible client.

Use cases of Google MCP Server

  • Letting an AI assistant perform real‑time web searches.
  • Enabling an AI to retrieve image links based on a query.
  • Integrating Google search capabilities into custom MCP workflows.
  • Testing search functionality before adding the server to a client.

よくある質問

1

What runtime is required?

Node.js 18 or newer and npm are required.

2

How do I obtain the necessary credentials?

You need a Google Custom Search API key and a Custom Search Engine ID. Obtain them from the Google Custom Search JSON API documentation.

3

Where are the API credentials stored?

In a `.env` file in the project root (`GOOGLE_API_KEY` and `GOOGLE_CX_ID`) or passed as environment variables in the MCP client configuration.

4

What transports does this server use?

The README does not specify transport details; it is assumed to use standard MCP transport (e.g., stdio) as typical for MCP servers invoked via `npx`.

5

Can I modify the code?

Yes. Modify files in the `src` directory, update dependencies in `package.json` if needed, and restart your MCP client or test script to apply changes.

コメント

「その他」の他のコンテンツ