Repository navigation
Add Levea plugin (remote MCP) - #1019
cursor[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Danny Jiang <djiang-jq@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
Bugbot Autofix prepared fixes for both issues found in the latest run.
- ✅ Fixed: URL-only config omits API key
- The hosted Levea MCP now sends the user API key as Authorization: Bearer ${LEVEA_API_KEY}, with a required plugin variable and README install steps that replace the incorrect OAuth claim.
- ✅ Fixed: Grok Bot missing server placement
- mcp.json and the README sample now set placement to server so Grok Bot dials the hosted MCP path and can show a connect card.
Or push these changes by commenting:
@cursor push e72120c04d
Preview (e72120c04d)
diff --git a/third_party/levea/.cursor-plugin/plugin.json b/third_party/levea/.cursor-plugin/plugin.json
--- a/third_party/levea/.cursor-plugin/plugin.json
+++ b/third_party/levea/.cursor-plugin/plugin.json
@@ -26,5 +26,18 @@
"media",
"mcp"
],
+ "variables": {
+ "type": "object",
+ "properties": {
+ "LEVEA_API_KEY": {
+ "type": "string",
+ "title": "Levea API key",
+ "description": "API key from https://livecore.ai. Sent as Authorization: Bearer. Video edits require it."
+ }
+ },
+ "required": [
+ "LEVEA_API_KEY"
+ ]
+ },
"mcpServers": "./mcp.json"
}
diff --git a/third_party/levea/README.md b/third_party/levea/README.md
--- a/third_party/levea/README.md
+++ b/third_party/levea/README.md
@@ -8,7 +8,7 @@
1. Open **Cursor Settings → Plugins**.
2. Search for **Levea**.
-3. Click **Install**, then complete the Levea sign-in prompt.
+3. Click **Install**, then set your Levea API key (below).
Or run `/add-plugin levea` in chat.
@@ -19,17 +19,21 @@
"mcpServers": {
"levea": {
"type": "http",
- "url": "https://api.livecore.ai/api/v1/misc/mcp"
+ "url": "https://api.livecore.ai/api/v1/misc/mcp",
+ "headers": {
+ "Authorization": "Bearer ${LEVEA_API_KEY}"
+ },
+ "placement": "server"
}
}
}-Auth is OAuth 2.1. Cursor opens a Levea sign-in page at livecore.ai when the plugin connects; there is no API key to configure.
+Auth is a Levea API key sent as Authorization: Bearer. Generate one at https://livecore.ai, then set it in Dashboard → Plugins → Configure. Do not commit the key. Listing tools works without a key; video edits require it.
Before you connect
-You need a Levea account. New accounts are created on first sign-in.
+You need a Levea account and an API key from https://livecore.ai.
What agents can do
diff --git a/third_party/levea/mcp.json b/third_party/levea/mcp.json
--- a/third_party/levea/mcp.json
+++ b/third_party/levea/mcp.json
@@ -2,7 +2,11 @@
"mcpServers": {
"levea": {
"type": "http",
-
"url": "https://api.livecore.ai/api/v1/misc/mcp"
-
"url": "https://api.livecore.ai/api/v1/misc/mcp", -
"headers": { -
"Authorization": "Bearer ${LEVEA_API_KEY}" -
}, -
}
"placement": "server"
}
}
</details>
<sub>You can send follow-ups to the cloud agent <a href="https://cursor.com/agents/bc-e748cd95-2d8c-4dd0-b12e-3e0967edcb7e">here</a>.</sub>
<!-- BUGBOT_AUTOFIX_REVIEW_FOOTNOTE_END -->
<sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 32d2c4a2d31950c49e50a3a66eab64c91f47abf0. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
| "url": "https://api.livecore.ai/api/v1/misc/mcp" | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
URL-only config omits API key
High Severity · Bugbot Rules
Vendor docs for https://api.livecore.ai/api/v1/misc/mcp require an API key via Authorization: Bearer (or ?apiKey=). mcp.json is URL-only, plugin.json has no key variable, and the README claims OAuth with no key. Installs can list tools but cannot run edits.
Additional Locations (2)
Triggered by learned rule: Plugin OAuth scopes must be vendor-advertised
Reviewed by Cursor Bugbot for commit 32d2c4a. Configure here.
| "levea": { | ||
| "type": "http", | ||
| "url": "https://api.livecore.ai/api/v1/misc/mcp" | ||
| } |
There was a problem hiding this comment.
Grok Bot missing server placement
Medium Severity · Logic Bug
The hosted server omits placement server. On Grok Bot, hosted MCP rows without that field stay UNDECIDED and never show a connect card, so the listed Grok Bot / Grok targets cannot finish sign-in.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 32d2c4a. Configure here.
|
Hi @djiang-jq @rshah2020 — maintainer of Levea ( I opened a clean, rebased PR in #1256 that fixes all the Bugbot items here and adds the missing Quick context on the two Bugbot items on this PR: 1. Bugbot item #1 ("URL-only config omits API key") is a false positive — OAuth 2.1 + Dynamic Client Registration is liveWhen the submission bot created #1019 on Oct 27, the build VM timed out reaching the endpoint, so Bugbot fell back to older README text mentioning Please do NOT apply the # 1. Unauthenticated initialize -> 401 + RFC 9728 resource_metadata & scope="levea"
curl -i -X POST https://api.livecore.ai/api/v1/misc/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"cursor","version":"1.0.0"}}}'
# -> HTTP/1.1 401 Unauthorized
# -> WWW-Authenticate: Bearer realm="levea", resource_metadata="https://api.livecore.ai/.well-known/oauth-protected-resource/api/v1/misc/mcp", scope="levea"
# 2. Protected Resource Metadata (RFC 9728)
curl -s https://api.livecore.ai/.well-known/oauth-protected-resource/api/v1/misc/mcp
# -> {"resource":"https://api.livecore.ai/api/v1/misc/mcp","authorization_servers":["https://api.livecore.ai"],"scopes_supported":["levea"],"bearer_methods_supported":["header"]}
# 3. Authorization Server Metadata (RFC 8414 + RFC 7591 Dynamic Client Registration)
curl -s https://api.livecore.ai/.well-known/oauth-authorization-server
# -> {"issuer":"https://api.livecore.ai","authorization_endpoint":"https://api.livecore.ai/api/v1/misc/oauth/authorize","token_endpoint":"https://api.livecore.ai/api/v1/misc/oauth/token","registration_endpoint":"https://api.livecore.ai/api/v1/misc/oauth/register","scopes_supported":["levea"],"code_challenge_methods_supported":["S256"], ...}2. Bugbot item #2 ("Grok Bot missing server placement")Fixed in #1256 by adding |



Adds the Levea plugin under
third_party/levea/. Levea is a prompt-first AI video editor: describe an edit in plain language and get a finished MP4 (clips, animated captions, 9:16 reframe, background removal, B-roll, voiceover, music, silence removal, export).Submission
leveaChanges
third_party/levea/mcp.jsonstores the hosted server URL exactly as submitted.third_party/levea/.cursor-plugin/plugin.jsonreferences./mcp.jsonandassets/logo.png, categoryintegrations.third_party/levea/assets/logo.pngdownloaded from the submitted logo_url (400×400 PNG): https://raw.githubusercontent.com/brajendrak00068/agentic-ai-video-production/main/assets/logo-icon-400.pngthird_party/levea/README.mdwith install steps and the MCP JSON block..cursor-plugin/marketplace.json..claude-plugin/marketplace.jsonis unchanged.Testing instructions (from the submitter)
Add https://api.livecore.ai/api/v1/misc/mcp as a remote MCP server. The client is sent to an OAuth sign-in page at livecore.ai, where reviewers can create a free account with any email and password (new accounts are created automatically) and approve access. Then try: call editor_health, list_caption_templates, or autonomous_edit with a prompt like "make a 15-second vertical clip with bold captions" and a public video URL. Source and docs: https://github.com/brajendrak00068/agentic-ai-video-production. Support: brajendra@livecore.ai
Verification
node scripts/validate-plugins.mjspasses.initializerequest from the build VM (no HTTP response), so the server and OAuth flow have not been exercised. A reviewer should run the testing steps above.This should be opened as a draft; please mark it draft if it is not already.
Note
Medium Risk
Introduces a new third-party hosted MCP endpoint and OAuth flow that agents will call after install; listing is additive but the remote service was not fully verified in CI.
Overview
Adds the Levea third-party integration so Cursor agents can reach Levea’s hosted video-editing MCP at
https://api.livecore.ai/api/v1/misc/mcp(OAuth 2.1; no API key inmcp.json).New content under
third_party/levea/includes the standard.cursor-plugin/plugin.json(integrations category,./mcp.json, logo),mcp.jsonwith the HTTP server URL, and a README covering install, auth, and agent capabilities (clips, captions, reframe, voiceover, export). The root README integrations table and.cursor-plugin/marketplace.jsoneach gain aleveaentry listing prompt-driven video editing.This is an unreviewed marketplace submission; behavior and tools are defined entirely by the remote server, not code in this repo.
Reviewed by Cursor Bugbot for commit 32d2c4a. Bugbot is set up for automated code reviews on this repo. Configure here.