API Guide >

# Command plug-ins

This section provides information on how to create your own MEL commands via your own plug-in.

#### Topics in this section

- Overview of adding commands to Maya
- Registering commands
- MFnPlugin
- initializePlugin()
- uninitializePlugin()
- Creator methods
- MPxCommand
- Returning results to MEL
- Syntax objects
- Flags
- Contexts
- MPxContext
- MPxContextCommand
- Tool property sheets
- MPxToolCommand
- Attaching a plug-in to a Maya menu