Grok

Add Lahuta to Grok as a custom connector on grok.com, or to Grok Build with one command.

Grok connects to Lahuta through a custom connector. You add it on grok.com, and Grok can then use Lahuta's tools in your conversations. In the terminal, Grok Build, xAI's coding agent, adds Lahuta with one command.

Connect in one click

Grok has no link that fills in the server for you, so the button copies the URL and opens your connectors.

Select the button. It copies the server URL and opens grok.com/connectors in a new tab.

Add to Grok

Copies the URL to paste in Grok.

Select New Connector, then Custom.

Paste the server URL:

https://api.lahuta.org/mcp

When Grok opens Lahuta's sign-in page, sign in with your Lahuta account. If you belong to more than one organization and Lahuta asks you to pick one, any of them works. Grok can reach all your organizations, and you name the one you want in each request.

Grok then finds Lahuta's tools and uses them when your request calls for it. It helps to name Lahuta: "Use Lahuta to list this week's orders."

Lahuta flags the tools that send email, publish, charge or delete. Read what Grok is about to do before it runs one of those. The Tools reference shows which tools they are.

On a Business or Enterprise plan

On Grok Business and Enterprise, a team admin adds the connector before anyone on the team can use it:

  1. The admin signs in at console.x.ai, selects the team and opens Grok Business → Connectors.
  2. They select + Add Connector, choose Other and enter https://api.lahuta.org/mcp.
  3. Each person then connects it on grok.com/connectors and signs in with their own Lahuta account.

Adding a connector takes the Team Read-Write permission in the console. xAI's guide Connector Management has the details.

Grok Build

Grok Build is xAI's coding agent for the terminal.

Add the server:

grok mcp add --transport http lahuta https://api.lahuta.org/mcp

This adds Lahuta to ~/.grok/config.toml, for every project on your computer. Add --scope project to add it to the current project only.

Start grok. The first time it uses Lahuta, your browser opens at Lahuta's sign-in page. Sign in with your Lahuta account. To sign in before that, run /mcps, select lahuta and press i.

Check it with grok mcp doctor lahuta. To remove it, run grok mcp remove lahuta.

On this page