PrimeFlow

Developers

Connect an assistant to your company records.

PrimeFlow speaks MCP, so Claude, Grok, and ChatGPT can read and update one organization's orders, customers, stock, and invoices through a single HTTPS endpoint.

Endpoint

Stateless JSON over HTTPS. The server does not keep an SSE stream.

Call
POST https://www.primeflow.so/api/mcp
Health
GET https://www.primeflow.so/api/mcp/health
Format
JSON-RPC. Accept: application/json. SSE returns 405.

Credentials

Grok, Claude, and ChatGPT sign in with your PrimeFlow account. Keep the platform key with operators and Karp.

Organization token

Starts with pfm_. It is bound to one company. Calls without organization headers stay on that company. platform_admin is rejected. A different organization id is rejected.

Platform key

For operators and Karp. The caller sends x-primeflow-role. When the role is org, the caller also sends x-primeflow-organization-id.

What the assistant can call

Call primeflow_get_capabilities first. Customers are the contacts entity.

  • primeflow_get_capabilities

    Role, modules, and which entities this token may use.

  • primeflow_list_records

    List orders, contacts, products, stock, and invoices inside the bound company.

  • primeflow_count_records

    Count rows, including how many customers you have.

  • primeflow_create_record

    Create an allowed record. Sales invoices follow the normal posting path.

  • primeflow_update_record

    Update allowed fields on one record.

Add it as a connector

Paste https://www.primeflow.so/api/mcp. Sign in with your PrimeFlow account and choose one company. A listing in a public directory is a separate review by that company.

Grok

  1. On grok.com/connectors, choose New Connector, then Custom, and paste the endpoint.
  2. In Grok Bot, ask it to add a custom MCP server at that same URL.
  3. Approve the card, then sign in to PrimeFlow and choose the company.
  4. On consumer Grok, open Settings, then Data, and turn off Improve the Model.

Claude

  1. Open Customize, then Connectors, then add a custom connector.
  2. Choose Web and paste the endpoint. Leave the OAuth client blank.
  3. Sign in to PrimeFlow and choose the company.
  4. A public directory listing needs Anthropic's review. A private connector does not.

ChatGPT

  1. Open Plugins, then add a custom MCP server.
  2. Paste the endpoint and choose OAuth.
  3. Sign in to PrimeFlow and choose the company.
  4. The public directory is a separate OpenAI review. Full write tools need a Business, Enterprise, or Edu workspace.

What leaves PrimeFlow

  • Tool results are sent to the assistant so it can write the reply. A local env file does not stop that.
  • PrimeFlow does not use those rows to train a model.
  • Turn off training in the assistant's own account. Business and enterprise plans are the right place for company records.
  • An organization token limits the assistant to one company. It does not make the provider forget the reply.