The lua mcp command manages Model Context Protocol (MCP) servers. Use it to list, activate, deactivate, and delete MCP servers.
Copy
lua mcp # Interactive modelua mcp list # List all serverslua mcp activate # Activate a serverlua mcp deactivate # Deactivate a serverlua mcp delete # Delete a server
lua mcp deactivate # Interactive selectionlua mcp deactivate github # Deactivate by name# orlua mcp disable github # Alias
What happens:
Server is marked as inactive
Server’s tools are removed from agent runtime
Configuration is preserved (can be re-activated)
Example:
Copy
$ lua mcp deactivate github🔄 Deactivating github...✅ MCP server "github" deactivated successfully!💡 The server's tools are no longer available to your agent.
lua mcp delete # Interactive selectionlua mcp delete github # Delete by name# orlua mcp rm github # Alias
This is permanent! Deleting an MCP server removes it from the platform. You’ll need to re-compile and push to recreate it.
Example:
Copy
$ lua mcp delete github⚠️ You are about to delete MCP server: github⚠️ WARNING: This server is currently ACTIVE!? Are you sure you want to delete this MCP server? (y/N) y🔄 Deleting github...✅ MCP server "github" deleted successfully!