Before you start
Use a remote MCP client that supports OAuth, or a client that can set a custom authorization header. You need a GitHub account and permission to access the workspace you connect.1
Add the LaneSync server
Add
https://lanesync.dev/api/mcp as a remote MCP server in your client. Choose browser sign-in when prompted.2
Sign in and choose access
Sign in with GitHub, install the LaneSync GitHub App if needed, and select a LaneSync workspace. Grant read access for inspection or release write access for setup and release changes.
3
Onboard and plan
Ask your client: “Inspect and plan onboarding for owner/repo.” Review the proposed configuration and use the confirmation link for protection changes. Then ask it to create a release milestone and add issues.
OAuth access tokens expire after 15 minutes and refresh automatically when supported by the client. Access is tied to your current workspace membership. GitHub App installation and missing GitHub permissions may require a browser step before your conversation can continue.
What you can ask
- Onboard:
inspect_repository_onboarding,plan_repository_onboarding, andapply_repository_onboardinguse LaneSync’s setup verification and reviewed configuration. - Organization setup:
plan_organization_onboardingandapply_organization_onboardingreview central policy and organization rulesets when the repository is organization managed.get_repository_workflow_updateandupdate_repository_workflowsmaintain LaneSync’s managed workflows. - Plan:
create_release_milestone,get_release_scope, andmanage_release_issuecreate and organize a release on GitHub. - Track:
get_release_progress,get_gate_verdict,get_next_actions, andrerun_failed_required_checksexplain the current stage and resolve failed configured checks. - Quality and projects:
list_quality_results,list_quality_features,list_quality_anomalies,get_quality_evidence,compare_release_quality, and the LaneSync Project tools show evidence and cross-repository progress. - Deliver:
get_evidence_review,approve_release_evidence,merge_release_evidence,preview_release_deployment,start_release_deployment, andget_release_deploymentguide controlled delivery.
- “Onboard owner/repo, show me the exact setup preview, then help me finish the browser confirmation.”
- “Create v1.2 in owner/repo, add issues 12 and 18, and show me which issues still need owners.”
- “What is blocking owner/repo v1.2? Show the failing required check and the next action.”
- “Compare quality in owner/repo v1.2 with v1.1, including coverage and security findings.”
- “Review evidence for owner/repo v1.2 and prepare its configured production deployment.”
sdlc.yaml. The configured workflow must accept a candidate_sha input and run a LaneSync gate check before deployment. A dispatch request is not a deployment result; use get_release_deployment to track the run and confirmed deployment record. The starter production workflow fails until you configure real deployment commands.
For a repository using the bundled production workflow, the binding looks like this:
Finish repository onboarding
After reviewing the plan and completing its confirmation link, apply repository onboarding. When the installed App supports setup, LaneSync uses it automatically. Otherwise, follow the returned setup link to complete Trusted Bootstrap in the wizard. APR_CREATED receipt means setup still needs a merge. Follow its reviewLink to review and merge the setup PR in LaneSync. If App-based automatic merging was blocked, LaneSync completes protection after your manual merge using the same App; no PAT is required. PAT-based setup uses the encrypted token while available and may require a replacement through the wizard.
Wait for COMPLETE and verified active protection before treating the repository as ready. A completed receipt does not require another merge. If an operation’s result is uncertain, inspect its operation ID and repository onboarding status before submitting setup again.
Clients that use custom headers
Open Configuration → System Config → MCP connection and create a personal key. Read access is the default. Select Allow release changes when the client needs writes. Copy the key once, then setAuthorization: Bearer <your MCP key> for https://lanesync.dev/api/mcp. Keys expire after 30 days and can be revoked in Configuration.
Connection troubleshooting
LaneSync asks you to reconnect with GitHub
LaneSync asks you to reconnect with GitHub
Your signed-in GitHub credential could not be accepted. In LaneSync, open your user menu, choose Sign out, then sign in again with the GitHub account you want to use. Retry personal-key creation, or restart the browser authorization flow in your MCP client.A LaneSync MCP key and your GitHub credential are separate. Creating another MCP key does not repair an expired GitHub credential.
GitHub denies permission for an action
GitHub denies permission for an action
Check that your GitHub account has the required access to the repository or organization and that the LaneSync GitHub App is installed with access to that repository. Ask your GitHub administrator to grant missing access, then retry. A permission error does not by itself mean your credential has expired.
Related
Install the GitHub App
Connect your repositories to LaneSync.
First release
Track a release through the pipeline.