gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Gemini CLI: MCP server integration with Angular MCP fails to meet best practices and behaves inconsistently

Open VirtualArcher opened this issue 2 months ago • 0 comments

What happened?

MCP requests/invocations against an Angular MCP server are inconsistent, and no meaningful pattern can be identified across runs. As a result, best-practice requirements cannot be reliably met.

Hallo! I will create an Angular component that uses Signals for form management. First, I need to inspect the existing Angular project to understand its structure and version. ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ ✓ list_projects (angular-cli MCP Server) {} │ │ │ │ ENOENT: no such file or directory, scandir '/home/user/some_system_drive/V:/XYZ' │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ You are running Gemini CLI in your home directory. It is recommended to run in a project-specific directory. │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Using: 1 MCP server ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ > Type your message or @path/to/file

Steps to reproduce

Configure the Angular MCP server with 'ng mcp' Configure Gemini CLI to connect to the Angular MCP server Write a prompt, e.g., “Create an Angular 21 Form Signals component and use the Angular CLI MCP server.” Observe inconsistent behavior across runs with no clear pattern.

What did you expect to happen?

Expected behavior

Stable and predictable MCP integration: Consistent tool discovery/negotiation. Reliable transport and schema validation. Behavior that allows adherence to best practices.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
About Gemini CLI                                                                                                                               │
│                                                                                                                                                │
│ CLI Version                                       0.20.2                                                                                       │
│ Git Commit                                        af894e468                                                                                    │
│ Model                                             auto                                                                                         │
│ Sandbox                                           no sandbox                                                                                   │
│ OS                                                linux                                                                                        │
│ Auth Method                                       OAuth                                                                                        │
│ User Email                                        my-email-here                                                                       │
│ GCP Project                                       123

Login information

Google Account

Anything else we need to know?

No response

VirtualArcher avatar Dec 15 '25 09:12 VirtualArcher