To get access to Mechanical World in Area 2, go to the section north of the exit in Konami Town and destroy the well next to the big castle gate. After a short underground maze, you will get to Surprise Pass and then to the amusement park.
Watch out for the thieving pickpockets inside the park, though.
Watch out for the thieving pickpockets inside the park, though.