Google MCP Server
@rtbui2012
关于 Google MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"google-mcp-server": {
"command": "npx",
"args": [
"ts-node",
"src/test.ts"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
googleSearchContenttool. - Provides image search via
googleSearchImagestool. - 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.
FAQ from Google MCP Server
What runtime is required?
Node.js 18 or newer and npm are required.
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.
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.
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.
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.
其他 分类下的更多 MCP 服务器
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
评论