Skip to main content
Glama
__init__.py919 B
# Here you define the commands that will be added to your add-in. # TODO Import the modules corresponding to the commands you created. # If you want to add an additional command, duplicate one of the existing directories and import it here. # You need to use aliases (import "entry" as "my_module") assuming you have the default module named "entry". from .server import entry as serverEntry # TODO add your imported modules to this list. # Fusion will automatically call the start() and stop() functions. commands = [serverEntry] # Assumes you defined a "start" function in each of your modules. # The start function will be run when the add-in is started. def start(): for command in commands: command.start() # Assumes you defined a "stop" function in each of your modules. # The stop function will be run when the add-in is stopped. def stop(): for command in commands: command.stop()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shiguri-01/fusion-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server