Quickstart: deploy an MCP server
Install the gxmesh CLI, scaffold an MCP tool in Go, deploy it to Glxymesh with one command, and call it from Claude Code.
This guide takes you from nothing to an MCP tool that Claude Code can call. You need a Glxymesh account and a terminal. You don’t need Go installed, because the platform compiles your tool for you.
-
Install the CLI
Terminal window curl -fsSL https://platform.glxymesh.com/install.sh | bashTerminal window irm https://platform.glxymesh.com/install.ps1 | iexTerminal window curl -fsSL https://platform.glxymesh.com/install.cmd -o install.cmd && install.cmd && del install.cmdThe binary is called
gxmesh. It keeps itself current withgxmesh update. -
Sign in
Terminal window gxmesh loginThe CLI shows a sign-in URL and a code, and tries to open the URL in your browser. Enter the code there and approve. The CLI then stores its tokens in
~/.config/gxmesh. This works over SSH too: open the URL on any machine. -
Choose an organization
Terminal window gxmesh org useWith no argument it lets you pick from the organizations you belong to. Tools are published into a project inside that organization. If you haven’t chosen one, the organization’s
defaultproject is used, and it’s created the first time you push. -
Scaffold a tool
Terminal window gxmesh new hellocd helloThis writes
manifest.json,main.go,go.modand aREADME.md. The template is a working tool that echoes its input back to you. See Write an MCP tool in Go for what each file does. -
Publish it
Terminal window gxmesh pushThe CLI uploads the source, the platform compiles it to WebAssembly, and the tool goes live in the active project. If the code doesn’t compile, you get the compiler’s output back.
-
Connect Claude Code
Every project has one endpoint:
https://mcp.glxymesh.com/mcp/<org>/<project>Terminal window claude mcp add --transport http glxymesh https://mcp.glxymesh.com/mcp/<org>/defaultInside Claude Code, run
/mcp, choose glxymesh → Authenticate, and approve the sign-in page that opens. Then ask Claude to callhello.
The console’s Connect screen shows your exact endpoint with the org and project already filled in.
Next steps
Section titled “Next steps”- Call an external API from your tool.
- Add a secret such as an API key.
- Connect other clients, including Claude Desktop, Cursor and VS Code.