gemini-mcp-desktop-client
The Gemini MCP Desktop Client is a desktop application developed using Electron, React, and TypeScript. This client is designed to enable users to work efficiently, leveraging the latest web technologies. The UI is built with MUI and Emotion, combining usability and aesthetics.
GitHub Stars
75
User Rating
Not Rated
Favorites
0
Views
33
Forks
9
Issues
3
Installation
Difficulty
IntermediateEstimated Time
10-20 minutes
Requirements
Node.js: 18.0.0 or highernpm: 8.0.0 or higherInstallation
Installation
Prerequisites
Please specify required software and versions:Node.js: 18.0.0 or higher
npm: 8.0.0 or higher
Installation Steps
1. Clone Repository
bash
git clone https://github.com/duke7able/gemini-mcp-desktop-client
cd gemini-mcp-desktop-client
2. Install Dependencies
bash
npm install
3. Start Server
bash
npm start
Troubleshooting
Common Issues
Issue: Server won't start Solution: Check Node.js version and reinstall dependencies.Configuration
Configuration
Basic Configuration
Claude Desktop Setup
Edit~/.config/claude-desktop/claude_desktop_config.json (macOS/Linux) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
json
{
"mcpServers": {
"gemini-mcp": {
"command": "npx",
"args": ["-y", "gemini-mcp-desktop-client"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Environment Variables
Set the following environment variables as needed:bash
export API_KEY="your-api-key"
Examples
Examples
Basic Usage
Here are basic usage examples for the MCP server:Programmatic Usage
javascript
// JavaScript example (Node.js)
const { MCPClient } = require('@modelcontextprotocol/client');
const client = new MCPClient();
await client.connect();
// Execute tool
const result = await client.callTool('toolName', {
parameter1: 'value1',
parameter2: 'value2'
});
console.log(result);
Use Cases
Developing applications that connect to MCP servers for data operations.
Building chatbots using the Gemini API.
Creating desktop applications that display documents in Markdown format.
Developing tools that operate cross-platform.