MCP Client Implementation using Python, LangGraph and Gemini
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-client": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
📢 Subscribe to The AI Language on YouTube!
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
Manage Supabase projects — databases, auth, storage, and edge functions
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP Security Weekly
Get CVE alerts and security updates for Mcp_client and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
📢 Subscribe to The AI Language on YouTube!
Welcome! This project features multiple MCP clients integrated with Google Gemini AI to execute tasks via the Model Context Protocol (MCP) — with and without LangChain.
Happy building, and don’t forget to subscribe!
This repository includes four MCP client options for various use cases:
| Option | Client Script | LangChain | Config Support | Transport | Tutorial |
|---|---|---|---|---|---|
| 1 | client.py | ❌ | ❌ | STDIO | Legacy Client |
| 2 | langchain_mcp_client.py | ✅ | ❌ | STDIO | LangChain Client |
| 3 | langchain_mcp_client_wconfig.py | ✅ | ✅ | STDIO | Multi-Server |
| 4 | client_sse.py | ❌ | ❌ | SSE (Loca & Web) | SSE Client |
If you want to add or reuse MCP Servers, check out the MCP Servers repo.
✅ Connects to an MCP server (STDIO or SSE)
✅ Uses Google Gemini AI to interpret user prompts
✅ Allows Gemini to call MCP tools via server
✅ Executes tool commands and returns results
✅ (Upcoming) Maintains context and history for conversations
Choose the appropriate command for your preferred client:
uv run client.py path/to/server.pyuv run langchain_mcp_client.py path/to/server.pyuv run langchain_mcp_client_wconfig.py path/to/config.jsonuv run client_sse.py sse_server_urlmcp-client-gemini/
├── client.py # Basic client (STDIO)
├── langchain_mcp_client.py # LangChain + Gemini
├── langchain_mcp_client_wconfig.py # LangChain + config.json (multi-server)
├── client_sse.py # SSE transport client (local or remote)
├── .env # API key environment file
├── README.md # Project documentation
├── requirements.txt # Dependency list
├── .gitignore # Git ignore rules
├── LICENSE # License information
Create a file named test.txt
At this time, this project does not accept external code contributions.
This is to keep licensing simple and avoid any shared copyright.
You're very welcome to:
✅ Report bugs or request features (via GitHub Issues)
✅ Fork the repo and build your own version
✅ Suggest documentation improvements
If you'd like to collaborate in another way, feel free to open a discussion!