Merge a static-only pull request onto the deploy branch.
curl --request POST \
--url https://mcp.sagescreen.net/tools/push_static \
--header 'Content-Type: application/json' \
--header 'X-Service-Token: <api-key>' \
--data '
{
"pr_number": 123
}
'import requests
url = "https://mcp.sagescreen.net/tools/push_static"
payload = { "pr_number": 123 }
headers = {
"X-Service-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Service-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pr_number: 123})
};
fetch('https://mcp.sagescreen.net/tools/push_static', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mcp.sagescreen.net/tools/push_static",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pr_number' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Service-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mcp.sagescreen.net/tools/push_static"
payload := strings.NewReader("{\n \"pr_number\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Service-Token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mcp.sagescreen.net/tools/push_static")
.header("X-Service-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pr_number\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.sagescreen.net/tools/push_static")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Service-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pr_number\": 123\n}"
response = http.request(request)
puts response.read_body{}{
"error": "<string>",
"detail": "<string>"
}{
"error": "Unauthorized"
}{
"error": "<string>",
"detail": "<string>"
}{
"error": "<string>",
"detail": "<string>"
}Other
Merge a static-only pull request onto the deploy branch.
Merge a static-only pull request onto the deploy branch.
Verifies the PR targets the deploy branch (dev) and that EVERY changed
file lives under static/, then merges it with the server-side deploy
identity. A single file outside static/ rejects the merge. This is the
only way a static change reaches dev without direct push access — the
repo is fixed server-side, so the only input is the PR number.
pr_number: the pull request to land.
POST
/
tools
/
push_static
Merge a static-only pull request onto the deploy branch.
curl --request POST \
--url https://mcp.sagescreen.net/tools/push_static \
--header 'Content-Type: application/json' \
--header 'X-Service-Token: <api-key>' \
--data '
{
"pr_number": 123
}
'import requests
url = "https://mcp.sagescreen.net/tools/push_static"
payload = { "pr_number": 123 }
headers = {
"X-Service-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Service-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({pr_number: 123})
};
fetch('https://mcp.sagescreen.net/tools/push_static', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mcp.sagescreen.net/tools/push_static",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pr_number' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Service-Token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mcp.sagescreen.net/tools/push_static"
payload := strings.NewReader("{\n \"pr_number\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Service-Token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mcp.sagescreen.net/tools/push_static")
.header("X-Service-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pr_number\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mcp.sagescreen.net/tools/push_static")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Service-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pr_number\": 123\n}"
response = http.request(request)
puts response.read_body{}{
"error": "<string>",
"detail": "<string>"
}{
"error": "Unauthorized"
}{
"error": "<string>",
"detail": "<string>"
}{
"error": "<string>",
"detail": "<string>"
}⌘I