John McCain has courted the conservative base with his ideas on Supreme Court nominees and has underscored differences with Barack Obama.