GitHub
GitHub is a web-based Git repository hosting service for version control and collaboration.
Authentication Types
GitHub supports 4 authentication methods:
-
OAuth - Create your own GitHub OAuth app with custom scopes. Every user connects with their GitHub account.
- Pros: Full control, per-user tracking, production-ready
- Cons: ~2 min setup
-
Instant OAuth - Use Willow's pre-configured GitHub app for the fastest setup.
- Pros: Fastest setup, no configuration needed
- Cons: Limited scopes, not recommended for production
-
API Key - Use a personal access token for all users.
- Pros: Easy setup
- Cons: Less secure, no per-user tracking
-
Server App - Use a GitHub App with installation-level access.
- Pros: Best for organization-wide access, fine-grained permissions
- Cons: More complex setup
Setting up OAuth
1. Create a GitHub OAuth App
- Click New OAuth App
-
Fill in the application details:
- Application name: Give it a descriptive name (e.g., "Willow Integration")
- Homepage URL: Your organization's website
- Authorization callback URL:
- For SaaS deployments:
https://{org}.mcp-s.com/{org}/api/auth/callback - For On-Premise deployments:
{connectUrl}/{org}/api/auth/callback
- For SaaS deployments:
tipYou can find the Redirect URI in Willow when configuring the GitHub connector in the Setup tab → Authentication → OAuth section.
-
Click Register application
-
Copy the Client ID
-
Click Generate a new client secret
-
Copy the Client Secret immediately (it won't be shown again)
2. Configure in Willow
-
In Willow, go to MCP Servers → + Add MCP Server
-
Find and select GitHub (look for the By Willow badge) and click Use
-
Select the risk level of the tools to share and click Create
-
Under Setup tab, Authentication, select OAuth
-
Paste your Client ID in the Client ID field
-
Paste your Client Secret in the Client Secret field
-
Select the scopes you need
-
Click Save Changes
3. Test the Connection
-
On the MCP Gateway, go to MCP Servers
-
Find GitHub and click Connect
-
In a pop-up window, you'll be redirected to GitHub to authorize the app
-
Review the permissions and click Authorize
-
You'll be redirected back to Willow with a successful connection
Generating an API Key (Personal Access Token)
1. Create a Personal Access Token
- Click Generate new token → Generate new token (classic) or Fine-grained token
-
Give your token a descriptive name
-
Select the scopes (permissions) you need
-
Click Generate token
-
Copy the token immediately (it won't be shown again)
2. Configure in Willow
-
In Willow, go to MCP Servers → + Add MCP Server
-
Find and select GitHub (look for the By Willow badge) and click Use
-
Select the risk level of the tools to share and click Create
-
Under Setup tab, Authentication, select API Key
-
Paste your token in the API Key field
-
Click Save Changes
Setting up a Server App (GitHub App)
1. Create a GitHub App
-
Click New GitHub App
-
Fill in the required details and permissions
-
After creation, note the App ID and generate a Private Key
-
Install the app on your organization/repositories
-
Copy the Installation ID from the URL after installation
2. Configure in Willow
-
In Willow, go to MCP Servers → + Add MCP Server
-
Find and select GitHub (look for the By Willow badge) and click Use
-
Select the risk level of the tools to share and click Create
-
Under Setup tab, Authentication, select Server App
-
Enter the App ID, Private Key, and Installation ID
-
Click Save Changes