Working on local files? For direct filesystem access in a single directory, use the Working Directory instead. It provides built-in tools like
Read, Write, and Bash without MCP configuration. Sources are best for external services or accessing multiple file locations.What Are Sources?
A source is any external data connection your agent can use:- MCP servers - Standardized AI tool integrations
- REST APIs - Any service with HTTP endpoints
- Local folders - Bookmarks to folders on your machine
Source Types
MCP Servers
Model Context Protocol servers provide rich, pre-built tool integrations. Many services offer official MCP support.Examples: Linear, GitHub, Brave Search
REST APIs
Connect to any service with an API. Provide documentation and your agent can make authenticated requests.Examples: Exa Search, custom backends
Local Folders
Bookmark folders on your machine with documentation and quick access.Examples: Notes, downloads, reference directories
How Sources Work
Each source lives in a folder at:config.json- Connection settings, authentication type, status (required)guide.md- Instructions for your agent on how to use this source (optional)permissions.json- Custom rules for Explore mode (optional)icon.*- Visual icon for the source (optional)
config.json
The configuration file defines how to connect to the source:type- Source type:mcp,api, orlocalenabled- Whether the source is activeprovider- Service identifier (e.g.,"linear","github","custom")isAuthenticated- Whether credentials are storedconnectionStatus- Current state:connected,needs_auth,failed,untested, orlocal_disabled
icon.*
Place an icon file in the source folder (icon.svg, icon.png) for custom branding. Icons are auto-discovered—no configuration needed.
How icons work:
config.icon value | Behavior |
|---|---|
Emoji ("🔧") | Rendered as emoji |
Local path ("./icon.svg") | Loads from source folder |
URL ("https://...") | Auto-downloaded by validation |
| Not set | Auto-discovers icon.svg/icon.png, falls back to favicon |
icon to a URL when creating sources, then run validation. The icon is downloaded and cached locally for fast, offline display.
guide.md
The guide file helps your agent understand how to use the source effectively:Activation and Deactivation
Sources can be enabled or disabled without removing them:- In the UI: Toggle the source on/off in the workspace settings
- In config.json: Set
"enabled": false
Source Lifecycle
- Setup - Create source folder and config.json
- Authentication - Store credentials (OAuth, API key, etc.)
- Testing - Validate connection works
- Active use - Source available in conversations
- Deactivation - Disable when not needed
Explore Mode Permissions
By default, sources work in Explore mode with read-only access. Create apermissions.json to define which operations are safe:
list becomes mcp__linear__.*list internally.