Skip to content

Instantly share code, notes, and snippets.

View LyalinDotCom's full-sized avatar
:octocat:
Gemini

Dmitry Lyalin LyalinDotCom

:octocat:
Gemini
View GitHub Profile
@LyalinDotCom
LyalinDotCom / gist:1590c6690a413abf6f0235d181ffb872
Created July 3, 2025 13:31
Draft: Genkit MCP server documentation
This feature enables you to enhance your local development workflow by integrating your Genkit project with the Gemini CLI. This integration allows the Gemini CLI to discover and use your locally defined Genkit tools and flows, enabling you to build, test, and interact with your code in a single, conversational interface.
This works via the Model Context Protocol (MCP), a standard that allows LLM clients to discover and interact with local tools and context.
### Prerequisites
- You have a working Genkit project.
- You have installed the Genkit CLI: `npm install -g genkit-cli`
- You have installed the Gemini CLI: `npm install -g @google/gemini-cli`
@LyalinDotCom
LyalinDotCom / gist:f324a9371e8601ad682e5d5adcc257c0
Created August 9, 2018 05:27
FileNotFoundException from EntityFrameworkCore
System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source=Microsoft.EntityFrameworkCore
StackTrace:
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.CoreConventionSetBuilder.CreateConventionSet()
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.CreateConventionSet(IConventionSetBuilder conventionSetBuilder)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.CreateModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.<>c__DisplayClass5_0.<GetModel>b__1()
at System.Lazy`1.CreateValue()