Agent Launchpad MCP tools

AI Toolkit version 6.3.0 provides 25 Agent Launchpad tools through the Splunk MCP Server app. These tools let AI assistants and agents build, run and review Launchpad agents without opening Agent Launchpad.

Connect a compatible MCP client to the Splunk MCP Server app to access the Agent Launchpad tools. Tool calls are made through the MCP Server app.

When using MCP tool calls, the MCP client can perform the following actions:

  • List, view, create and edit agents, including their prompts, LLM connection, MCP tools, knowledge bases, skills and response schema.

  • Run an agent, get its thread ID right away, check the result, ask follow-ups and answer tool approvals.

  • List, view, create and edit skills, and browse agent and skill templates.

  • List and test LLM and MCP connections, and list knowledge bases.

  • List, view, create, edit, turn on and turn off agent schedules.

Some actions remain available only in Agent Launchpad or through the REST API. The MCP tools do not support deleting agents, skills, connections, or schedules, creating connections, or setting or viewing credentials. No MCP tool accepts or returns credentials.

Each tool runs as the user associated with the MCP token. Users can access and change only the Agent Launchpad resources they have permission to access and change.

Requirements

To use the Agent Launchpad MCP tools, you need the following apps, capabilities, and access:

Requirement Description
Apps

Splunk Cloud platform running version 10.4 or higher.

App Manager is included with Splunk Cloud platform versions 10.4 or higher and registers the tools.

Version 6.3.0 or higher of the Splunk AI Toolkit.

Version 2.1.0 or higher of the Splunk MCP Server app.

Capabilities The mcp_tool_execute capability and the AI Toolkit capabilities and Agent Launchpad access required for the actions you want to perform. Creating a schedule also requires schedule_search.
Token An MCP token for the user, created in the Splunk MCP Server app.
Endpoint Use https://<stack>/en-US/splunkd/__raw/services/mcp or, go through the management port, https://<stack>:8089/services/mcp.

Common tasks

The following are common tasks for calling Agent Launchpad MCP tools.

Run an agent and follow-up

  1. Call launchpad_invoke_agent with agent_name and prompt. It returns right away with the run's search_id and the thread ID (thread_id, also session_id).

  2. Call launchpad_get_run_result with the search_id until state is Completed or Failed.

  3. To ask a follow-up in the same thread, call launchpad_invoke_agent again with the same session_id.

  4. To read the whole conversation later, call launchpad_get_thread. It searches run history, so it is slower. Don't use it to check a run you just started.

The agent must be enabled and in the Available state. After you create or update an agent, wait until launchpad_get_agent shows as Available.

Answer a tool approval

When a run pauses for approval, launchpad_get_run_result shows hitl_status set to waiting_for_approval, and hitl_pending lists each pending tool call with its tool_call_id.

To answer, call launchpad_invoke_agent with the same session_id, the prompt Tool approval decisions submitted., and hitl_input as JSON text:

PYTHON
{
  "decisions": [
    {
      "tool_call_id": "<from hitl_pending>",
      "approved": true
    }
  ]
}
Notes:
  • Set approved to true to approve a tool call or false to reject it. Tool calls you omit from decisions are rejected.
  • To give the agent a correction, put it in prompt instead of the default text.

Attach skills, MCP tools, and knowledge bases

On launchpad_create_agent and launchpad_update_agent, send lists as JSON array text:

Setting Example

skills

["evidence-verifier"]

mcps ["Splunk_MCP_slack"] for all of a connection's saved tools, or [{"name": "Splunk_MCP_slack", "tools": ["slack_search_users"]}] for some of them
knowledge_bases ["product-docs"]

On update, settings you don't send stay as they are, a list you send replaces the whole list, and [] clears it. Tools that need approval come from the MCP connection's settings.

Switch the LLM connection

Call launchpad_update_agent with llm_connection_name. The connection's provider, model and settings replace the agent's.

Schedule an agent

Call launchpad_create_schedule with a recurring timing (a five-field cron expression; Sunday is 0) or a one-time run_at, plus an optional end_at and prompt_override. Times need a UTC offset, for example 2030-01-02T09:00:00+00:00. Turn a schedule on or off with launchpad_set_schedule_enabled.

Connect an MCP client

Follow these steps to connect an MCP client:

  1. Ask an administrator to check that the tools are registered by running

    GET /services/mcp_tools?external_app_id=Splunk_ML_Toolkit. The response should include 25 tools with names that begin with Splunk_ML_Toolkit_launchpad_.
  2. If any tools are disabled, an administrator must enable them in the Splunk MCP Server app.

  3. Configure the MCP client with the endpoint and MCP token.

  4. List the tools from the MCP client to confirm the connection.

Note: Each tool runs as the user who owns the token. Users only see and change what they can see and change in Agent Launchpad.

Available tools

In an MCP client, each tool name starts with Splunk_ML_Toolkit_.

For example: Splunk_ML_Toolkit_launchpad_invoke_agent.

Area Tools What it does
Agents launchpad_list_agents Lists the agents the user can read, with each one's description, state and tools.
Agents launchpad_get_agent Shows one agent's full setup.
Agents launchpad_create_agent Creates a private agent, with optional skills, MCP tools, knowledge bases and response schema.
Agents launchpad_update_agent Changes an agent's prompts, description, LLM connection, tools, skills, knowledge bases, schema or timeout.
Runs launchpad_invoke_agent Starts a run, or continues a thread, and returns the search_id and thread ID right away. Also answers tool approvals.
Runs launchpad_get_run_result Shows a run's state and, when it is done, its reply, tool calls and approval status.
Runs launchpad_get_thread Shows the whole conversation in a thread.
Skills launchpad_list_skills Lists the skills the user can use.
Skills launchpad_get_skill Shows a skill's full text.
Skills launchpad_create_skill Creates a private skill.
Skills launchpad_update_skill Changes a skill's description or text.
Skills launchpad_list_skill_templates Browses the Splunk skill catalog, to copy a skill with launchpad_create_skill.
Templates launchpad_list_templates Browses the agent templates.
Templates launchpad_get_template Shows a template's prompts, skills and suggested MCP servers.
Connections launchpad_list_llm_connections Lists the LLM connections, with their provider and model.
Connections launchpad_list_mcp_connections Lists the MCP connections and their saved tools.
Connections launchpad_list_knowledge_bases Lists the knowledge bases that can be attached to an agent.
Connections launchpad_test_llm_connection Tests an LLM connection: success or error, response time and a reply preview.
Connections launchpad_test_mcp_connection Tests that an MCP connection is reachable and its token still works.
Schedules launchpad_list_schedules Lists all the schedules the user can see, with timing, next run and status.
Schedules launchpad_list_agent_schedules Lists one agent's schedules.
Schedules launchpad_get_schedule Shows one schedule.
Schedules launchpad_create_schedule Schedules an agent: recurring with a cron expression, or once at a set time, with an optional end date.
Schedules launchpad_update_schedule Replaces a schedule's settings.
Schedules launchpad_set_schedule_enabled Turns a schedule on or off.

Limitations and known issues

See the following table for known limitations and issues and how to resolve them.

Limitation or issue Description
Agent name Letters and digits only, up to 24 characters.
Missing dependencies A skill, MCP connection, knowledge base or LLM connection that doesn't exist, or that the user can't read, is refused with MISSING_DEPENDENCY, for example Skill evidence-verifier was not found or you cannot read it. Nothing is changed.
MCP tools on an agent A tool that isn't in the MCP connection's saved tools is refused, and the message lists the tools the connection has.
Run status There is no notification when a run finishes. Poll launchpad_get_run_result.
Past runs Runs are found by thread ID. To search past runs, use Run History in Agent Launchpad.
Agent schedules launchpad_get_agent doesn't list an agent's schedules. Use launchpad_list_agent_schedules
Editing a schedule launchpad_update_schedule replaces every setting, so resend everything from launchpad_get_schedule. It also clears the schedule's email recipients. Add them again in Agent Launchpad.