Skip to main content
MCP lets Claude Code or Codex work with your TicketCord tickets and Knowledge Base after you sign in and approve access. Think of it as a secure bridge between your AI tool and TicketCord. You can ask questions in everyday language, triage and reply to support tickets, review what the tool finds, and tell it to update your knowledge without clicking through every dashboard screen. Paste the copied prompt into Claude Code, Codex, or another MCP-capable agent and it will install the connection, walk you through authorization, and learn how to use TicketCord correctly. The full prompt is shown below, and the rest of this page covers the same steps manually.
You must be the TicketCord account owner, and MCP requires an active paid plan. Ticket tools work on every paid plan; Knowledge Base tools additionally require a plan that includes Knowledge Base access. Dashboard staff cannot create an MCP connection.
One MCP connection covers every TicketCord bot you own now and every bot you add later. Every action still targets one bot and server explicitly. TicketCord checks your ownership and plan before every request.

Fastest Setup: Copy One Prompt

This is the prompt behind the Copy agent setup prompt button above. You can also copy it here with the code block’s copy button and review exactly what your agent is told to do.
Copy this prompt into your AI agent

What You Need

  • A TicketCord account that owns at least one bot
  • An active paid plan (Knowledge Base tools additionally require Knowledge Base access)
  • Claude Code or the Codex CLI
  • Access to a browser so you can sign in and approve the connection

Connect Your AI Tool

1

Open the MCP page

In the TicketCord dashboard, open Dashboard → MCP (in the Intelligence section of the sidebar). The Connect AI tools card shows the setup commands and your active connections.
2

Add TicketCord to your AI tool

Use the commands for the tool you installed.Claude Code
Codex
3

Approve access in your browser

TicketCord opens in your browser. Sign in and review:
  • The warning that the connection covers your entire account
  • Read tickets permission for viewing ticket lists, conversations, details, and internal staff notes
  • Manage tickets permission for replying, closing or reopening, and updating claims, priority, tags, and internal notes
  • Read knowledge bases permission for viewing and searching knowledge
  • Manage knowledge bases permission for changing settings, sources, and entries
  • Delete knowledge permission for permanently removing sources and entries
Select Allow access to continue or Deny to cancel.
4

Return to your AI tool

When the page says Authentication complete, close the browser tab and return to Claude Code or Codex.Start with:

What You Can Do

Triage Tickets

List tickets across your servers with filters for status, priority, assignment, tags, and text search, then read the full conversation of any ticket.

Reply and Resolve

Send staff replies straight into the ticket channel on Discord, close resolved tickets (with the full close pipeline: transcript, feedback request, logs, and webhooks), and reopen them if the conversation needs to continue.
Replies are visible to the customer immediately. Ask your AI tool to show you the exact message before it sends anything.

Organize Your Queue

Claim or release tickets, set priority, add or remove tags, and keep internal staff notes that customers never see.

Find Answers

Ask Claude Code or Codex to search your Knowledge Base by meaning. TicketCord returns short matching passages with source names and confidence, then your AI tool uses those passages to answer.

Check Knowledge Base Health

List your Knowledge Bases and inspect their settings, sources, indexing status, and entries.

Manage Sources

Create, edit, enable, disable, reindex, or delete:
  • Web pages
  • Discord channels
  • GitHub repositories that are already connected to TicketCord
Creating a source automatically queues its first index. Ask for a reindex after the source content changes.
Connecting or disconnecting your GitHub account still happens only in the TicketCord dashboard.

Manage Entries

List, create, edit, review, approve, reject, or delete Knowledge Base entries.

Change Settings

Update the same Knowledge Base settings that are editable in the dashboard, including:
  • Enabled state and product information
  • Triggers and display options
  • Answer quality and update behavior
  • Feedback and ticket learning
  • Auto Support
Usage counters, plan limits, and internal settings remain read-only.

Complete Action List

  • List your bots and their servers: list_ticket_bots
  • List and filter tickets: list_tickets
  • View one ticket with its recent conversation: get_ticket
  • List internal staff notes: get_ticket_notes
  • Send a staff reply the customer sees: reply_to_ticket
  • Close (resolve) a ticket: close_ticket
  • Reopen a closed ticket: reopen_ticket
  • Claim a ticket for your account: claim_ticket
  • Release your claim: unclaim_ticket
  • Set priority (none to urgent): set_ticket_priority
  • Add a tag: add_ticket_tag
  • Remove a tag: remove_ticket_tag
  • Add an internal staff note: add_ticket_note
  • List Knowledge Bases: list_knowledge_bases
  • View one Knowledge Base: get_knowledge_base
  • Search for relevant passages: search_knowledge_base
  • List available source choices: list_knowledge_source_options
  • List Knowledge Base entries: list_knowledge_entries
  • Change Knowledge Base settings: update_knowledge_base_settings
  • Add a source: create_knowledge_source
  • Edit, enable, or disable a source: update_knowledge_source
  • Reindex a source: index_knowledge_source
  • Delete a source: delete_knowledge_source
  • Create an entry: create_knowledge_entry
  • Edit an approved entry: update_knowledge_entry
  • Approve or reject a pending entry: review_knowledge_entry
  • Delete an entry: delete_knowledge_entry

Useful Prompts

Work Through Your Ticket Queue

Review Before Changing Anything

Keep Documentation Current

Review Learned Answers

Compare Your Servers

Permissions and Safety

Ticket replies reach the customer immediately, and deleting a source or entry is permanent. For risky changes, ask the AI tool to show what it found and explain its planned action before it changes anything.
TicketCord applies these protections on every request:
  • Ownership and plan access are checked again, even after authorization
  • Every action must name its bot and server, and ticket actions only work on bots you own
  • Ticket conversations are bounded and sanitized: message windows are limited, long text is capped, and attachment links and avatars are excluded
  • Search results are limited and exclude internal IDs, secrets, and private backend details
  • Ticket messages and Knowledge Base text are treated as content, not as instructions for the AI tool
  • Write and delete actions are recorded in TicketCord’s audit trail, including the affected ticket, without storing prompts or Knowledge Base content
Never store passwords, API keys, secrets, or customer data in your Knowledge Base.

Revoke a Connection

  1. Open the TicketCord dashboard.
  2. Go to Dashboard → MCP.
  3. Find the connection under Active connections in the Connect AI tools card.
  4. Select Revoke and confirm.
Revocation takes effect immediately. The AI tool must complete authorization again before it can access TicketCord.

Plan Changes

MCP requires an active paid plan. If your plan expires, TicketCord pauses MCP access on the next request and marks the connection as Paused by plan on the MCP page. If your plan no longer includes Knowledge Base access, the Knowledge Base tools pause while ticket tools keep working. Access resumes after you upgrade to an eligible plan, unless you revoked the connection or its refresh access expired.

Troubleshooting

The browser did not open

Run the login command again. Your terminal should display an authorization link that you can open manually.
or
The authorization page is temporary and can only be used once. Close the old tab and run the login command again to receive a new request. Do not submit the expired page again.

Authentication completed, but the tool is still waiting

Return to your terminal and give the client a moment to finish. If it does not complete, cancel the login command and run it again. Do not reuse the previous browser tab.

Access was denied

Check that:
  1. You are signed in as the TicketCord account owner.
  2. Your current plan is an active paid plan (Knowledge Base tools also require Knowledge Base access).
  3. You still own the bot and server named in the request.
  4. The connection has not been revoked.

Knowledge Base Sources

Learn how to prepare and maintain high-quality sources.