Skip to content

Implement Gitmoji MCP server with tool/resource to retrieve Gitmoji schema #1962

@1sabelle

Description

@1sabelle

Description of the problem

I would like to be able to connect my AI agent workflows to have access to a Gitmoji MCP server that retrieves information about the current Gitmoji schema for using when creating commit messages as part of my agentic workflow.

Therefore I propose a simple MCP server setup with some functionality that lets the agent retrieve information about the current Gitmoji schema.

Solution

Feature proposal

Add a MCP (Model Context Protocol) server with the following tool/resource:

Retrieve Gitmoji schema, to let LLM/AI agents to retrieve the currently defined Gitmojis. Should be able to use http://github.com/carloscuesta/gitmoji/blob/master/packages/gitmojis/src/gitmojis.json file directly.

I do not believe a "suggestion" tool is much use here since that would require some form of evaluation logic in the tool itself, and believe it's better to simply retrieve the schema and let the agent parse the response to suggest the right Gitmoji to used based on code changes on the client's end.

Alternatives

Currently I have pasted the legend into my CLAUDE.md (or AGENTS.md equivalent) file, but this will not be dynamically updated as new Gitmojis are added or changed.

This could also potentially be achieved by adding the Gitmoji GitHub repository to Context7, but I am unsure how reliable that is and how token intensive it would be comapred to using a retrieval tool/resource directly.

Additional context

Documentation about MCP: https://modelcontextprotocol.io/docs
Building an MCP server: https://modelcontextprotocol.io/docs/develop/build-server
TypeScript SDK: https://github.com/modelcontextprotocol/typescript-sdk

Additional note: Code of Conduct link in "Validations" section of issue creation leads to 404.

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions