Aurora 4x

C# Aurora => AI Content => Topic started by: Sigaur on June 20, 2025, 11:17:23 AM

Title: MCP for Aurora 4x
Post by: Sigaur on June 20, 2025, 11:17:23 AM
I am starting to check out MCP (Model Context Protocol) for work and found out that someone has already created his own for my favorite game :
https://github.com/thirionlogan/Aurora-4X-MCP
Yet I don't think this has been discussed on the forum.

This is quite an improvment to other posts regarding AI for storytelling/roleplaying.
The difference is that it allows the AI to directly check inside the database to get data it needs to perform the task you ask of it.


For instance it can parse combat logs to generate engagement report :
I only ask it : Give me a battle report of terracorp for the fight that happenned in the Siebold system military feel, as would be an engagement report. For information here are the game parameters : "gameId": 116, "raceId": 593"
And get the following :
CLASSIFIED // TERRACORP FORCES // ENGAGEMENT REPORT

OPERATION: Siebold System Offensive DATE: 15-17 May 2074 CLASSIFICATION: CONFIDENTIAL

I. SITUATION OVERVIEW: Terracorp combat assets initiated offensive operations within the Siebold system, targeting identified hostile orbital platforms and planetary defense installations. Primary hostile contacts designated as "Siebold-A II [TIM]", "SS Kalevala 002", and "MDB Uisko 002".

II. CHRONOLOGY OF ENGAGEMENT:

15 May 2074 - 06:22:05 (Siebold System Local Time) A Terracorp fighter asset, a Rapace-class unit, sustained damage from hostile missile fire. The unit reported armor penetrations and critical hits, indicating initial hostile resistance.
15 May 2074 - 10:22:00 (Siebold System Local Time) Terracorp Hornet squadrons executed a coordinated missile strike. Multiple Hornet units deployed salvos of Spear II Anti-Ship Missiles (ASMs). Engagements focused on MDB Uisko 002 and SS Kalevala 002, with secondary targeting on Siebold-A II [TIM]. Engagement parameters indicated overwhelming probability of hit, ranging from 100% to over 500,000%.
17 May 2074 - 07:04:25 (Siebold System Local Time) A Terracorp Hornet Leader came under direct fire from surface-based energy weapon emplacements on Siebold-A II. The unit absorbed incoming rounds at a range of 238,770 km, resulting in armor hits and a penetrating hit. This confirms active and capable planetary defenses.
17 May 2074 - 07:04:40 (Siebold System Local Time) Following the engagement with planetary defenses, Terracorp assets initiated a subsequent missile wave. Multiple Hornet units launched Wasp ASMs. All ordnance was directed at Siebold-A II [TIM] from a range of 499,900 km, with a 100% estimated probability of hit.
17 May 2074 - 07:05:50 (Siebold System Local Time) A Terracorp Hornet unit reported further engagement with surface-based energy weapons from Siebold-A II. At a range of 19,860 km, the unit sustained armor hits and a penetrating hit from incoming rounds. This indicates close-quarters engagement with the planetary defense grid.
17 May 2074 - 07:06:10 (Siebold System Local Time) Another large-scale missile launch was executed. Multiple Hornet units deployed Wasp ASMs. These munitions were directed at Siebold-A II [TIM] from 499,900 km, maintaining a 100% estimated probability of hit.
17 May 2074 - 11:26:40 (Siebold System Local Time) The final recorded major missile engagement in the Siebold system involved multiple Hornet units launching Wasp ASMs. These missiles were targeted on Siebold-A II [TIM] at a reported range of 0 km, indicating direct impact or complete target saturation, with a 100% estimated probability of hit.

III. CONCLUSION: Terracorp forces conducted a highly effective and dominant offensive operation in the Siebold system. Sustained and overwhelming missile barrages successfully neutralized hostile orbital assets (SS Kalevala 002, MDB Uisko 002) and suppressed planetary defenses (Siebold-A II [TIM]). Minor damage was sustained by Terracorp fighter and Hornet assets, but no critical casualties were reported. The consistent high probability of hit and close-range engagements against the planetary target indicate successful achievement of strategic objectives.



I think this would be really helpful for people doing AAR, were it will be easier to track small things such as hour of missile fire, which ships takes fire...
It could even be merged with events dated and written on a notepad by the user ^^




I am trying my hand on how i can modify it to fit my personnal needs.
Ill also check if I can maybe interface it with the Aurora Marvin database to have it warn me of potential inpending mineral crash, logistical nodes with low fuel/maintenance supply...

Right now I am trying to get it to give me detailled System view by querying the database and getting all necessary info (fleets, the star(s), bodies, colonies...) in system.
I love how it can drop you inside the universe you create !!
Here is the result when I ask it "give me a description of the proxima centauri system" (it is a random star game and indeed a 4 stars system which I discovered while doing this test ^^)

Proxima Centauri: A Quadruple Star Bastion
Proxima Centauri, a system long secured and meticulously charted, stands as a formidable bastion in the void, illuminated by the complex interplay of four stars. At its heart blazes a brilliant primary sun, its intense luminosity casting a searing light. Orbiting this stellar titan are two dimmer companions, faint red dwarfs, their distant glows barely piercing the shadows. Further still, a fourth, almost imperceptible star, a brown dwarf, completes this intricate celestial ballet, a silent sentinel at the system's edge.

In the primary star's immediate, fiery embrace, a single, scorching world, Proxima Centauri-A I, endures. Its dense, superheated atmosphere shimmers above a landscape of extreme heat, a crucible of geological forces. This infernal world is not uninhabited; a vital listening post clings to its surface, tirelessly producing fuel to sustain operations in this harsh environment.

Beyond the inner inferno, the system's outer reaches are traversed by a lone, enigmatic comet, its highly eccentric orbit a fleeting whisper across the vast distances.

The void of Proxima Centauri is far from empty, bustling with both civilian and military traffic. Orbiting Proxima Centauri-A I, numerous freighters from lines such as LeClerc, Mcilvain, Marchand, Lemieux, and DeRose maintain a steady presence, alongside high-speed interceptors like the "Proxima Mirage Interceptors," forming a vigilant defense.

Beyond the immediate vicinity of Proxima Centauri-A I, the system's vastness is traversed by a diverse array of vessels. Civilian ships, including freighters from the Marchand, Lemieux, Mcilvain, and DeRose lines, are observed in transit, moving vital supplies and resources. Colony ships, such as those from the Marchand and DeRose lines, are also present, engaged in loading or unloading colonists, indicating ongoing expansion and settlement efforts across the frontier. Jump ships are preparing for distant voyages, connecting this system to the wider network, and massive shipping lines, like the "SL Marchand Large L7 027" which is loading and unloading passengers, move colossal cargoes, underscoring the system's economic might. A troop assault fleet is also detected, its presence a silent promise of overwhelming force, currently passing through the system.

Proxima Centauri is more than just a star system; it is a vibrant, heavily defended hub of operations, a testament to our unwavering presence on the frontier.




The same for my outermost colony in the Somali system : "give me a description of the somali system"
(You can check the attached inner and outer view of the systemand see that it looks perfectly as described !)

Somali: A Solitary Glow Amidst Fiery Worlds and Industrial Frontiers
Somali, a system recently charted on October 13, 2058, unfolds as a realm of stark contrasts, illuminated by the solitary, dim glow of its central star. This faint sun casts a perpetual twilight across its domain, a quiet counterpoint to the intense activity within.

Closest to the star, two scorching, high-gravity worlds endure. Their surfaces shimmer with the heat of active tectonics, molten landscapes veiled by incredibly dense atmospheres, a testament to the raw, untamed forces of creation.

Beyond these fiery inner planets, the system transitions into a vast, intricate asteroid belt, a swirling tapestry of countless rocky bodies. This is the true heart of Somali's industry, a frontier teeming with life and ambition. Numerous mining outposts, bearing names like Hubbert Industries, Pontecorvo Ventures, Berard Minerals Limited (even clinging to a comet!), D'Agostino Resources Group, and Holmes Minerals, tirelessly extract precious resources from these celestial fragments. Their operations, though unpopulated by permanent residents, hum with automated efficiency, producing vast stockpiles of Duranium, Neutronium, Corbomite, Tritanium, Boronide, Mercassium, Vendarite, Uridium, Corundium, and Gallicite.

Further out, a temperate world, Somali Prime, offers a stark contrast to its inner brethren. This unique colony, nestled on a substantial asteroid, is a beacon of terraforming ambition, its nascent atmosphere slowly being reshaped to sustain life. Fuel production is active here, supporting the ongoing transformation. Beyond Somali Prime, the system stretches into the cold embrace of several gas giants, their icy moons drifting silently in the dim light.

While not a major transit hub like some systems, Somali is far from dormant. A dedicated fleet of Terraforming Stations orbits Somali Prime, a constant presence dedicated to the monumental task of planetary engineering. The absence of extensive military or transport fleets suggests a system focused inward, on the arduous, yet vital, work of resource extraction and world-building.

Somali is a testament to the relentless drive of expansion, a system where the raw materials of the cosmos are tamed and transformed, a quiet forge at the edge of charted space.





There is some approximation, for instance it saw that there was fuel on Proxima Centauri-A I and on Somali Prime so it guessed that they were producing fuel, however it was just a fuel depot.
But it is already good enough ^^


I would love to see if other people use that kind of tool, how they would use it ...

Title: Re: MCP for Aurora 4x
Post by: Sigaur on June 20, 2025, 06:02:41 PM
The following is an account of a raid performed in the Laramie system as gathered using the MCP
I think my next game will definetly include AI lol


==================

The Laramie system is a dazzling jewel in the cosmic tapestry, dominated by a brilliant, searing white star, its luminosity casting a stark, unforgiving light across its inner reaches.

Closest to the star, the first world is a scorched, airless rock, its surface a desolate expanse of superheated stone, reflecting the stellar glare with an almost blinding albedo. Further out, the second planet is a colossal, infernal orb, shrouded in a dense, superheated atmosphere that glows with an ominous, perpetual haze. Its surface, if visible, would be a maelstrom of volcanic activity, a true hellscape. Orbiting this fiery behemoth is a single, tidally locked moon, forever presenting one face to its scorching parent.

The third planet, a world of moderate size, presents a more intriguing, albeit somber, vista. Its thin, wispy atmosphere barely clings to a surface that hints at past glories, now marked by the skeletal remains of abandoned factories and ancient ruins, silent testaments to a forgotten civilization. This world is not entirely barren, with pockets of liquid hinting at a struggle for life. Hovering in silent vigil above this enigmatic world are the fleets of an unknown power. The "Orbital Defences 004," a pair of unknown class vessels, maintain a static, watchful stance. Nearby, the "FAC Hunter Squadron 002," a swift quartet of unknown ships, patrols with predatory grace, while the "FAC Flotilla 003," a formidable group of eight rapid-response vessels, stands ready, their high speeds suggesting a readiness for immediate action.

Beyond these inner worlds, a vast, chaotic asteroid belt swirls, a glittering ring of countless rocky fragments, some as small as pebbles, others as large as mountains, each tumbling in its own ancient dance. Two comets, icy wanderers with long, ethereal tails, streak through the outer fringes of the system, their eccentric orbits carrying them on journeys that span millennia.

Further still, the system unfolds into a realm of gas giants and icy worlds. A large, cold, watery world, its surface a mosaic of frozen oceans and thin, hazy clouds, orbits in the middle reaches, attended by several smaller, frigid moons. Following it is a smaller, cold, rocky world, its weak magnetic field barely deflecting the stellar winds. Then come the true titans: a series of colossal gas giants, their swirling, multi-hued atmospheres painted with storms and currents of unimaginable scale. Some possess powerful magnetic fields, hinting at turbulent cores, while others are more sedate. Each of these giants is a miniature system unto itself, orbited by a retinue of icy moons, some large enough to be worlds in their own right, others mere specks of frozen dust. The outermost known planet is a cold, icy world with a thin atmosphere, its surface a desolate expanse of frozen terrain, its weak magnetic field a faint whisper against the void.

From the distant reaches of the Laramie system, the Milky Way stretches across the blackness, a luminous river of stars. A particularly beautiful, distant nebulae, a cosmic cloud of vibrant blues and purples, paints a breathtaking backdrop, its soft glow a stark contrast to the harsh light of Laramie's star. In another direction, the subtle, almost imperceptible distortion of light hints at the presence of a distant, unseen black hole, its immense gravity subtly twisting the fabric of spacetime, a silent, powerful presence in the cosmic ballet.


==================

OPERATION: SCORCHED EARTH - LARAMIE SYSTEM INTERDICTION

TO: Fleet Command, Terracorp Empire
FROM: Tactical Operations
DATE: 22 September 2074
SUBJECT: Proposed Interdiction and Reclamation of Laramie System

I. SITUATION OVERVIEW: The Laramie system presents a strategic opportunity for neutralization of hostile elements. Reconnaissance has identified a Type 6 star with significant luminosity, supporting multiple celestial bodies. Of particular interest is Planet 3, codenamed "Bullseye," a high-gravity, high-tectonic world, confirmed to host abandoned industrial infrastructure (56 abandoned factories) and ancient ruins (associated with a previously encountered hostile race). Our intelligence indicates this system is connected to Alfred, a key hub in our current operational sphere.

II. ENEMY FORCES: Hostile forces, identified as an unknown adversary, maintain a defensive posture around Planet 3 (Bullseye). Current intelligence indicates the following fleet composition:

- Orbital Defences 004: 2 x Unknown Class vessels.
- FAC Hunter Squadron 002: 4 x Unknown Class vessels.
- FAC Flotilla 003: 8 x Unknown Class vessels. All known enemy assets are concentrated in orbit around Planet 3 (Bullseye). No active population detected on Planet 3 (Bullseye), suggesting a derelict industrial site.

III. FRIENDLY FORCES (Carrier Group 1 - Alfred System): Our primary strike force, Carrier Group 1, currently positioned in the Alfred system, is comprised of the following assets:

- 3 x Normandie II (Escort Carrier): Provides command and control, and serves as a mobile platform for fighter and bomber operations.
- 26 x Hornet (Bomber): Our primary strike aircraft, capable of delivering significant ordnance against both space and ground targets.
- 3 x Hornet Leader (Bomber): Command variants of the Hornet bomber, providing enhanced coordination for strike packages.
- 1 x Chimere (Fighter): A versatile fighter craft for air superiority and interception.
- 1 x Dunkerque III - Ammunition (Freighter): Essential logistics support, ensuring sustained combat operations through resupply of ordnance.

This group represents a potent combination of carrier-based strike capability, supported by dedicated logistics.

IV. MISSION OBJECTIVES:

PRIMARY OBJECTIVE (P1): Eliminate all hostile ships and orbital defense stations around Planet 3 (Bullseye).
SECONDARY OBJECTIVE (S1): Suppress any detected surface-to-orbit (STO) batteries on Planet 3 (Bullseye) to enable a future ground assault.

V. PROPOSED COURSE OF ACTION (COA):

- PHASE 1: INGRESS & ORBITAL ENGAGEMENT:

  - Deploy Carrier Group 1 for a rapid transit to Laramie via the Alfred jump point.
  - Initiate immediate engagement with hostile fleets in orbit around Planet 3 (Bullseye). Leverage our superior numbers of Hornet bombers and their missile technology to achieve decisive victory. Prioritize targeting of enemy command and control vessels if identified.

- PHASE 2: ORBITAL DEFENSE SUPPRESSION:

  - Following neutralization of enemy fleets, conduct detailed scans of Planet 3 (Bullseye) to identify and locate all active surface-to-orbit (STO) batteries.
  - Utilize Hornet bombers for precision strikes against identified STO targets, aiming for complete suppression to clear the way for future ground operations.
  - Maintain a secure orbital perimeter around Planet 3 (Bullseye) to prevent enemy reinforcements or counter-attacks.

VI. LOGISTICS & SUPPORT:

- Fuel and maintenance requirements for sustained operations will be calculated post-engagement, drawing from our empire-wide reserves. The Dunkerque III - Ammunition freighter will provide immediate ordnance resupply.
- Reinforcement assets, including additional freighters and ground assault elements from our overall fleet, to be on standby for rapid deployment to Laramie at an ulterior time to be defined for the ground assault.

VII. RISK ASSESSMENT:

- LOW: Minimal known active population on Planet 3 (Bullseye), reducing direct ground resistance during initial orbital operations.
- MEDIUM: Unknown capabilities of hostile fleet compositions. Potential for additional, undetected enemy forces or unexpected technological defenses.
- HIGH: High gravity and tectonic activity on Planet 3 (Bullseye) may complicate future ground operations and base construction, requiring careful planning and specialized equipment. The presence and strength of STO batteries are currently unknown and pose a significant threat to orbital assets during suppression.

VIII. COMMANDER'S INTENT: To swiftly and decisively achieve orbital supremacy over the Laramie system and neutralize its immediate defenses, paving the way for future ground operations and long-term integration into the Terracorp Empire. Maintain a high state of readiness for unforeseen contingencies.

IX. RECOMMENDATION: Request immediate approval for Operation: Scorched Earth.

END REPORT.

==================

The cockpit of BM-77 Hornet 071 was a symphony of controlled chaos. "Missiles away!" came the chorus from across the comms, a wave of triumphant shouts as our Wasp ASMs, along with those from Hornets 006, 007, 008, and dozens more, streaked towards the enemy frigates. The targeting reticles on my HUD flickered, confirming the launch, and I felt the familiar kick as the last of our payload detached. The enemy, a quartet of Julma, Sauhu, and Isku class frigates, were still distant blips, but our wasps were fast.
Minutes later, the first hostile salvo registered. "Incoming! Thermal thirteen!" The warning blared, and the tactical display lit up with a swarm of enemy missiles, tiny red streaks closing in at terrifying speeds. My heart hammered against my ribs. We were small, fast, but not invincible.
Then, the fireworks began. Our Wasp ASMs found their marks. Explosions blossomed across the enemy frigates' hulls – flashes of white-hot nuclear detonations. "Sauhu 004 taking hits! Julma 003's armor is Damaged!" The comms crackled with damage reports, a grim tally of our success. Decoys flared, trying to throw off our missiles, but many still punched through.
But the enemy wasn't idle. Their return fire was relentless. "Hornet Leader 010 is down! Repeat, Leader 010 is gone!" The voice of command was strained, a stark reminder of the brutal cost. I saw the distant, silent bloom of a catastrophic failure, a ship-sized star winking out of existence. Lisa Borcharding, gone.
A few agonizing minutes later, another chilling report. "Hornet 003, exploded! No survivors!" Marguerite Brongniart, another friend, another light extinguished in the void. The grim reality of combat pressed in, a cold hand on my throat.
We kept firing, dodging, weaving. The frigates were bleeding, but they were still fighting. Then, the unthinkable. "Hornet 006 hit! Catastrophic failure!" My stomach dropped. I saw it, a sudden, violent expansion of light, then nothing. "Lifepods launched from 006... one survivor, Commander Amyot!" A small victory, a single thread of hope in the darkness.
The battle raged, a maelstrom of light and death. My Hornet shuddered as a near-miss rattled the hull. The air was thick with the smell of ozone and fear. I gripped the controls, eyes glued to the tactical display, searching for targets, for threats.
Then, the final, crushing blow. "BM-07 Hornet 007 attacked by missiles! Catastrophic failure! Exploded!" The words echoed in the cockpit, a death knell. I didn't need to look. The flash was blinding, even through the reinforced canopy. Another Hornet, another crew, gone in an instant. The void swallowed them whole, leaving only the lingering echoes of their sacrifice. We were still here, but the cost was mounting. The fight continued, but a part of us died with every lost brother.

==================

AFTER-ACTION REPORT: OPERATION SCORCHED EARTH - LARAMIE SYSTEM

TO: Fleet Command, Terracorp Empire
FROM: Tactical Operations, Carrier Group 1
DATE: 06 October 2074
SUBJECT: Post-Engagement Assessment - Laramie System Orbital Interdiction

I. EXECUTIVE SUMMARY: On 06 October 2074, Carrier Group 1 executed Phase 1 of Operation: Scorched Earth in the Laramie system. Our Hornet bomber squadrons engaged three enemy frigates (FFG Isku 003, FFG Sauhu 004, FFG Julma 003, and FFG Julma 004) with Wasp ASM missiles. While hits were registered, these frigates sustained only light damage and remained operational. Our forces sustained losses, with three Hornet bombers and one Hornet Leader destroyed. Initial reconnaissance also detected new hostile contacts, including additional Precursor ships (MDB Uisko, SS Kalevala) and thermal salvos, indicating a more robust and resilient enemy presence than initially anticipated.

II. CHRONOLOGY OF EVENTS (Laramie System - 06 October 2074):

- 03:11:00 - 03:16:00: Initial hostile contacts re-established and updated: FFG Julma (003, 004), FFG Sauhu (004), FFG Isku (003) confirmed. New Precursor ships (MDB Uisko 005, SS Kalevala 005) detected.
- 03:25:00: New hostile thermal salvo detected (10x Thermal 13).
- 03:26:55: BM-92 Hornet Leader 010 attacked by missiles, sustained 2 penetrating hits, and was destroyed. Commander Lisa Borcharding failed to escape.
- 03:51:00: Contact re-established with MDB Uisko 005 and SS Kalevala 005.
- 03:57:00: New hostile thermal salvo detected (10x Thermal 13).
- 03:58:20: BM-03 Hornet 003 attacked by missiles and was destroyed. Commander Marguerite Brongniart failed to escape.
- 04:00:30: Our Hornet bomber squadrons (BM-06, BM-07, BM-08, BM-09, BM-10, BM-68, BM-69, BM-77, BM-78, BM-80, BM-81, BM-82, BM-83, BM-84, BM-85, BM-86, BM-87, BM-89, BM-91, BM-93) launched a mass volley of Wasp ASM missiles targeted on FFG Isku 003, FFG Sauhu 004, and FFG Julma (003, 004). Maintenance failures reported on Box Launchers of BM-69 Hornet 063 and BM-89 Hornet 081.
- 04:05:35 - 04:06:51: Sustained missile combat. Our Hornets engaged the enemy frigates, inflicting light damage with some armour hits and minimal penetrating hits. Nuclear detonations and energy weapon impacts were reported from these engagements.
- 04:07:19: BM-06 Hornet 006 attacked by missiles, sustained 1 penetrating hit, and was destroyed. Commander Amélie Amyot escaped to a lifepod and was awarded the Survivor medal.
- 04:09:20: BM-07 Hornet 007 attacked by missiles and was destroyed.

III. CASUALTIES AND LOSSES (Friendly Forces):

- BM-92 Hornet Leader 010: Destroyed. Commander Lisa Borcharding (KIA).
- BM-03 Hornet 003: Destroyed. Commander Marguerite Brongniart (KIA).
- BM-06 Hornet 006: Destroyed. Commander Amélie Amyot (Survived, Rescued).
- BM-07 Hornet 007: Destroyed.

IV. ENEMY STATUS:

- FFG Isku 003: Sustained light damage (e.g., Total Hits 3, Armour Hits 3, Decoy Hits 2).
- FFG Sauhu 004: Sustained light damage (e.g., Total Hits 3, Armour Hits 2, Penetrating Hits 1, Decoy Hits 1).
- FFG Julma 003: Sustained light damage (e.g., Total Hits 3, Armour Hits 3, Decoy Hits 4).
- FFG Julma 004: Sustained light damage (e.g., Total Hits 2, Armour Hits 2, Decoy Hits 3). *(Note: These frigates were not destroyed and remain operational, albeit with light damage.)*

V. OBSERVATIONS AND RECOMMENDATIONS: The initial orbital interdiction successfully engaged the known hostile frigates, inflicting light damage. However, their complete neutralization was not achieved. The presence of additional Precursor ships (MDB Uisko, SS Kalevala) and persistent hostile thermal salvos indicates a more entrenched and active enemy defense than initially assessed. Future operations in Laramie, particularly the planned ground assault, must account for these ongoing threats and potential surface-to-orbit capabilities. Replenishment of Hornet bomber squadrons and leaders is critical for continued operations.

END REPORT.