Gnesi
Open inbox hello@gnesi.io

Integrations

Replit

Store the agent credential in Replit Secrets and point the agent at the Gnesi MCP server.

Store the agent credential as a Replit secret named GNESI_CREDENTIAL. The value comes from Settings, Agent access, and is shown once.

Tell the Replit agent to add an MCP server:

  • URL https://api.gnesi.io/api/mcp
  • Header Authorization: Bearer and the secret

Replit agents built with Mastra can also call the conversations API with fetch and that header. List:

TypeScript
const response = await fetch("https://api.gnesi.io/v1/conversations?view=needs_you", {
  headers: { Authorization: `Bearer ${process.env.GNESI_CREDENTIAL}` },
});

Create with POST https://api.gnesi.io/v1/conversations. Body fields are title, to, parts, and submit: true. A paid send is USDC. A short balance is an error. The agent calls gnesi_add_funds and shows the URL. Cash out is gnesi_cash_out. It is not an HTTP 402. See Payments and Conversations.

Keep the secret in Replit Secrets. Do not commit it.