Skip to content

MCP Server

Errand includes a built-in MCP (Model Context Protocol) server that gives AI agents access to tools while they work on your tasks. Think of it as a toolkit that agents can reach into whenever they need to do something — like searching the web, sending an email, or creating a new task.

MCP is an open standard for connecting AI models to external tools and data sources. It provides a consistent way for agents to discover and use tools, no matter where those tools come from. You don’t need to understand the technical details — just know that it is what allows your agents to do useful things beyond generating text.

Errand’s MCP server runs automatically as part of your installation at the /mcp/ endpoint. There’s nothing extra to install or configure — it is ready to go out of the box.

The MCP server is secured with a Bearer token to prevent unauthorised access. This token is auto-generated the first time Errand starts up.

To view your token:

  1. Go to Settings > Security
  2. Look for the MCP API Key field

Keep this key safe — anyone with this token can access your agent tools.

The following tools are available to agents by default:

ToolDescription
new_taskCreate a new task from within a running task
task_statusCheck the status and details of another task
task_outputGet the output of a completed task
task_logsGet the runner execution logs of a task
list_tasksList tasks, optionally filtered by status
schedule_taskSchedule a task to run at a future time or on a recurring schedule
list_task_profilesList available task profiles
ToolDescription
list_skillsList available skills
upsert_skillCreate or update a skill by name
delete_skillDelete a skill by name
ToolDescription
web_searchSearch the web via SearXNG
read_urlFetch a URL and convert its HTML content to markdown
read_rss_feedFetch and parse an RSS or Atom feed
ToolDescription
post_tweetPost a tweet
reply_to_tweetReply to a tweet by ID
like_tweetLike a tweet by ID
retweetRetweet a tweet by ID
get_tweet_metricsGet engagement metrics for a tweet
get_my_recent_tweetsGet the authenticated user’s recent tweets with metrics
search_tweetsSearch recent tweets by query (requires X API Basic tier)
ToolDescription
list_emailsList emails from connected email account
read_emailRead the full content of an email
send_emailSend an email (restricted to authorised recipients)
move_emailMove an email between folders
forward_emailForward an email
list_email_foldersList available email folders
ToolDescription
slack_messagePost a new Slack message to a channel or DM a user (outbound allowlist)
slack_replyReply in an existing Slack thread (outbound allowlist)
ToolDescription
search_tasksSearch the full task history (including archived/deleted) with AND filters on profile, status, and creation date
ToolDescription
clone_task_profileClone a task profile under a new name, applying limited overrides
delete_task_profileDelete an eval-only task profile (idempotent, refuses non-eval names)

Agents automatically choose the right tool for the job based on what your task requires. For example, if you ask Errand to “check my inbox and summarise new emails,” the agent will use list_emails and read_email behind the scenes.

Errand ships with a dedicated MCP server for OneDrive. When you connect a OneDrive account in Settings > Integrations, its tools become available to your agents automatically.

ToolDescription
onedrive_list_filesList files and folders in a directory
onedrive_read_fileRead a file’s content and metadata
onedrive_write_fileCreate or update a text file
onedrive_delete_fileDelete a file
onedrive_file_infoGet file or folder metadata without downloading content
onedrive_create_folderCreate a folder (including intermediate folders)
onedrive_move_fileMove or rename a file

OneDrive uses path-based file access (e.g. /Documents/report.docx) and supports concurrency control via ETags when updating files.

Google Workspace access (Drive, Gmail, Calendar, Sheets, Docs, Chat, Tasks, and Contacts) is not provided through an MCP server. Instead, the gws CLI is bundled into the task runner image and made available to agents at /usr/local/bin/gws. Agents invoke gws directly as a command — there is no MCP server in between.

This means:

  • OAuth setup still happens through the Google Drive integration card in Settings > Integrations. The gws CLI uses the same stored credentials.
  • Agent access is via gws drive …, gws gmail …, etc. Reference skills are installed at /opt/system-skills/gws/gws-*/SKILL.md in the task runner.
  • Binary uploads to Drive work natively — the gws drive CLI accepts file paths directly, unlike MCP write_file tools which are text-only.

You can extend what your agents can do by registering additional MCP servers. This lets you connect custom tools or third-party services.

To add a new MCP server:

  1. Go to Settings > Agent Configuration
  2. Find the MCP servers card
  3. Paste a JSON object describing the MCP servers you want to register

Once saved, the tools from those servers become available to your agents alongside the built-in ones.

Controlling Tool Access with Task Profiles

Section titled “Controlling Tool Access with Task Profiles”

Not every task needs access to every tool. Task profiles let you control which MCP servers (and therefore which tools) are available for different types of tasks. For example, you might want a “research” profile that only has web search, or an “email” profile that includes email tools but not task management.

Using Errand’s MCP Server from Other Clients

Section titled “Using Errand’s MCP Server from Other Clients”

The MCP server isn’t just for Errand’s own agents. You can point any MCP-compatible client at your Errand installation to use these tools externally. This means other AI applications or agents on your network can tap into Errand’s capabilities — like sending emails or managing tasks — through the same standard protocol.

To connect an external client, you’ll need:

  • Your Errand server’s address (e.g., http://your-server:port/mcp/)
  • Your MCP API Key (found in Settings > Security)