Cursor plugin specification and official plugins
TypeScript
feat(third_party): add Tesla plugin
Liam Iland54bceb93efe
diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.jsonindex d7d2a96d..b69b642c 100644--- a/.cursor-plugin/marketplace.json+++ b/.cursor-plugin/marketplace.json@@ -687,6 +687,11 @@"grokbot": "0.49.0","sand": "0.49.0"}+ },+ {+ "name": "tesla",+ "source": "third_party/tesla",+ "description": "Read your Tesla cars and energy sites, and send commands you confirm."}]}diff --git a/README.md b/README.mdindex d2ac28d9..2a769e3e 100644--- a/README.md+++ b/README.md@@ -125,6 +125,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc| `rippling` | [Rippling](third_party/rippling/) | Cursor | Integrations | Look up people, time off, and company policy in Rippling, and file time-off requests and draft hires. || `onepay` | [OnePay](third_party/onepay/) | Cursor | Integrations | Access your OnePay accounts: balances, transactions, credit, Pay Later, investments, crypto, and rewards. || `questrade` | [Questrade](third_party/questrade/) | Cursor | Integrations | Read your Questrade portfolio, get live market data, and discuss potential trades. |+| `tesla` | [Tesla](third_party/tesla/) | Cursor | Integrations | Read your Tesla cars and energy sites, and send commands you confirm. |Author values match each plugin’s `plugin.json` `author.name` (Cursor lists `[email protected]` in the manifest).## Repository structurediff --git a/third_party/tesla/.cursor-plugin/plugin.json b/third_party/tesla/.cursor-plugin/plugin.jsonnew file mode 100644index 00000000..34c366fe--- /dev/null+++ b/third_party/tesla/.cursor-plugin/plugin.json@@ -0,0 +1,35 @@+{+ "name": "tesla",+ "displayName": "Tesla",+ "version": "1.0.0",+ "minClientVersions": {+ "cursor": "never",+ "grokbot": "0.30.0",+ "sand": "0.30.0"+ },+ "description": "Read your Tesla cars and energy sites, and send commands you confirm.",+ "author": {+ "name": "Cursor",+ "email": "[email protected]"+ },+ "homepage": "https://github.com/cursor/plugins/tree/main/third_party/tesla",+ "repository": "https://github.com/cursor/plugins",+ "license": "MIT",+ "logo": "assets/logo.svg",+ "keywords": [+ "tesla",+ "vehicle",+ "car",+ "energy",+ "powerwall",+ "mcp"+ ],+ "category": "integrations",+ "tags": [+ "tesla",+ "vehicle",+ "energy",+ "mcp"+ ],+ "mcpServers": "./mcp.json"+}diff --git a/third_party/tesla/CHANGELOG.md b/third_party/tesla/CHANGELOG.mdnew file mode 100644index 00000000..840eec79--- /dev/null+++ b/third_party/tesla/CHANGELOG.md@@ -0,0 +1,8 @@+# Changelog++All notable changes to this plugin will be documented here.++## 1.0.0 - initial release++- Logo: Tesla T emblem on a padded white tile.+- Added the `tesla` MCP server pointing at `https://api.cursor.com/rest-mcp/tesla/mcp`.diff --git a/third_party/tesla/LICENSE b/third_party/tesla/LICENSEnew file mode 100644index 00000000..ca2bba77--- /dev/null+++ b/third_party/tesla/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 Cursor++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/third_party/tesla/README.md b/third_party/tesla/README.mdnew file mode 100644index 00000000..0fdba8fe--- /dev/null+++ b/third_party/tesla/README.md@@ -0,0 +1,42 @@+# Tesla++Cursor plugin that connects Grok Bot to your [Tesla](https://www.tesla.com) account through Cursor's remote [Model Context Protocol](https://modelcontextprotocol.io/) server.++Read cars and Powerwall or solar sites, and send commands. Commands that unlock the car, open a closure, start keyless driving, or change backup power ask you before they run.++## Install++1. Open **Grok Bot Settings → Plugins**.+2. Search for **Tesla**.+3. Click **Install**, then complete the Tesla sign-in prompt.++## MCP++```json+{+ "mcpServers": {+ "tesla": {+ "type": "http",+ "url": "https://api.cursor.com/rest-mcp/tesla/mcp"+ }+ }+}+```++Auth is OAuth 2.0 against Tesla with the scopes `openid`, `offline_access`, `user_data`, `vehicle_device_data`, `vehicle_location`, `vehicle_cmds`, `vehicle_charging_cmds`, `energy_device_data`, and `energy_cmds`. Tesla shows each scope as its own checkbox. Grok Bot prompts for Tesla sign-in when the plugin connects. Accounts on tesla.cn are not supported.++Commands that reach the car need Cursor's key paired in the Tesla app. `get_vehicle` reports whether it is paired and returns a pairing link when it is not. A sleeping car is not woken by a read. `wake_vehicle` is a separate command, and Tesla bills each wake. Car coordinates come only from `get_vehicle_location`.++## Tools++- **Account and cars:** `get_account`, `list_orders`, `list_vehicles`, `get_vehicle`, `get_vehicle_data`, `get_vehicle_location`, `find_nearby_chargers`, `get_recent_alerts`, `get_service_status`, `get_release_notes`, `list_drivers`, `get_vehicle_entitlements`+- **Energy sites:** `list_energy_sites`, `get_energy_site`, `get_energy_history`+- **Commands:** `wake_vehicle`, `navigate_to`, `navigate_to_coordinates`, `navigate_to_supercharger`, `lock_vehicle`, `honk_horn`, `flash_lights`, climate and seat controls, charging and schedules, `control_media`, `set_vehicle_name`, `set_backup_reserve`, `set_energy_operation_mode`, `set_storm_watch`, `set_grid_import_export`, `set_off_grid_ev_reserve`+- **Commands that always ask:** `unlock_vehicle`, `actuate_trunk`, `open_frunk`, `control_windows`, `control_sunroof`, `remote_start_drive`, `set_sentry_mode`, `set_valet_mode`, `set_speed_limit`, `set_pin_to_drive`, `trigger_homelink`, `manage_software_update`++## Docs++- Tesla Fleet API: https://developer.tesla.com/docs/fleet-api++Logo is the Tesla T emblem, placed on a white tile with padding so it reads well in the UI:+https://commons.wikimedia.org/wiki/File:Tesla_T_symbol.svgdiff --git a/third_party/tesla/assets/logo.svg b/third_party/tesla/assets/logo.svgnew file mode 100644index 00000000..6b553f23--- /dev/null+++ b/third_party/tesla/assets/logo.svg@@ -0,0 +1,9 @@+<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192">+ <rect width="192" height="192" fill="#fff"/>+ <g transform="translate(19.2 19.3) scale(0.605)" fill="#e82127">+ <g transform="translate(-45.84,-64.297)">+ <path d="M 173.146,317.299 208.622,117.78 c 33.815,0 44.481,3.708 46.021,18.843 0,0 22.684,-8.458 34.125,-25.636 C 244.122,90.299 199.263,89.366 199.263,89.366 l -26.176,31.882 0.059,-0.004 -26.176,-31.883 c 0,0 -44.86,0.934 -89.5,21.622 11.431,17.178 34.124,25.636 34.124,25.636 1.549,-15.136 12.202,-18.844 45.79,-18.868 l 35.762,199.548"/>+ <path d="m 173.132,80.157 c 36.09,-0.276 77.399,5.583 119.687,24.014 5.652,-10.173 7.105,-14.669 7.105,-14.669 C 253.697,71.213 210.406,64.954 173.127,64.797 135.85,64.954 92.561,71.214 46.34,89.502 c 0,0 2.062,5.538 7.1,14.669 42.28,-18.431 83.596,-24.29 119.687,-24.014 h 0.005"/>+ </g>+ </g>+</svg>diff --git a/third_party/tesla/mcp.json b/third_party/tesla/mcp.jsonnew file mode 100644index 00000000..3c1e0b1e--- /dev/null+++ b/third_party/tesla/mcp.json@@ -0,0 +1,8 @@+{+ "mcpServers": {+ "tesla": {+ "type": "http",+ "url": "https://api.cursor.com/rest-mcp/tesla/mcp"+ }+ }+}