A minimal Node + Express web application with a health check endpoint. Created in under an hour.
-
Install dependencies:
npm install
-
Start the server:
npm start
-
Open your browser:
- Main page: http://localhost:3000
- Pictures page: http://localhost:3000/pictures
- Health check: http://localhost:3000/health
This project supports testing with both Playwright and Vibium browser automation frameworks.
Run all tests (both frameworks):
npm testRun only Playwright tests:
npm run test:playwrightRun only Vibium tests:
npm run test:vibiumRun both frameworks sequentially:
npm run test:allIf you encounter errors when running Playwright tests, you may need to install the browser binaries:
npx playwright installThe tests will automatically display a helpful message if browsers are not installed.
Note: The server must be running before executing tests. Start it with
npm startin a separate terminal.
For more details about the test structure, see tests/README.md.
GET /- Home dashboard with navigation and status summaryGET /pictures- Image gallery with upload formPOST /pictures/upload- Upload endpoint for image filesGET /health- Health check endpoint (returns JSON with status and timestamp)
This project includes configurations for multiple MCP (Model Context Protocol) servers. All configurations are located in .cursor/mcp.json for easy management.
-
GitHub MCP Server
- Package:
@modelcontextprotocol/server-github - Command:
npx -y @modelcontextprotocol/server-github - Environment Variables:
GITHUB_PERSONAL_ACCESS_TOKEN(required - add your token)
- Package:
-
Playwright MCP Server
- Package:
@playwright/mcp@latest - Command:
npx -y @playwright/mcp@latest - Provides browser automation capabilities
- Package:
-
Vibium MCP Server
- Package:
vibium - Command:
npx -y vibium mcp - Type:
stdio - Provides browser automation features
- Package:
-
The configuration file (
.cursor/mcp.json) is excluded from version control (see.gitignore) as it contains local development settings. -
For GitHub MCP Server:
- Create a GitHub Personal Access Token with appropriate permissions
- Add the token to the
GITHUB_PERSONAL_ACCESS_TOKENenvironment variable in.cursor/mcp.json
-
Restart Cursor after making any changes to the MCP configuration for the changes to take effect.
All MCP servers will be automatically available when using Cursor with MCP support.