Gemini CLI Integration
Connect to Gemini CLI
Use viaSocket MCP with Google's Gemini CLI. Enable your AI assistant to perform real-world tasks through a simple, secure connection directly from your command line.
Installing Gemini CLI
First, set up Gemini CLI if you haven't already
Configuring viaSocket MCP in Gemini CLI
Create or edit your settings.json file:
User-wide:
~/.gemini/settings.jsonProject-specific:
.gemini/settings.json
Add the following JSON configuration to your settings.json file, replacing the placeholder URL with your MCP URL from below
Save the file and restart Gemini CLI to activate the connection
Caution: Treat your MCP server URL like a password! It can be used to run tools attached to this server and access your data.
Copy this MCP snippet:
{
"mcpServers": {
"viaSocket": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.viasocket.com/api/mcp/s/MmM5ZDczNWQtMjNmZS00MGFkLWExNTUtYjJkZTM4ZGI1OWFlOmM3OThlOWVhLTZjMGItNDM5MS04MTkwLWMxNDE0OWQ2ODM0Mg==/mcp",
"--transport",
"http-only"
],
"trust": true
}
}
}Server URL
The URL for this MCP server, will be displayed on the ViaSocket panel. It should be in the following format.
