Skip to content
Scalekit Docs

Connect AI agents to the Candid MCP server

Vendor MCP6 toolsOAuth 2.1/DCRSearchAI

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

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

    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.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 = 'candidmcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Candid 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: 'candidmcp_search_organizations',
    toolInput: { query: 'YOUR_QUERY' },
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

Connect this agent connector to let your agent:

  • Terms taxonomy — Classify text using Candid’s Philanthropy Classification System (PCS) taxonomy to get subject and population codes
  • Search organizations — Search Candid’s database for nonprofits and grantmaking organizations by name, mission, location, or type of work
  • Resources knowledge — Search Candid’s knowledge base for articles, blog posts, research reports, and training content about the social and philanthropic sector
  • Organizations identify mentioned — Resolve nonprofit names mentioned in text to Candid profile URLs
  • Locations identify — Detect and resolve geographic names in text to Geonames IDs for use in organization search filters
  • Date current — Get today’s date for use in time-sensitive queries and data requests

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.

candidmcp_current_date#Get today's date for use in time-sensitive queries and data requests.0 params

Get today's date for use in time-sensitive queries and data requests.

candidmcp_identify_locations#Detect and resolve geographic names in text to Geonames IDs for use in organization search filters.1 param

Detect and resolve geographic names in text to Geonames IDs for use in organization search filters.

NameTypeRequiredDescription
textstringrequiredNo description.
candidmcp_identify_mentioned_organizations#Resolve nonprofit names mentioned in text to Candid profile URLs.1 param

Resolve nonprofit names mentioned in text to Candid profile URLs.

NameTypeRequiredDescription
organizationsarrayrequiredNo description.
candidmcp_knowledge_resources#Search Candid's knowledge base for articles, blog posts, research reports, and training content about the social and philanthropic sector.3 params

Search Candid's knowledge base for articles, blog posts, research reports, and training content about the social and philanthropic sector.

NameTypeRequiredDescription
querystringrequiredNo description.
sourcesarrayrequiredNo description.
news_days_agointegeroptionalNo description.
candidmcp_search_organizations#Search Candid's database for nonprofits and grantmaking organizations by name, mission, location, or type of work.9 params

Search Candid's database for nonprofits and grantmaking organizations by name, mission, location, or type of work.

NameTypeRequiredDescription
querystringrequiredNo description.
geonameids_of_geographies_servedstringoptionalNo description.
geonameids_of_organization_locationstringoptionalNo description.
leader_demographicsstringoptionalNo description.
located_admin1stringoptionalNo description.
located_postal_codestringoptionalNo description.
org_seal_statusstringoptionalNo description.
populations_served_codesstringoptionalNo description.
subject_codesstringoptionalNo description.
candidmcp_taxonomy_terms#Classify text using Candid's Philanthropy Classification System (PCS) taxonomy to get subject and population codes.1 param

Classify text using Candid's Philanthropy Classification System (PCS) taxonomy to get subject and population codes.

NameTypeRequiredDescription
textstringrequiredNo description.