CustomGPT AI MCP server for AI agents

Live

BEARER TOKEN

KNOWLEDGE AGENTS

AI

CustomGPT AI gives your agent control of your CustomGPT AI account: ask agents questions, manage documents and data sources, review conversations and citations, check response trust scores, and read usage reports.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
CustomGPT AI
agent · Acme Q3
Run
Ask my support agent how to reset a password.
S
customgpt_message_send
1620ms
Knowledge agent
The support agent answered with the password reset steps and cited 2 source pages from its knowledge base.
Sources: CustomGPT AI agent, 2 citations
customgpt
2 citations
18:29
Message Claude...

Tools your knowledge agents agent reaches for on CustomGPT AI, scoped per user.

CALL ANY TOOL
59 tools for knowledge agents in CustomGPT AI: send messages, manage documents and data sources, review conversations and citations, verify claims, and read reports and usage.
customgpt_agent_delete
Delete agent
Permanently delete an agent with its knowledge base, conversations, settings and analytics. Returns data (deleted). This cannot be undone. Get the agent ID (projectId) from customgpt_agents_list.
Parameters
Name
Type
Required
Description
project_id
integer
Required
The unique identifier of the agent (formerly known as project). Example: 12345
customgpt_agent_get
Get agent
customgpt_agent_replicate
Agent replicate
customgpt_agents_list
List agents
customgpt_child_agents_list
List child agents
customgpt_citation_get
Get citation
customgpt_conversation_create
Create conversation
customgpt_conversation_update
Update conversation
customgpt_conversations_list
List conversations
customgpt_deployment_settings_update
Update deployment settings
customgpt_document_delete
Delete document
customgpt_document_labels_get
Get document labels
customgpt_document_labels_set
Set document labels
customgpt_document_reindex
Document reindex
customgpt_licenses_list
List licenses
customgpt_message_feedback_update
Update message feedback
customgpt_message_get
Get message
customgpt_message_send
Send message
customgpt_persona_version_activate
Activate persona version
customgpt_report_conversations_get
Get report conversations
customgpt_report_queries_get
Get report queries
customgpt_source_sync
Sync source
customgpt_sources_list
List sources
customgpt_tag_delete
Delete tag
customgpt_tag_update
Update tag
customgpt_tags_create
Create tags
customgpt_task_get
Get task
customgpt_task_stop
Stop task
customgpt_tasks_list
List tasks
customgpt_team_members_list
List team members

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// CustomGPT AI tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["customgpt"], toolNames: [
    "customgpt_message_send",
    "customgpt_message_trust_score_get",
    "customgpt_documents_list"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Ask my support agent about the refund policy, show the trust score of the answer, and list the documents in its knowledge base" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["customgpt"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Ask my support agent about the refund policy, show the trust score of the answer, and list the documents in its knowledge base" }],
  tools,
});

// Execute the tool call with the user's vaulted CustomGPT AI access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["customgpt"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Ask my support agent about the refund policy, show the trust score of the answer, and list the documents in its knowledge base" }],
  tools,
});

// Tool call runs with the user's vaulted CustomGPT AI access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["customgpt"] }, pageSize: 100,
});

const agent = new Agent({
  name: "knowledge_agent",
  model: "gemini-2.5-pro",
  instruction: "CustomGPT AI tools scoped to this user",
  tools,
});

await agent.run("Ask my support agent about the refund policy, show the trust score of the answer, and list the documents in its knowledge base");
Try these prompts
Copy any prompt into your agent. Each maps directly to a CustomGPT AI tool. Click to copy, paste into your agent, done.
Ask and verify
Copy the prompt
Copied
Ask my support agent how to reset a password.
Copy the prompt
Copied
Show the trust score for the last response.
Copy the prompt
Copied
Verify the claims in that response against the agent's sources.
Knowledge base
Copy the prompt
Copied
List the documents in my support agent's knowledge base.
Copy the prompt
Copied
Re-index the pricing page document so the agent uses its current content.
Copy the prompt
Copied
Re-sync the help center sitemap source now.
Reports and usage
Copy the prompt
Copied
Show query and conversation metrics for the last 30 days.
Copy the prompt
Copied
List the leads captured from conversations.
Copy the prompt
Copied
Show my plan limits and current usage.
SEE HOW AUTH WORKS
Each user connects their own CustomGPT AI access token once, and Scalekit sends it with every call. Access tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
CustomGPT AI
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
CustomGPT AI
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
CustomGPT AI
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
CustomGPT AI
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other AI connectors.
Support and Ops Teams
Support triage agent
Fetches new Zendesk tickets, classifies them by type and urgency, searches the Notion knowledge base for an answer, and routes what it cannot resolve to Slack. Every call runs on the support agent's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other AI connectors.
SUPPORT
Support triage agent
Classify new Zendesk tickets, search the Notion knowledge base for an answer, and route what it cannot resolve to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared CustomGPT AI access token looks fine in a demo. In production every agent question looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
CustomGPT AI today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access CustomGPT AI as the user or through a shared key?
As the user. Each user connects their own CustomGPT AI access token once, and Scalekit sends it with every call. Audit logs attribute every agent question to that user, not a shared service account.
Where is the CustomGPT AI access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in CustomGPT AI?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and report tools without customgpt_agent_delete, which permanently deletes an agent with its knowledge base and conversations. 6 of the 59 tools are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes CustomGPT AI access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent manage an agent's persona?
It can review it. customgpt_persona_versions_list returns the saved versions of an agent's persona instructions, and customgpt_persona_version_activate makes an earlier version the active persona, saved as a new version.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""customgpt"": {
""url"": ""https://mcp.scalekit.com/customgpt"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.customgpt]
url = ""https://mcp.scalekit.com/customgpt""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""customgpt"": {
""url"": ""https://mcp.scalekit.com/customgpt"",
""type"": ""http""
}
}
}