Install an integration of Aether's integration directory
curl --request POST \
--url https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install', 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://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"connect": [
{
"kind": "oauth",
"mcp_server_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner": "creator",
"url": "<string>"
}
],
"kind": "mcp_server",
"mcp_server": {
"auth": "none",
"connection_kind": "static_secret",
"created_at": "2023-11-07T05:31:56Z",
"default_credential_policy": "creator",
"display_name": "<string>",
"enabled_by_default": true,
"headers": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"kind": "http",
"required": true,
"secret_names": [
"<string>"
],
"source": {
"kind": "manual"
},
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>"
}
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "plugin_request_invalid",
"conflicts": [
{
"key": "<string>",
"plugin": "<string>",
"source": "manual"
}
],
"error": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Plugins
Install an integration of Aether's integration directory
Installs the integration of Aether’s integration directory keyed key in the organization, as its MCP server alone or as a plugin bundling its servers and skills, and enables it on every project.
Use this tool when you need to:
- Install an integration found with listIntegrationDirectory or searchIntegrations (a result of kind integration)
- Add a known integration, such as linear, by its key
Examples:
- POST /orgs//integration-directory/linear/install
Hints:
- key is the integration’s key: a lowercase letter, then up to 31 lowercase letters, digits, _ or -. Takes no body; answers 201.
- One that installs_as server (no skills) is added to the catalog as its MCP server (source kind directory, with the integration’s homepage), its auth probed as a server added by hand is probed, and answers kind mcp_server with mcp_server; one that installs_as plugin is installed as a plugin, a marketplace’s or one Aether synthesizes from the integration’s skills, bundling its servers, and answers kind plugin with plugin.
- Either is enabled on every current project of the organization, and every project created later, with the default credential policy the directory names for it.
- connect lists the installed servers that take a connection, in key order, empty when none does: kind, how each connects (oauth, or static_secret for an API key), and owner, whose connection the default calls for, made with startMcpServerOAuth or connectMcpServer (owner creator) and startOrgMcpServerOAuth or connectOrgMcpServer (owner org).
- Use installPlugin instead for a marketplace plugin or a git repository, and createMcpServer for a server the directory does not list.
- Owners and admins of the organization; any other role is refused with 403 org_role_insufficient, a caller outside the organization with 403 org_membership_required, and an agent host’s grant with 403 agent_host_route_not_allowed.
- Refused, naming the conflict in conflicts, with 409 plugin_server_key_taken when another server of the organization holds one of its server keys, an integration installed already among them; installed as a plugin, also with 409 plugin_name_taken when another plugin has the integration’s key as its name.
- Refused with 422 integration_not_in_directory for a key the directory does not list (a key the pattern refuses is a plain 422), 422 integration_auth_unexpected when whether its server asks for a credential does not match the entry (it asks for one and the entry names no one to connect it, or the reverse), and 422 plugin_server_probe_failed when its server cannot be checked; installed as a plugin, also with installPlugin’s source refusals.
POST
/
orgs
/
{orgID}
/
integration-directory
/
{key}
/
install
Install an integration of Aether's integration directory
curl --request POST \
--url https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install', 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://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/integration-directory/{key}/install")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"connect": [
{
"kind": "oauth",
"mcp_server_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner": "creator",
"url": "<string>"
}
],
"kind": "mcp_server",
"mcp_server": {
"auth": "none",
"connection_kind": "static_secret",
"created_at": "2023-11-07T05:31:56Z",
"default_credential_policy": "creator",
"display_name": "<string>",
"enabled_by_default": true,
"headers": {},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"kind": "http",
"required": true,
"secret_names": [
"<string>"
],
"source": {
"kind": "manual"
},
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>"
}
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "plugin_request_invalid",
"conflicts": [
{
"key": "<string>",
"plugin": "<string>",
"source": "manual"
}
],
"error": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}