Welcome to the GodProfile MCP Server! Thank you for wanting to make GitHub profiles infinitely more aesthetic and powerful.
Because GodProfile is an MCP (Model Context Protocol) Server, adding new functionality is incredibly straightforward. You do not need to build complex wrappers.
- Create your Core Logic: Write a new python module inside
src/godprofile_mcp/core/. - Expose the Endpoint: Import your module into
src/godprofile_mcp/server.pyand wrap it in the FastMCP decorator:@mcp.tool() def render_new_widget(theme: str) -> str: """Description of what your tool does. Claude reads this!""" return my_core_module.generate()
Themes dictate the visual rules for the tools (colors, fonts, radii). To add a new one:
- Open
src/godprofile_mcp/resources.py. - Append your theme dictionary to the
THEMESobject. Ensure it provides standard tokens likebg_gradient,accent,border, and typography strings.
- Keep tools fully deterministic.
- Do not utilize third-party SaaS stat counters directly in SVGs (like vercel endpoints) unless requested. Generate the SVG mathematically within Python.
- Always include type hints.