Skip to content
Scalekit Docs
Talk to an EngineerDashboard

IGPT MCP connector

OAuth2.1/DCRAIProductivity

IGPT is an AI assistant platform that exposes its capabilities via an MCP server, enabling agents to interact with AI-powered tools and workflows.

IGPT MCP connector

  1. Terminal window
    npm install @scalekit-sdk/node

    Full SDK reference: Node.js | Python

  2. Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. quickstart.ts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENV_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'igptmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize IGPT MCP:', link)
    process.stdout.write('Press Enter after authorizing...')
    await new Promise(r => process.stdin.once('data', r))
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'igptmcp_search',
    toolInput: {},
    })
    console.log(result)

Connect this agent connector to let your agent:

  • Search records — Search connected datasources which include documents and messages
  • Ask records — Sends user question to backend and returns answer based on connected datasources which include documents and messages

Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.

igptmcp_ask#Sends user question to backend and returns answer based on connected datasources which include documents and messages2 params

Sends user question to backend and returns answer based on connected datasources which include documents and messages

NameTypeRequiredDescription
inputstringrequiredUser input question
output_formatstringoptionalOutput format. Use "json" for a automatic generic object, or provide a JSON Schema to enforce a specific output structure ex:{"schema":{"type":"object"}}