Feature request for product/service
3rd Party Extensions
Describe the request
Proposal: First-class plugin actions for reusable executable workflows
I think Cursor plugins could benefit from a first-class concept for executable actions/scripts that agents can call directly, without going through the generic Bash/terminal tool.
Today, if a plugin or skill includes a reusable script, the usual pattern is something like:
Skill
-> agent decides to run script
-> Bash / terminal tool call
-> ./scripts/do-something.sh
This works, but the script is still treated as arbitrary shell execution.
For reusable plugin functionality, it would be useful to have something more like a first-class actions or tools entity:
Plugin
├── skills/
├── commands/
├── hooks/
├── actions/
│ ├── investigate-issue.sh
│ └── deploy.sh
└── mcp.json
The plugin could declare an action with typed inputs, output format, and required capabilities:
{
"actions": {
"investigate-issue": {
"command": "./actions/investigate-issue.sh",
"inputSchema": {
"type": "object",
"properties": {
"issueId": {
"type": "string"
}
},
"required": ["issueId"]
},
"output": "json"
}
}
}
The agent would then see something conceptually like:
investigate-issue({
issueId: "ENG-123"
})
instead of generating a terminal command such as:
./actions/investigate-issue.sh ENG-123
Why this would be useful
The main advantage is that reusable plugin code becomes an explicit agent capability instead of arbitrary shell execution.
Cursor would know:
- which executable belongs to the plugin
- what arguments it accepts
- what output it returns
- which permissions it needs
- whether it can access the workspace, network, or specific MCP servers
That could also allow these actions to be approved at the plugin/capability level instead of requiring normal terminal approval every time.
For example:
{
"permissions": {
"workspace": "read",
"mcp": [
"linear:get_issue",
"github:search_pull_requests"
]
}
}
This seems safer and easier to reason about than giving the action unrestricted shell access.
MCP integration
The part I find especially interesting is allowing these actions to call MCP tools using Cursor’s existing authenticated MCP connections.
For example, a plugin action could internally do something equivalent to:
get Linear issue
-> extract repository
-> search GitHub PRs
-> check CI
-> normalize results
-> return JSON
Instead of the agent doing:
Agent -> MCP
Agent -> MCP
Agent -> MCP
Agent -> shell
Agent -> MCP
it could become:
Agent
-> plugin action
-> MCP
-> transform result
-> MCP
-> condition
-> MCP
-> structured result
This would be useful for deterministic workflows where an LLM does not need to reason between every tool call.
It would also avoid requiring plugin authors to separately manage API keys or OAuth tokens when the user has already authenticated the relevant MCP server in Cursor.
Ideally the action would not receive the raw credentials. Cursor would expose an authenticated MCP-call interface to the action and remain responsible for credentials, permissions, and authorization.
Example use case
Imagine a skill for investigating an issue.
Today the skill may tell the agent:
1. Call Linear MCP.
2. Extract the repository.
3. Call GitHub MCP.
4. Check CI.
5. Run a local script.
6. Call another MCP tool.
Instead, the plugin could expose:
investigate-issue(issueId)
The implementation could combine local deterministic logic and multiple MCP calls, then return:
{
"issue": {},
"pullRequest": {},
"ci": {},
"deployment": {}
}
The agent only needs to reason about the final result.
Possible model
This would work as a separate primitive from skills and hooks:
Skills -> instructions / reusable agent knowledge
Commands -> user-triggered workflows
Hooks -> event-triggered executable logic
Actions -> agent-callable executable logic
MCP -> external tools and services
The implementation language should probably be irrelevant. An action could point to Bash, Python, Node, or a compiled binary.
The important abstraction would be that a plugin can expose trusted, typed executable functionality directly to the agent.
If actions could also access authenticated MCP tools through Cursor, this could make plugins much better for building reusable deterministic workflows while reducing unnecessary agent turns and repeated shell permissions.
Curious whether something along these lines is already being considered.