Gemini MCP Server
@rtbui2012
关于 Gemini MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"gemini-mcp-server-rtbui2012": {
"command": "npx",
"args": [
"ts-node",
"src/test.ts"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Gemini MCP Server?
It implements a Model Context Protocol (MCP) server for Google Search, enabling integration with AI assistants and other MCP-compatible clients.
How to use Gemini MCP Server?
Install dependencies with npm install, set up your Google Custom Search API key in a .env file as GEMINI_API_KEY, then run a test search via npx ts-node src/test.ts or integrate it as an MCP server in your client configuration (e.g., claude_desktop_config.json).
Key features of Gemini MCP Server
- Provides a
googleSearchContenttool for web search results (title, link, snippet). - Provides a
googleSearchImagestool for image search (Markdown image link). - Built on Node.js 18+ with npm package management.
- Works with any MCP-compatible client.
- Simple
.env‑based credential management.
Use cases of Gemini MCP Server
- AI assistants retrieving real‑time web search results.
- Fetching image links for visual content in conversations.
- Integrating Google Search capabilities into custom MCP pipelines.
- Testing and prototyping MCP server configurations.
FAQ from Gemini MCP Server
What are the prerequisites?
Node.js 18 or newer and npm are required.
How do I get the required API key?
Obtain a Google Custom Search API key from the Google Custom Search JSON API documentation and place it in a .env file as GEMINI_API_KEY.
What tools does the server provide?
Two tools: googleSearchContent (web search returning titles, links, and snippets) and googleSearchImages (image search returning a Markdown image link for the first result).
How can I integrate this server with Claude or another MCP client?
Add an entry to your MCP settings file (e.g., claude_desktop_config.json) with the command npx ts-node src/index.ts and the GEMINI_API_KEY environment variable set to your key.
What should I do if search fails?
Verify that your API key is correctly set in the .env file or environment, all dependencies are installed (npm install), Node.js 18+ is used, and the server has been restarted after any code changes.
AI 与智能体 分类下的更多 MCP 服务器
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
1MCP - One MCP Server for All
1mcp-appA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
评论