What is MCP?
Model Context Protocol (MCP) is an open standard that lets AI agents connect to external tools and data sources. MCPs give agents capabilities like browsing the web, querying databases, or interacting with third-party APIs.Built-in MCPs
Twill automatically configures these MCP servers for all tasks:| MCP Server | Capabilities |
|---|---|
| GitHub | Read repository info, issues, and pull requests |
| Playwright | Browser automation and web interaction |
| Context7 | Up-to-date documentation for libraries |
| Linear | Read and update Linear issues (when connected) |
Adding Custom MCPs
You can add custom MCP servers by creating a.mcp.json file in your repository root. Twill will detect this file and make those servers available to the agent.
Configuration Format
Create a.mcp.json file with this structure:
Server Types
MCP supports two connection types:| Type | Description | Example |
|---|---|---|
| stdio | Runs a local command | npx, uvx, or any CLI tool |
| http | Connects to a remote HTTP endpoint | https://mcp.example.com |