Skip to main content
Question

Issue with MCP Server get_image and Google Gemini CLI


t.los

I tried Figma Dev Mode MCP server with GeminiCLI. Seems that the get_image Funktion can be called but Gemini reports an issue with saving the file
Do you know if it is a Figma Dev Mode MCP server issue or a Gemini CLI issue?
 

 

2 replies

Bhaumin
  • New Member
  • 2 replies
  • June 27, 2025

Can you please share your part of gemini config in which you have added mcp server of figma?


t.los
  • Author
  • New Member
  • 1 reply
  • June 27, 2025

My Gemini CLI Quickstart:
 

#gemini cli: for scripting and automation
#install
npm install -g @google/gemini-cli

#edit config 
notepad %USERPROFILE%\.gemini\settings.json

#add github + figma mcp server
...
"mcpServers": {

    "github": {
      "command": "npx",
      "args": [
        "-y",
         "@modelcontextprotocol/server-github"
      ],
      "env": {
       "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
      }
    },
    "Figma Dev Mode MCP": {
       "type": "sse",
       "url": "http://127.0.0.1:3845/sse"
    }
}

#start geminicli
gemini

#simple hello world
echo "create a python script with hello world, store in hello_world.py and execute that script. display the output. print what you are doing with enumeration" | gemini --yolo
Here is the plan:
1. Create the Python script `hello_world.py`.
2. Execute the script using the Python interpreter.
3. Display the output.Hello, World!

echo "create a python script with hello world, store in hello_world.py and execute that script. display the output. silent mode" | gemini --yolo
Hello, World

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings