LLM Skills Library
Ready-to-deploy AI skills powered by People.ai MCP
Setup Guides About
← Back to Library
← Back to Library
About the LLM Skills Library
This library contains ready-to-deploy AI skills that leverage the People.ai MCP (Model Context Protocol) integration. Each skill is a pre-built template that transforms raw CRM and communication data into actionable intelligence.
How it works:
1. Choose a skill from the library
2. Pick your platform (Claude.ai, Claude Code, ChatGPT, or Gemini)
3. Copy the instructions and follow the setup steps
4. Start using the skill with any account name

Prerequisites:
• A Claude Pro/Team, ChatGPT Plus, or supported LLM account
• People.ai MCP integration connected (Setup Guide)

Maintained by: AI Innovation Team
Slack: #claude-users
← All Guides

People.ai MCP Setup Guide

The People.ai Model Context Protocol (MCP) server is the core data source for every skill in this library. It gives AI assistants direct access to account activity, engagement data, opportunity status, and contact intelligence.

What is MCP? Model Context Protocol is an open standard that lets AI assistants call external tools and data sources. People.ai's MCP server exposes sales intelligence as tools that assistants can invoke during conversations — no custom API integration needed.
Prerequisites: An active People.ai account with MCP access enabled, plus a supported LLM platform (Claude.ai Pro/Team, ChatGPT Plus, Microsoft Copilot, or Google Gemini).

What You Can Do

Available MCP Tools

The People.ai MCP server exposes these tools to connected AI assistants:

Tool Description Used By
find_account Search for accounts by name or domain All skills
get_account_status Account health, engagement score, risk signals Account Plan, Sentiment, Renewal Risk
get_recent_account_activity Meetings, emails, calls in a time window Account Plan, Meeting Prep, QBR Generator
get_opportunity_status Deal stage, amount, close date, activity Opportunity Agent, MEDDPICC, Win Probability
get_recent_opportunity_activity Recent deal-level interactions and changes Opportunity Agent, Deal Debrief
get_engaged_people Contacts with recent engagement on an account Relationship Map, Multi-Threading Coach
get_scorecard Account plan sections with completion scores Account Plan, Engagement Scorecard
ask_sales_ai_about_account Natural language queries about any account (10-30s) Executive Briefing, Pipeline Review
ask_sales_ai_about_opportunity Natural language queries about any deal (10-30s) Opportunity Agent, Win Probability, MEDDPICC
top_records Top accounts/opps by activity, risk, or value Pipeline Review, Whitespace Mapper
account_company_news Recent news about an account's company Company News, Meeting Prep, Executive Briefing

1. Obtain MCP Credentials

  1. Contact your People.ai administrator or CSM to request MCP API access
  2. You'll receive two credentials:
    • Client ID — your organization's MCP client identifier
    • Client Secret — authentication secret
  3. Store these credentials securely — you'll need them for platform configuration
Important: MCP credentials are different from People.ai REST API credentials. Make sure you request MCP-specific access.

2. Configure in Claude.ai

Claude.ai Projects support MCP integrations natively:

  1. Open Claude.ai and go to SettingsIntegrations
  2. Find People.ai MCP in the available integrations
  3. Click Connect and enter your Client ID and Client Secret
  4. Enable the integration — it will now be available in all your Projects
  5. Create a new Project, paste skill instructions, and start chatting
Tip: Each skill in this library includes a "Copy Instructions" button. Paste these directly into your Project's custom instructions.

3. Configure in Claude Code

Add People.ai MCP to your Claude Code settings:

# In your Claude Code MCP settings (settings.json or .mcp.json):
{
  "mcpServers": {
    "peopleai": {
      "url": "https://mcp.people.ai/mcp",
      "transport": "sse",
      "headers": {
        "PAI-Client-Id": "your-client-id",
        "PAI-Client-Secret": "your-client-secret",
        "Content-Type": "application/json"
      }
    }
  }
}

Copy skill instructions into your CLAUDE.md file or invoke them as slash commands.

4. Configure in ChatGPT

ChatGPT Custom GPTs use Actions to connect to external APIs:

  1. Go to ChatGPTExplore GPTsCreate
  2. Paste the skill instructions into the Instructions field
  3. Under Actions, click Create new action
  4. Configure API endpoints for each People.ai MCP tool the skill uses
  5. Set authentication headers: PAI-Client-Id and PAI-Client-Secret
  6. Save and publish the GPT
Header names are case-sensitive. Use exactly: PAI-Client-Id (not PAI-Client-ID or pai-client-id).

5. Configure in Microsoft Copilot

Use Copilot Studio to create agents with People.ai data:

  1. Open Microsoft Copilot Studio and create a new agent
  2. Paste the skill instructions into the agent's instructions field
  3. Under Plugins, add a new connector for People.ai
  4. Configure the MCP endpoint: https://mcp.people.ai/mcp
  5. Add authentication headers: PAI-Client-Id and PAI-Client-Secret
  6. Publish and test the agent

6. Configure in Google Gemini

Coming Soon: Google Gemini does not yet support MCP connections natively. We've prepared Gemini Gem instructions for all skills so they're ready when the integration launches. Check back for updates or follow the developer platforms section below.

7. Developer Platforms

For programmatic access, use these SDK examples:

LangGraph (Python)

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
    "peopleai": {
        "url": "https://mcp.people.ai/mcp",
        "transport": "sse",
        "headers": {
            "PAI-Client-Id": os.environ["PEOPLEAI_CLIENT_ID"],
            "PAI-Client-Secret": os.environ["PEOPLEAI_CLIENT_SECRET"],
            "Content-Type": "application/json",
        }
    }
})
tools = await client.get_tools()

Claude Agent SDK (Python)

pip install claude-agent-sdk anthropic

from claude_agent_sdk import Agent
import anthropic

agent = Agent(
    client=anthropic.Anthropic(),
    model="claude-sonnet-4-20250514",
    system="You are a sales intelligence assistant...",
    mcp_servers=[{
        "name": "peopleai",
        "url": "https://mcp.people.ai/mcp",
        "headers": {
            "PAI-Client-Id": os.environ["PEOPLEAI_CLIENT_ID"],
            "PAI-Client-Secret": os.environ["PEOPLEAI_CLIENT_SECRET"],
            "Content-Type": "application/json",
        }
    }],
)

OpenAI Agents SDK (Python)

pip install openai-agents

from agents import Agent
from agents.mcp import MCPServerSse

peopleai_mcp = MCPServerSse(
    name="peopleai",
    url="https://mcp.people.ai/mcp",
    headers={
        "PAI-Client-Id": os.environ["PEOPLEAI_CLIENT_ID"],
        "PAI-Client-Secret": os.environ["PEOPLEAI_CLIENT_SECRET"],
        "Content-Type": "application/json",
    },
)

agent = Agent(
    name="Sales Intelligence",
    instructions="You are a sales intelligence assistant...",
    mcp_servers=[peopleai_mcp],
)

8. Environment Variables

Set these for Python-based integrations:

export PEOPLEAI_MCP_URL="https://mcp.people.ai/mcp"
export PEOPLEAI_CLIENT_ID="your-client-id"
export PEOPLEAI_CLIENT_SECRET="your-client-secret"

# Also needed for the LLM:
export ANTHROPIC_API_KEY="sk-ant-..."   # for Claude-based integrations
export OPENAI_API_KEY="sk-..."          # for OpenAI-based integrations

9. Test Your Connection

Try these example queries to verify the connection works:

If the AI responds with real account data, you're connected. If it says it can't access People.ai tools, double-check your credentials and integration setup.

10. Troubleshooting

Issue Cause Fix
People.ai integration not available MCP access not enabled for your org Contact your People.ai CSM to enable MCP API access
Authentication failed Wrong credentials or header names Header names are case-sensitive: PAI-Client-Id, PAI-Client-Secret. Verify MCP-specific credentials (not REST API keys).
AI not using People.ai tools Instructions not explicit enough Use skill instructions from this library — they include explicit tool-calling workflows. Be specific: "Use find_account to look up Acme Corp."
Slow responses (10-30s) AI-powered tools (ask_sales_ai_*) require deep analysis This is normal. Use simpler tools like get_account_status for faster responses.
Tool returns empty data Account name mismatch or no activity Use exact account names from Salesforce. Verify the account has recent engagement data.
ChatGPT Actions not working API schema misconfigured Ensure each Action maps to the correct People.ai MCP endpoint with proper authentication headers.
Security: Your People.ai data stays within the secure People.ai environment — AI assistants only send queries and receive specific responses. All communication uses HTTPS/TLS encryption. The integration respects your People.ai permissions. Rotate credentials regularly.
Need help? For People.ai API issues, contact your CSM or email support@people.ai. For platform-specific questions, consult Claude Support, OpenAI Help, or Microsoft Copilot Support.
← Back to Library

Setup Guides

Step-by-step instructions for connecting People.ai MCP to your preferred AI platform.

Data Source
LLM Platforms
Developer SDKs
← All Guides

Salesforce Agentforce + People.ai MCP

Connect People.ai's MCP server to Salesforce Agentforce to bring real-time sales intelligence directly into your Salesforce environment. Agentforce agents can use People.ai data to analyze accounts, score opportunities, and recommend next best actions — all within Salesforce.

What is Agentforce? Salesforce Agentforce is an AI agent platform that lets you build autonomous agents operating inside Salesforce. Agents use Topics (categories of work) and Actions (tools they can call) to complete tasks using natural language.
Prerequisites:
  • Salesforce org with Agentforce enabled (Enterprise Edition or higher)
  • Active People.ai account with MCP API access enabled
  • Salesforce admin permissions to create agents and external services
  • People.ai MCP credentials (Client ID and Client Secret)

Why Agentforce + People.ai?

1. Register People.ai as an External Service

  1. In Salesforce Setup, search for Named Credentials
  2. Click New Named Credential and configure:
    Label People_ai_MCP
    URL https://mcp.people.ai/mcp
    Identity Type Named Principal
    Authentication Protocol Custom Header
  3. Add custom headers:
    Header Name Value
    PAI-Client-Id [Your Client ID]
    PAI-Client-Secret [Your Client Secret]
    Content-Type application/json
  4. Save the Named Credential
Header names are case-sensitive. Use exactly: PAI-Client-Id (not PAI-Client-ID or pai-client-id).

2. Create Agentforce Actions for MCP Tools

Each People.ai MCP tool becomes an Agentforce Action. Create these as External Service Actions or Apex Invocable Actions:

MCP Tool Agentforce Action Name Input
find_account Find People.ai Account Account Name or Domain
get_account_status Get Account Health Status Account ID
get_opportunity_status Get Opportunity Status Opportunity ID
get_engaged_people Get Engaged Contacts Account ID
ask_sales_ai_about_account Ask Sales AI About Account Account ID, Question
ask_sales_ai_about_opportunity Ask Sales AI About Deal Opportunity ID, Question
get_scorecard Get Performance Scorecard Account ID
top_records Get Top Records Record Type, Sort Criteria
Apex Example:
@InvocableMethod(label='Get Account Status from People.ai'
    description='Retrieves account health and engagement data')
public static List<AccountStatusResult> getAccountStatus(
    List<AccountStatusRequest> requests
) {
    HttpRequest req = new HttpRequest();
    req.setEndpoint('callout:People_ai_MCP/get_account_status');
    req.setMethod('POST');
    req.setBody(JSON.serialize(new Map<String, Object>{
        'account_id' => requests[0].accountId
    }));
    HttpResponse res = new Http().send(req);
    // Parse and return results
}

3. Create an Agentforce Agent

  1. In Setup, go to Agentforce Agents (or search "Agent Builder")
  2. Click New Agent
  3. Give it a name (e.g., Sales Intelligence Agent)
  4. Add a Topic for each skill category:
    Topic Description Actions to Assign
    Account Intelligence Analyze account health, engagement, and relationships Find Account, Get Account Health, Get Engaged Contacts, Ask Sales AI
    Deal Management Opportunity analysis, win probability, and deal coaching Get Opportunity Status, Ask Sales AI About Deal, Get Scorecard
    Pipeline Review Pipeline health, forecasting, and territory analysis Get Top Records, Get Opportunity Status, Ask Sales AI
  5. Paste the skill instructions from this library into each Topic's Instructions field
  6. Assign the People.ai Actions you created in Step 2 to each Topic
  7. Click Activate to deploy the agent

4. Configure Triggers (Optional)

Agentforce agents can run automatically based on Salesforce events:

Configure triggers in Setup → Process Builder or Flow Builder, invoking your Agentforce agent as the action.

5. Test Your Agent

Try these queries in the Agentforce test console:

If the agent responds with People.ai data, you're connected. Check the agent's execution log for tool call details.

6. Troubleshooting

Issue Cause Fix
Callout exception Named Credential misconfigured Verify URL is exactly https://mcp.people.ai/mcp. Check Remote Site Settings include mcp.people.ai.
401 Unauthorized Wrong credentials or header names Headers are case-sensitive: PAI-Client-Id, PAI-Client-Secret. Verify MCP credentials, not REST API keys.
Agent not selecting People.ai actions Actions not assigned to Topic Ensure each People.ai Action is explicitly assigned to the relevant Topic in Agent Builder.
Timeout on ask_sales_ai calls AI analysis takes 10-30 seconds Increase callout timeout in Named Credential. Consider async pattern with Platform Events for long-running analysis.
Permission errors User profile lacks Agentforce access Assign the Agentforce User permission set to target users. Verify agent sharing settings.
Security: Agentforce inherits Salesforce's Trust Layer — all People.ai data queries are governed by your org's sharing rules, field-level security, and audit logging. Credentials are stored securely in Named Credentials, never in code.
Need help? For People.ai MCP issues, contact your CSM or email support@people.ai. For Agentforce questions, see Salesforce Agentforce Documentation or the Trailhead Agentforce modules.
Connect People.ai MCP
Before using any skill, you need to connect the People.ai MCP integration to your LLM platform. This gives the AI access to your account data, communication intelligence, and scorecards.
For Claude.ai: Settings → Integrations → Enable "People.ai MCP"

For ChatGPT: Configure Actions in your Custom GPT pointing to People.ai API endpoints

Full setup guide →
Choose Your Platform
Which LLM platform will you use?
Choose Your First Skill
Pick a skill to start with. We recommend the Account Plan Agent.
Copy & Deploy