krishansubudhi
MCP Serverkrishansubudhipublic

gemini mcp example

包含 FileOps MCP 服务器和 Gemini MCP 客户端,用于文件操作和 Gemini API 集成。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Jupyter Notebook
Language
-
License

About This Server

包含 FileOps MCP 服务器和 Gemini MCP 客户端,用于文件操作和 Gemini API 集成。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

FileOps MCP Server and Gemini MCP Client

This project consists of two components:

  1. FileOps MCP Server: A server to perform file operations using the Model Context Protocol (MCP).
  2. Gemini MCP Client: A command-line chat client that interacts with the FileOps MCP Server and integrates with the Gemini API.

Install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

Install node

brew install node pnpm

FileOps MCP Server

The FileOps MCP Server provides tools to perform various file operations like listing files, reading file contents, searching patterns, creating directories, and writing to files.

cd fileops-mcp-server

Set up instructions:

Create virtual env and sync

uv venv

source .venv/bin/activate

uv sync

Jetbrains MCP server

https://plugins.jetbrains.com/plugin/26071-mcp-server


Gemini MCP Client

cd ../gemini-mcp-client

The Gemini MCP Client is a command-line chat client that integrates with the FileOps MCP Server and the Gemini API for enhanced functionality.

Set up Instructions:

Set up virtual env and install deps

uv venv

source .venv/bin/activate

uv sync

Set up gemini

# Create .env file
touch .env

Add your key to .env file

GEMINI_API_KEY=<Your gemini key>

Add .env to .gitignore

echo ".env" >> .gitignore

Modify mcp-server-config.json and replace with your mcp server path and uv details.

Start the client application

python client.py

For detailed setup instructions and usage, refer to the Gemini MCP Client README.


References:

  • Model Context Protocol Quickstart (Server)
  • Model Context Protocol Quickstart (Client)
  • Gemini API Documentation
  • Python GenAI SDK
  • Gemini MCP Example
  • Jetbrains MCP plugin

Quick Start

1

Clone the repository

git clone https://github.com/krishansubudhi/gemini-mcp-example
2

Install dependencies

cd gemini-mcp-example
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerkrishansubudhi
Repogemini-mcp-example
LanguageJupyter Notebook
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation