A web app that allows you to test and verify MCP (Model Context Protocol) servers by entering their URLs. It checks domain validity and displays information such as the server's display name, qualified name, deployment URL, and required configuration keys.
- Validate MCP server URLs against an allowed domain list
- Fetch and display server metadata:
- Display name
- Qualified name
- Deployment URL
- Required configuration keys
- Error handling for invalid domains or broken URLs
- Clean UI with a reset button
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express
- APIs: Axios for HTTP requests
- Deployment: Vercel or Netlify
mcp-server-tester/
├── api/
│ └── test-mcp.js # Express server endpoint (for Vercel)
├── public/
│ └── index.html # UI
│ └── style.css # Styling (optional)
│ └── script.js # Frontend logic
├── server.js # Local server for development
├── package.json
└── README.md
git clone https://github.com/your-username/mcp-server-tester.git
cd mcp-server-testernpm installnode server.jsVisit http://localhost:5000 to test.
- Push your code to GitHub.
- Go to vercel.com, import your repo.
- Make sure the
api/test-mcp.jsfile is inside theapi/folder. - Vercel will auto-detect the Express API.
- Point Netlify to your
/publicfolder (or root if using frontend framework). - In
script.js, set:
fetch("/api/test-mcp") // For relative path support on Vercel/NetlifyThis project is licensed under the MIT License.
Made with ❤️ by Prathmesh