scpl-updated-mcp-server 1.0.18 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SCPL_REFERENCE.md +1 -1
- package/index.js +4 -3
- package/package.json +2 -2
package/SCPL_REFERENCE.md
CHANGED
|
@@ -701,7 +701,7 @@ End RepeatWithEach
|
|
|
701
701
|
- Space-separate params: `a="1" b="2"` not `a="1", b="2"`
|
|
702
702
|
|
|
703
703
|
## HTTP API Requests
|
|
704
|
-
**Headers**: Use `headers=
|
|
704
|
+
**Headers**: Use `headers={Key: "value"}` (expanding toggles are auto-set)
|
|
705
705
|
**Complex JSON**: Use shell scripts with curl instead of jsonvalues with nested arrays
|
|
706
706
|
```scpl
|
|
707
707
|
Text "curl -s URL -H 'Auth: Bearer KEY' -d '{...}' | python3 -c 'import sys,json; print(json.load(sys.stdin)[\"key\"])'"
|
package/index.js
CHANGED
|
@@ -1140,14 +1140,15 @@ GetDictionaryValue key="result"
|
|
|
1140
1140
|
ShowResult
|
|
1141
1141
|
\`\`\`
|
|
1142
1142
|
|
|
1143
|
-
## POST with JSON
|
|
1143
|
+
## POST with JSON and Headers
|
|
1144
1144
|
\`\`\`scpl
|
|
1145
1145
|
URL "https://api.example.com/submit"
|
|
1146
1146
|
GetContentsOfURL method="POST" headers={
|
|
1147
1147
|
"Content-Type": "application/json"
|
|
1148
|
-
|
|
1148
|
+
"Authorization": "Bearer my-token"
|
|
1149
|
+
} requestbody="JSON" jsonvalues={
|
|
1149
1150
|
"name": "Test"
|
|
1150
|
-
"value": 123
|
|
1151
|
+
"value": "123"
|
|
1151
1152
|
}
|
|
1152
1153
|
\`\`\`
|
|
1153
1154
|
`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scpl-updated-mcp-server",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "AI-powered Apple Shortcuts creation with Claude Code! Generate macOS shortcuts using natural language. 495 actions available. MCP server for text-based shortcut programming. Vibe code your automation workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
30
|
-
"scpl-macos-updated": "^2.
|
|
30
|
+
"scpl-macos-updated": "^2.4.0"
|
|
31
31
|
}
|
|
32
32
|
}
|