Bridge MCP permettant d'utiliser les outils JetBrains IDE depuis Cascade (Windsurf) ou tout autre client MCP.
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Cascade/ │────▶│ MCP Bridge │────▶│ JetBrains IDE │
│ Windsurf │ │ (stdio) │ │ (SSE :64342) │
│ │◀────│ │◀────│ │
└─────────────────┘ └──────────────────┘ └─────────────────┘
- JetBrains IDE (IntelliJ, WebStorm, PyCharm, etc.) avec le plugin MCP activé
- Node.js >= 18
- Windsurf avec Cascade
npm install
npm run build:mcpAjoutez cette configuration dans les paramètres MCP de Windsurf (~/.codeium/windsurf/mcp_config.json) :
{
"mcpServers": {
"jetbrains": {
"command": "node",
"args": ["C:/Users/chris/IdeaProjects/test/dist/mcp-server.js"],
"env": {
"JETBRAINS_MCP_HOST": "127.0.0.1",
"JETBRAINS_MCP_PORT": "64342"
}
}
}
}Note: Adaptez le chemin
argsselon l'emplacement de votre projet.
- Ouvrez votre IDE JetBrains avec un projet
- Vérifiez que le proxy MCP est actif (port 64342 par défaut)
- Redémarrez Windsurf pour charger la configuration MCP
- Utilisez Cascade - les outils JetBrains seront disponibles
| Variable | Défaut | Description |
|---|---|---|
JETBRAINS_MCP_HOST |
127.0.0.1 |
Hôte du proxy MCP JetBrains |
JETBRAINS_MCP_PORT |
64342 |
Port du proxy MCP JetBrains |
npm run start:mcpUne interface React est également disponible pour tester la connexion :
npm run devOuvrez http://localhost:5173 pour voir les outils MCP disponibles.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])