baasith6/cursor-skills/finding-dev-server-url
Claude Code and agent skill by baasith6/cursor-skills
- community
Checking that the SKILL.md file is still in the repository.
Scan running terminals for dev server URLs (localhost ports), report them, and optionally open the app in Cursor's built-in browser.
Install
npx vskill@latest install baasith6/cursor-skills/finding-dev-server-urlSKILL.md
The same SKILL.md was published earlier as spencerpauly/awesome-cursor-skills/finding-dev-server-url.
Finding Dev Server URL
Detect which dev servers are running, what ports they're on, and open them.
How It Works
Cursor stores live terminal output in text files. Each terminal has a file at:
The terminals folder path is provided in your system context. Each file contains metadata (pid, cwd, last command) followed by the full terminal output.
Workflow
1. List All Terminals
2. Read Each Terminal's Metadata
Read the first ~10 lines of each terminal file to see:
pid— process IDcwd— working directorylast_command— what's running (e.g.npm run dev,pnpm dev,python manage.py runserver)
Skip terminals where the last command is clearly not a server (e.g. git status, ls, cd).
3. Scan for Server URLs
Read the full content of terminals that look like they're running a server. Search for these patterns:
| Framework | Pattern | |
|---|---|---|
| Next.js | Local: http://localhost:XXXX or ▲ Ready | |
| Vite | Local: http://localhost:XXXX/ | |
| Create React App | Local: http://localhost:XXXX | |
| Express | listening on port XXXX or listening at http://... | |
| Django | Starting development server at http://127.0.0.1:XXXX/ | |
| Rails | Listening on http://127.0.0.1:XXXX | |
| Flask | Running on http://127.0.0.1:XXXX | |
| Go | Listening on :XXXX or http server started on :XXXX | |
| PHP | Development Server (http://localhost:XXXX) started | |
| Remix | http://localhost:XXXX | |
| Astro | http://localhost:XXXX | |
| Nuxt | http://localhost:XXXX |
Regex to match most server output:
Also check for standalone port patterns:
4. Report
Print a summary:
If no servers are found, say so and suggest starting one.
5. Open in Browser (Optional)
If the user wants to view the app, use Cursor's built-in browser:
Then take a screenshot to confirm it's rendering:
Tips
- If multiple servers are found, ask the user which one to open
- If a terminal shows an error (e.g.
EADDRINUSE,address already in use), report the conflict - If the server crashed (process exited), note that too — check for
exit_codein the terminal file footer - Common default ports: Next.js (3000), Vite (5173), Django (8000), Rails (3000), Flask (5000), Go (8080)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/finding-dev-server-url/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/baasith6/cursor-skills/finding-dev-server-url)