diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index d0dd0045a1..6448cac4e4 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -842,6 +842,11 @@ "name": "folk", "source": "third_party/folk", "description": "Search and update people, companies, deals, notes, tasks, and interactions, enrich contacts, and run email campaigns in folk." + }, + { + "name": "lightyear", + "source": "third_party/lightyear", + "description": "Analyze balances and transactions, manage watchlists and price alerts, draft investment plans, screen instruments, and draft orders for approval in the Lightyear app." } ] } diff --git a/README.md b/README.md index 8447d807c6..70b257778e 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,7 @@ Official Cursor plugins for popular developer tools, frameworks, and SaaS produc | `easyship` | [Easyship](third_party/easyship/) | Cursor | Integrations | Compare courier rates, create shipments, buy labels, book pickups, track parcels, and read shipping analytics across 550+ couriers. | | `jobber` | [Jobber](third_party/jobber/) | Cursor | Integrations | Look up clients, quotes, jobs, visits, and invoices, and create clients, requests, and quotes. | | `folk` | [folk](third_party/folk/) | Cursor | Integrations | Search and update people, companies, deals, notes, tasks, and interactions, enrich contacts, and run email campaigns in folk. | +| `lightyear` | [Lightyear](third_party/lightyear/) | Cursor | Integrations | Analyze balances and transactions, manage watchlists and price alerts, draft investment plans, screen instruments, and draft orders for approval in the Lightyear app. | Author values match each plugin’s `plugin.json` `author.name` (Cursor lists `plugins@cursor.com` in the manifest). ## Repository structure diff --git a/third_party/lightyear/.cursor-plugin/plugin.json b/third_party/lightyear/.cursor-plugin/plugin.json new file mode 100644 index 0000000000..9bc85c5b01 --- /dev/null +++ b/third_party/lightyear/.cursor-plugin/plugin.json @@ -0,0 +1,40 @@ +{ + "name": "lightyear", + "displayName": "Lightyear", + "version": "1.0.0", + "minClientVersions": { + "cursor": "3.13.0" + }, + "description": "Analyze balances and transactions, manage watchlists and price alerts, draft investment plans, screen instruments, and draft orders for approval in the Lightyear app.", + "author": { + "name": "Cursor", + "email": "plugins@cursor.com" + }, + "homepage": "https://lightyear.com", + "repository": "https://github.com/cursor/plugins", + "license": "MIT", + "logo": "assets/logo.png", + "keywords": [ + "lightyear", + "brokerage", + "investing", + "stocks", + "etfs", + "portfolio", + "balances", + "transactions", + "watchlists", + "price alerts", + "investment plans", + "orders", + "mcp" + ], + "category": "integrations", + "tags": [ + "lightyear", + "finance", + "investing", + "mcp" + ], + "mcpServers": "./mcp.json" +} diff --git a/third_party/lightyear/CHANGELOG.md b/third_party/lightyear/CHANGELOG.md new file mode 100644 index 0000000000..c4345f2341 --- /dev/null +++ b/third_party/lightyear/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +All notable changes to this plugin will be documented here. + +## 1.0.0 — initial release + +- Added the `lightyear` MCP server pointing at Lightyear's hosted Streamable HTTP endpoint at the root of `https://mcp.lightyear.com` (no `/mcp` suffix). +- Auth uses OAuth 2.1 with Lightyear user login (authorization code + PKCE S256, authorization server `api.lightyear.com`, consent on `lightyear.com`). Lightyear has no dynamic client registration and identifies clients by OAuth Client ID Metadata Document; its authorization server accepts Cursor's published client metadata, so there is no API key or client ID to configure. +- Scopes: `account:read`, `investment_plan:read`, `investment_plan:write`, `order_proposal:write`, `price_alert:read`, `price_alert:write`, `watchlist:read`, `watchlist:write`. Orders are only drafted as proposals and must be approved in the Lightyear app. +- Logo: Lightyear's official bolt mark, the 512×512 icon published on lightyear.com, resized to 256×256. diff --git a/third_party/lightyear/LICENSE b/third_party/lightyear/LICENSE new file mode 100644 index 0000000000..ca2bba771c --- /dev/null +++ b/third_party/lightyear/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/lightyear/README.md b/third_party/lightyear/README.md new file mode 100644 index 0000000000..4bd1d476cd --- /dev/null +++ b/third_party/lightyear/README.md @@ -0,0 +1,71 @@ +# Lightyear + +Cursor plugin that connects agents to [Lightyear](https://lightyear.com), the European investing platform, through Lightyear's official remote [Model Context Protocol](https://modelcontextprotocol.io/) server. + +Analyze your balances and transactions, create and manage watchlists and price alerts, draft and edit investment plans, search and screen the instruments available on Lightyear, and draft orders that you review and approve in the Lightyear app. + +## Install + +1. Open **Cursor Settings → Plugins**. +2. Search for **Lightyear**. +3. Click **Install**, then complete the Lightyear sign-in prompt and approve the requested access. + +Or run `/add-plugin lightyear` in chat. + +## MCP + +```json +{ + "mcpServers": { + "lightyear": { + "type": "http", + "url": "https://mcp.lightyear.com" + } + } +} +``` + +The server lives at the root of `mcp.lightyear.com`; there is no `/mcp` suffix. + +Auth is OAuth 2.1 authorization code with PKCE (S256) against Lightyear's authorization server at `api.lightyear.com`, with sign-in and consent on `lightyear.com`. An unauthenticated request returns `401` with `resource_metadata` pointing at `https://mcp.lightyear.com/.well-known/oauth-protected-resource`. Lightyear does not offer dynamic client registration; it identifies clients by [OAuth Client ID Metadata Document](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/) and accepts Cursor's published client metadata (`https://cursor.com/oauth/mcp-client.json`), so there is no client ID or secret to configure. Cursor prompts for Lightyear sign-in when the plugin connects, and each user signs in with their own Lightyear account. + +The server requests these scopes: `account:read`, `investment_plan:read`, `investment_plan:write`, `order_proposal:write`, `price_alert:read`, `price_alert:write`, `watchlist:read`, `watchlist:write`. + +## Before you connect + +You need a Lightyear account. Lightyear is a regulated brokerage: when you invest, your capital is at risk. The connection has the same access as your Lightyear account, limited to the scopes above. + +**Orders are never placed from Cursor.** The agent can only draft an order proposal (`order_proposal:write`). Every proposal must be reviewed and approved by you in the Lightyear app before any order is submitted to the market, and nothing is bought or sold until you approve it there. + +## What agents can do + +| Area | Read | Write | +| --- | --- | --- | +| Account | Balances and transactions | — | +| Instruments | Search and screen stocks, ETFs, and other instruments available on Lightyear | — | +| Watchlists | List watchlists and their instruments | Create and edit watchlists | +| Price alerts | List price alerts | Create and edit price alerts | +| Investment plans | Read plans and their allocations | Draft and edit plans | +| Orders | — | Draft an order proposal for your approval in the Lightyear app | + +The hosted server is the source of truth for tool names and schemas; the tool list is only available after sign-in. + +## Notes + +- Drafting an order proposal does not trade. Open the Lightyear app, review the proposal (instrument, side, quantity or amount, order type), and approve or discard it there. Treat any approval as final once submitted. +- Writes to watchlists, price alerts, and investment plans take effect in your Lightyear account immediately. Changing a plan's allocation or recurring payment changes what future contributions buy. +- Nothing from this plugin is investment advice. Lightyear does not offer advisory or portfolio-management services through this connection. +- Revoke access by disconnecting the plugin in Cursor. + +## Docs + +- Lightyear: https://lightyear.com +- Server URL: https://mcp.lightyear.com +- Protected resource metadata: https://mcp.lightyear.com/.well-known/oauth-protected-resource +- Authorization server metadata: https://api.lightyear.com/.well-known/oauth-authorization-server + +Logo is Lightyear's official mark, the icon published on lightyear.com. + +## License + +MIT diff --git a/third_party/lightyear/assets/logo.png b/third_party/lightyear/assets/logo.png new file mode 100644 index 0000000000..ab1b0d7cb3 Binary files /dev/null and b/third_party/lightyear/assets/logo.png differ diff --git a/third_party/lightyear/mcp.json b/third_party/lightyear/mcp.json new file mode 100644 index 0000000000..0afb581ba8 --- /dev/null +++ b/third_party/lightyear/mcp.json @@ -0,0 +1,8 @@ +{ + "mcpServers": { + "lightyear": { + "type": "http", + "url": "https://mcp.lightyear.com" + } + } +}