A convicted felon fired gunshots Thursday night outside the Johnson County Mental Health Center's Olathe office.