Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to the Pylon MCP server

Vendor MCP
Open markdown

The Pylon MCP connector routes your AI agent's tool calls to Pylon's own MCP server through Scalekit. Each user signs in to Pylon once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 31 tools.

Tools
31
What they doRead · write · destructive
18 · 9 · 418 read9 write4 destructive
Users sign in with
OAuth app
Scalekit's or your own

What you can do

  • Handle support issues: create, search, and update issues and read their full message history
  • Manage accounts and contacts: search and update customer accounts, upload files, and look up contacts
  • Run customer projects: create projects from templates and update their milestones, owners, dates, and status
  • Track tasks: create, search, update, and delete tasks linked to accounts, projects, or milestones
  • Review AI agent activity: retrieve an AI agent’s actions, escalations, and messages on a specific issue

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    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. Create the Pylon MCP connection

    In AgentKit > Connections, create a Pylon MCP connection. The name you give it is the connection_name your code passes. See Configure connections.

    Scalekit credentials are available for Pylon, so you don't need to register an OAuth app.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'pylonmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Pylon MCP:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'pylonmcp_get_me',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user signs in once. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • pylonmcp_get_accountRetrieve a single account by its ID or external ID.Read-only

    Get Account

    Retrieve a single account by its ID or external ID.

    Inputs

    accountstringrequired
    The account ID (UUID) or external ID.
  • pylonmcp_get_agent_issueRetrieve an AI agent's full event and action timeline on a specific issue, including tool calls, runbook steps, reassignments/escalations, messages, and outcomes.Read-only

    Get Agent Issue Activity

    Retrieve an AI agent's full event and action timeline on a specific issue, including tool calls, runbook steps, reassignments/escalations, messages, and outcomes.

    Inputs

    agent_idstringrequired
    The AI agent whose activity to fetch.
    issue_idstringrequired
    The issue to fetch the agent's event timeline for.
  • pylonmcp_get_contactRetrieve a single contact by their ID or external ID.Read-only

    Get Contact

    Retrieve a single contact by their ID or external ID.

    Inputs

    contactstringrequired
    The contact ID (UUID).
  • pylonmcp_get_issueRetrieve a single issue by its ID.Read-only

    Get Issue

    Retrieve a single issue by its ID.

    Inputs

    issuestringrequired
    The issue ID (UUID) or issue number.
  • pylonmcp_get_issue_messagesRetrieve all messages and replies for a specific issue.Read-only

    Get Issue Messages

    Retrieve all messages and replies for a specific issue.

    Inputs

    issuestringrequired
    The issue ID (UUID) or issue number.
  • pylonmcp_get_meRetrieve the profile of the currently authenticated user.Read-only

    Get Me

    Retrieve the profile of the currently authenticated user.

    Inputs

    This tool takes no inputs.

  • pylonmcp_get_milestoneRetrieve a single milestone by its ID.Read-only

    Get Milestone

    Retrieve a single milestone by its ID.

    Inputs

    milestone_idstringrequired
    The milestone ID to get details for.
  • pylonmcp_get_milestonesList milestones, optionally filtered by project or account.Read-only

    Get Milestones

    List milestones, optionally filtered by project or account.

    Inputs

    account_idstring
    ID of the account to associate with this resource.
    limitinteger
    Maximum number of items to return.default 50
    project_idstring
    Project ID to filter milestones by.