Teams and projects
How team and project context routes billing and data — and the Project Settings section that carries it.
Tool calls need to know two things besides who you are: which team's wallet to bill, and which project's data they're working with. That's team and project context.
Teams
A team is a billing and membership unit: one shared wallet, one slug, members with roles — owner, admin, or member. Tool calls made with team context bill the team wallet; calls made without it bill your personal wallet. See Create a team.
Projects
A project is the unit your working data belongs to — the log events and incident groups your log_analyst runs ingest land under the project they ran with.
Where context lives
In a UE project, the durable form of both contexts is the engine's own Project Settings — the Spaghetti section of Config/DefaultGame.ini:
[/Script/Spaghetti.SpaghettiProjectSettings]
TeamId=uuid-of-your-team
ProjectId=uuid-of-your-project
; plus TeamName, ProjectName, ApiBaseUrl, McpUrl — display and endpoint hintsYou normally never touch this file directly: it's visible in the editor under Edit → Project Settings → Plugins → Spaghetti, and the wiring paths below write it for you. Three things worth knowing:
- It's context, not credentials — ids and display names only, no secrets; a normal engine config file, safe to commit to Git or Perforce.
- One settings section per project directory is what lets two clients work on two projects of the same team at once — each carries its own context.
- The context travels with each tool call: through the editor entry your AI client passes the ids along per call; through a direct connection your client sends them as
x-spaghetti-teamandx-spaghetti-projectheaders. Without team context you work on your personal account — and through the editor entry, billed tools also need the project half of the context wired: an unwired editor refuses them and points atsetup_spaghetti, which creates a personal-workspace project when you pick no team. Direct connections bill the personal wallet with no context at all.
The context is wired for you — see Connect your AI client:
- Ask your AI client to run
setup_spaghetti— it picks or creates the team and project with you, writes the settings section, then asks you to restart the editor — the second of the two editor restarts — so it all loads.
Next steps
Was this page helpful?