Cursor Discord Rich Presence
A VS Code / Cursor extension that shows your coding activity on Discord.

Features
- Shows current file name on Discord
- Shows workspace name
- Detects and displays programming language (40+ languages)
- Tracks elapsed time
- Idle mode when window loses focus
- Auto-connect and reconnect
- Status bar connection indicator
Discord Preview

Installation
Cursor (Recommended)
Open Cursor → Extensions → Search "Cursor Discord Rich Presence" → Install
VS Code
Open VS Code → Extensions → Search "Cursor Discord Rich Presence" → Install
Manual Installation
- Download the latest
.vsix from GitHub Releases
- Open Cursor/VS Code
- Press
Ctrl+Shift+P
- Type "Extensions: Install from VSIX..."
- Select the downloaded
.vsix file
- Restart
Settings
Ctrl+Shift+P → "Preferences: Open Settings" → search cursorDiscord:
| Setting |
Default |
Description |
showWorkspace |
true |
Show workspace name on Discord |
showFileName |
true |
Show current file name on Discord |
showLanguage |
true |
Show programming language on Discord |
showElapsedTime |
true |
Show elapsed time on Discord |
idleMessage |
"Idle" |
Message shown when window is not focused |
Commands
| Command |
Description |
Discord RPC: Reconnect |
Reconnect to Discord |
Discord RPC: Disconnect |
Disconnect from Discord |
Supported Languages
JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Rust, Ruby, PHP, Swift, Kotlin, HTML, CSS, SCSS, JSON, Markdown, YAML, XML, SQL, Shell, Bash, PowerShell, Docker, TOML, Vue, Svelte, JSX, TSX, Lua, Dart, R, Elixir, Haskell, Scala, Solidity, Terraform and more.
Requirements
- Cursor or VS Code 1.74 or higher
- Discord desktop app (running)
Technical Details
- Uses raw Discord IPC Protocol (no external dependencies)
- Uses Named Pipe connection instead of WebSocket (more reliable)
- Sends ping every 30 seconds to keep connection alive
- Total size: ~6KB
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
License
Apache License 2.0