Skip to main content
Starter Kit - Ships with your template. You own it - modify freely.

Overview

The Tools Agent enables seamless integration with external tools via the Model Context Protocol (MCP). MCP is an open standard for connecting AI systems with external tools, databases, and services.

What is MCP?

MCP (Model Context Protocol) provides:
  • Standardized tool interface - Unified protocol for tool discovery and invocation
  • HTTP-only transport - Simple REST API, no stdio complexity
  • Tool discovery - Automatic detection of available tools
  • Authentication - Built-in support for Bearer and OAuth
  • Type safety - Schema validation for inputs and outputs

Features

  • HTTP-only transport - No process management or stdio complexity
  • Tool discovery with caching - Automatic detection and caching of available tools
  • Bearer and OAuth authentication - Secure access to external services
  • Configurable timeouts - Fine-grained control over request timeouts
  • Type-safe - Schema validation for inputs and outputs

Use Cases

  • Integrate with external APIs (GitHub, Slack, Notion)
  • Query databases and knowledge bases
  • Execute custom tools from MCP servers
  • Build AI agents with access to external tools

Quick Start

Basic Example

Configure MCP Server

In your conductor.config.ts:

Input Schema

The tools agent accepts any input - arguments are passed directly to the MCP tool:

Example Inputs

Simple query:
Complex parameters:
Nested data:

Output Schema

The tools agent returns a structured response:

Example Output

Success response:
Error response:

Configuration

Configure the tools agent using the config block:

Configuration Options

Example Configuration


Authentication

The tools agent supports two authentication methods:

Bearer Token

OAuth

Environment Variables

Store secrets in environment variables:

Examples

Example 1: Weather Query

Invoke a weather tool to get current conditions:
Expected Output:
Search GitHub repositories using MCP:
Expected Output:

Example 3: Error Handling

Handle tool errors gracefully:

Example 4: Parallel Tool Invocation

Invoke multiple tools in parallel:

Example 5: Tool Discovery Caching

Optimize performance with discovery caching:

Learn More

Tools & MCP Integration

Learn how to integrate external tools via MCP

Starter Kit Overview

Explore other starter kit agents