VIGNESH-2232005/mcp-server--HTTP-API-integrated-with-windsurf
3.2
If you are the rightful owner of mcp-server--HTTP-API-integrated-with-windsurf and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
An HTTP-based MCP server that manages employee data via an External API and secures access using Google Authentication.
Employee Management MCP Server (with External API & Google OAuth)
An HTTP-based MCP server that manages employee data via an External API and secures access using Google Authentication.
Architecture
- Mock API Server (
:4000): Simulates an external database/API. Stores data indata/api_db.json. - Main MCP Server (
:3000): Connects Windsurf to the API and handles Authentication. - Bridge (
stdio): Connects Windsurf IDE to the Main Server.
Prerequisites
- Node.js (v18+)
- Google Cloud Credentials
How to Run (Requires 2 Terminals)
Terminal 1: Message Storage (The API)
This must run first. It acts as the database.
npm run api
(Runs on port 4000)
Terminal 2: The Logic (The Server)
This connects the AI to the API.
npm start
(Runs on port 3000)
Terminal 3: The Client (Optional)
To test it manually without Windsurf:
npm run client
Windsurf Integration
- Ensure both Terminal 1 and Terminal 2 are running.
- Restart Windsurf.
- Login: A browser window will open.
- Chat: Ask "List all employees".
Project Structure
src/api_server.js: The Mock API (Data Store).src/server.js: The Main MCP Server (Logic & Auth).src/employees.js: Logic to fetch data from API.src/bridge.js: Integration script for Windsurf.