gx.yml reference
Every field in gx.yml, the Glxymesh project file that sets the organization, project, language, server identity and defaults for every tool.
gx.yml sits at the root of a project. There’s exactly one per project, and gxmesh init writes it.
spec: glxymesh/project@v1org: acmeproject: helpdesklang: node
server: title: Acme Helpdesk description: Support desk tools for Acme agents website: https://acme.com
defaults: timeout: 10s memory: 256MB output: jsonNew to YAML? Follow Understand gx.yml and templates for an annotated
project and a complete HTTP tool. gx.yml is project configuration; request templates belong in
each tool’s tool.yml.
Fields
Section titled “Fields”| Field | Required | What it does |
|---|---|---|
spec |
no | glxymesh/project@v1 |
org |
yes | The organization’s slug. A push to a different organization is refused. |
project |
yes | The project’s slug. Together with org it sets the address, https://<org>.mcp.glxymesh.com/<project> (the default project is the host itself), and the server name clients show, <org>-<project>. |
lang |
yes | go, node or python. Every function tool in the project uses it. |
server.title |
no | The name clients show next to the server. Up to 80 characters. |
server.description |
no | One line on what the server is for, up to 500 characters. Clients show it, and the model reads it when it connects. |
server.website |
no | An https:// link clients may show. |
defaults.timeout |
no | Time per call for tools that don’t set their own, such as 10s or 2m. 1 second to 15 minutes. Default 10s. |
defaults.memory |
no | Memory for tools that don’t set their own, such as 256MB or 1GB. 128 MB to 10 GB. |
defaults.output |
no | toon, json or text: the format the model reads results in. See output. |
server.title, server.description and server.website can also be set in the console under
Settings → Server identity. Whichever changed last wins.
Slugs are 1–40 characters of a-z, 0-9 and single hyphens, not at either end. A few words the
platform uses in its own paths, such as api, docs, mcp and support, aren’t allowed.
What’s not in it
Section titled “What’s not in it”- Keys. They live in the project’s secrets, set in the console, or for local runs in
.env.local. See Keys and network access. - The list of tools. The folders under
tools/are the list. - Where things run. The platform decides.
Memory and your bill
Section titled “Memory and your bill”Every function tool in a project runs in the same function, so the project’s memory is the largest
that any of its tools asks for. A tool that sets limits.memory: 1GB raises the memory, and the
compute cost, of every call in the project. Move a tool that needs a lot of memory to its own project.