IntegrateIntegrate
Integrations

Sage Integration

Manage Sage business details, contacts, products, and sales invoices

The Sage integration provides access to manage Sage business details, contacts, products, and sales invoices through the Integrate MCP server.

Installation

The Sage integration is included with the SDK:

import { sageIntegration } from "integrate-sdk/server";

Setup

1. Create a Sage OAuth App

  1. Create an OAuth application for Sage
  2. Configure your redirect URI
  3. Note your Client ID and Client Secret

2. Configure the Integration on Your Server

Add the Sage integration to your server configuration. The integration automatically reads SAGE_CLIENT_ID and SAGE_CLIENT_SECRET from your environment variables:

import { createMCPServer, sageIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    sageIntegration({
      scopes: ["full_access"], // Optional
    }),
  ],
});

You can override the environment variables by passing explicit values:

sageIntegration({
  clientId: process.env.CUSTOM_SAGE_ID,
  clientSecret: process.env.CUSTOM_SAGE_SECRET,
      scopes: ["full_access"], // Optional
});

3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

import { client } from "integrate-sdk";

await client.authorize("sage");
const result = await client.sage.getBusiness({
  business_id: "value",
});

console.log(result);

If you're using a custom client, add the integration to the integrations array:

import { createMCPClient, sageIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [sageIntegration()],
});

Configuration Options

Prop

Type

Default Scopes

These defaults are applied unless you override scopes in the integration config:

  • full_access

Tools

sage_get_business

Get business

Prop

Type

sage_list_contacts

List contacts

Prop

Type

sage_create_contact

Create contact

Prop

Type

sage_list_products

List products

Prop

Type

sage_list_sales_invoices

List sales invoices

Prop

Type

sage_create_sales_invoice

Create sales invoice

Prop

Type

Notes

  • Category: Accounting
  • Authentication mode: OAuth

On this page