Sources

Connect external data like MCP servers, REST APIs, and local filesystems. Sources give your agent tools to access services like GitHub, Linear, or your Obsidian vault.

What are Sources?

Sources are external data connections that extend TorlyAI's capabilities. They allow the AI to interact with external services, access your local files, and use specialized tools during conversations.

Source Types

MCP Servers

Model Context Protocol servers provide structured access to services like GitHub, Linear, Notion, and more.

Learn more โ†’

REST APIs

Connect to any REST API with flexible authentication. Make HTTP requests to external services directly.

Learn more โ†’

Local Folders

Give the agent access to local directories like Obsidian vaults, code repositories, or data folders.

Learn more โ†’

Adding a Source

  1. Click Sources in the sidebar
  2. Click Add Source
  3. Select the source type (MCP, API, or Local)
  4. Configure the connection settings
  5. Test the connection to ensure it works

Source Permissions

Each source can have its own permission rules. You can configure which tools are allowed, which bash commands are permitted, and which paths can be written to.

Source permissions are stored in ~/.torlyai/workspaces/{id}/sources/{slug}/permissions.json