Check this out: https://github.com/gemini-cli-extensions/security
This one seems to showcase a bunch of the "extension" features, including a custom MCP for dealing with file line numbers.