fix: update MCP URLs for angelia and athena; add Mnemosyne storage resources

This commit is contained in:
2026-03-19 00:52:54 +00:00
parent c32c3471e0
commit 8fddef6050
2 changed files with 33 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
] ]
}, },
"angelia": { "angelia": {
"url": "https://ouranos.helu.ca/mcp/", "url": "https://ouranos.helu.ca/mcp/sse/",
"headers": { "headers": {
"Authorization": "Bearer LmDTU1OoQm7nk8-T7NtGwwA5aut7LqcpVYpLxRKUS51klljJkFUbmu3KYnR8V6Ww" "Authorization": "Bearer LmDTU1OoQm7nk8-T7NtGwwA5aut7LqcpVYpLxRKUS51klljJkFUbmu3KYnR8V6Ww"
} }
@@ -22,10 +22,9 @@
"url": "{{argos_mcp_url}}" "url": "{{argos_mcp_url}}"
}, },
"athena": { "athena": {
"url": "https://athena.ouranos.helu.ca/mcp/", "url": "https://athena.ouranos.helu.ca/mcp/sse/",
"headers": { "headers": {
"Authorization": "Bearer 4f4bf67e411cbd787df604c9539865518fccb6b70c8d5b050b71b99b43cdbd82" "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyIiwidXNlcl9pZCI6MiwidXNlcm5hbWUiOiJyQGhlbHUuY2EiLCJpc3MiOiJhdGhlbmEiLCJhdWQiOiJhdGhlbmEtbWNwIiwiaWF0IjoxNzczODc4MDgwLCJrZXlfbmFtZSI6Ik1pcmFuZGEgTUNQTyBLZXkiLCJ0ZW5hbnRfaWQiOjF9.bpFKRbfEygKOW6_UlfQ7H5ZZZ5-LgMJ2UP653GhpZ5A"
}
}, },
"caliban": { "caliban": {
"type": "streamable_http", "type": "streamable_http",

View File

@@ -90,6 +90,25 @@ resource "incus_storage_bucket_key" "daedalus_key" {
role = "admin" role = "admin"
} }
# S3 bucket for Mnemosyne file storage
resource "incus_storage_bucket" "mnemosyne" {
name = "mnemosyne-content"
pool = var.storage_pool
project = var.project_name
description = "Mnemosyne content storage bucket"
depends_on = [incus_project.ouranos]
}
# Access key for Mnemosyne S3 bucket
resource "incus_storage_bucket_key" "mnemosyne_key" {
name = "mnemosyne-access"
pool = incus_storage_bucket.mnemosyne.pool
storage_bucket = incus_storage_bucket.mnemosyne.name
project = var.project_name
role = "admin"
}
# Outputs for S3 credentials (to be stored in Ansible vault) # Outputs for S3 credentials (to be stored in Ansible vault)
output "lobechat_s3_credentials" { output "lobechat_s3_credentials" {
description = "Lobechat S3 bucket credentials - store in vault as vault_lobechat_s3_*" description = "Lobechat S3 bucket credentials - store in vault as vault_lobechat_s3_*"
@@ -134,3 +153,14 @@ output "daedalus_s3_credentials" {
} }
sensitive = true sensitive = true
} }
output "mnemosyne_s3_credentials" {
description = "Mnemosyne S3 bucket credentials - store in vault as vault_mnemosyne_s3_*"
value = {
bucket = incus_storage_bucket.mnemosyne.name
access_key = incus_storage_bucket_key.mnemosyne_key.access_key
secret_key = incus_storage_bucket_key.mnemosyne_key.secret_key
endpoint = "https://${incus_storage_bucket.mnemosyne.location}"
}
sensitive = true
}