mix ash_ai.gen.mcp (ash_ai v0.2.2)
View SourceSets up an MCP server for your application
Adds an MCP server to your router. Sets up Api Key authentication if
--no-api-key
is not providedAshAuthentication
is available.- The user module is defined
Example
mix ash_ai.gen.mcp --api-key
Options
Flags
--no-api-key
- Skip setting up api key authentication and adding it to the MCP server.--user
- The user to add api key auth to, if setting it up.