Add server capabilities.
Fix typo breaking the TS6 feature.