screenshot
Take a screenshot of a URL or a local path (relative URL appended to http://localhost:3000).
Five small development tools — architect, screenshot, code review, and reading one file or several — in a tutorial MCP server written for Cursor, with setup shown for Windsurf.
LABSCO SUMMARY
It is a small, readable example of five MCP tools rather than something to point at a production repository. Its own README flags the key-in-source pattern it demonstrates as unsuitable for production — set the variable in your client's MCP settings instead of committing it.
A TypeScript MCP server with five tools aimed at coding work: calling a reasoning model for a plan, working from a UI screenshot, reviewing a git diff, and reading one file or several.
src/tools/, so the implementation is readable end to endNode with npm install and npm run build. An API key goes in src/env/keys.ts as OPENAI_API_KEY, or is set inline in your client's MCP interface — which the README recommends instead. Configure the client to run node against the built build/index.js.
Build from source — git clone https://github.com/yeakub108/mcp-server.git
USE CASES
Send the problem to a reasoning model and get back instructions the coding agent can follow.
Capture the UI you want and hand it to the composer agent as the reference.
Run a review off the git diff rather than re-reading the whole file.
Read four small tool files and the entry point that registers the five tools they define.
Listed in project code.
screenshotTake a screenshot of a URL or a local path (relative URL appended to http://localhost:3000).
architectAnalyzes a task description plus some code, then outlines steps for an AI coding agent.
code-reviewRun a git diff against main on a specified file and provide instructions to review/fix issues.
read_fileRead the contents of a single file
read_multiple_filesRead the contents of multiple files
BEFORE YOU INSTALL
5 tools registered in the project's code.
Node.js with npm, to build it and run build/index.js
The documented client runs the server on your machine.
INSTALLATION
git clone https://github.com/yeakub108/mcp-server.git
cd mcp-serverCreate the file src/env/keys.ts containing export const OPENAI_API_KEY = "<YOUR_OPENAI_API_KEY>";
npm install
npm run build{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": [
"D:\\mpc-server\\build\\index.js"
]
}
}
}D:\mpc-server\build\index.js is the author's own path — put the full path to build/index.js in your clone there.