google-jules-mcp-server
v0.5.1Model Context Protocol server for Google's Jules AI coding agent
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
jules_list_sources List Jules Sources
List all GitHub repositories connected to Jules. You must install the Jules GitHub app at https://jules.google.com before repositories appear here.
| Parameter | Type | Description |
|---|---|---|
filter | string | AIP-160 filter expression to narrow the results (e.g. by repo owner) |
pageSize | number | Number of sources to fetch per page (default: 50) |
jules_get_source Get Jules Source
Get details for a single GitHub repository connected to Jules, including its branches and visibility. Use jules_list_sources to see all connected repositories.
| Parameter | Type | Description |
|---|---|---|
repoName * | string | GitHub repository name |
repoOwner * | string | GitHub repository owner (username or organization) |
jules_create_session Create Jules Coding Session
Start a new asynchronous coding task with Jules. Provide a detailed task description and the repository to work on. Jules runs in an isolated cloud VM and typically completes tasks in 5-60 minutes depending on complexity.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Detailed task description - be specific about what needs to be done |
repoName * | string | GitHub repository name |
repoOwner * | string | GitHub repository owner (username or organization) |
autoApprove | boolean | Automatically approve the execution plan (default: true). Set false to manually approve with jules_approve_plan |
autoCreatePR | boolean | Automatically create pull request when task completes (default: false) |
branch | string | Starting branch name (default: main) |
title | string | Optional custom title for the session |
jules_bulk_create_sessions Bulk Create Jules Sessions
Create sessions across multiple repositories, reporting each result independently.
| Parameter | Type | Description |
|---|---|---|
sessions * | array | Session requests to create |
jules_list_sessions List Jules Sessions
List all your Jules sessions with their current states. Useful for finding session IDs or checking on multiple tasks.
| Parameter | Type | Description |
|---|---|---|
pageSize | number | Number of sessions per page (default: 10) |
pageToken | string | Token for pagination to get the next page |
jules_list_stuck_sessions List Stuck Jules Sessions
List sessions that are waiting for plan approval or user feedback, following pagination automatically.
| Parameter | Type | Description |
|---|---|---|
pageSize | number | Number of sessions to fetch per page (default: 50) |
jules_schedule_recurring_session Schedule Recurring Jules Session
Create a persistent cron schedule for recurring Jules sessions.
| Parameter | Type | Description |
|---|---|---|
cron * | string | Cron expression |
prompt * | string | |
repoName * | string | |
repoOwner * | string | |
autoApprove | boolean | |
autoCreatePR | boolean | |
branch | string | |
title | string |
jules_list_recurring_schedules List Recurring Jules Schedules
List persistent recurring session schedules.
jules_cancel_recurring_schedule Cancel Recurring Jules Schedule
Cancel a recurring session schedule.
| Parameter | Type | Description |
|---|---|---|
scheduleId * | string |
jules_get_status Get Jules Session Status
Check the current status and recent activity of a Jules session. Use this to poll for progress and completion. Sessions typically take 5-60 minutes to complete.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to check |
includeActivities | number | Number of recent activities to include (default: 3) |
jules_send_message Send Message to Jules Session
Send a follow-up message or instruction to a running Jules session. Jules will respond in the next activity, which you can see with jules_list_activities or jules_get_status.
| Parameter | Type | Description |
|---|---|---|
message * | string | Message or instruction to send to Jules |
sessionId * | string | Session ID to send message to |
jules_approve_plan Approve Jules Execution Plan
Approve the execution plan for a Jules session that has requirePlanApproval=true. Only needed when session state is AWAITING_PLAN_APPROVAL. View the plan first with jules_list_activities.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to approve plan for |
jules_get_session_output Get Jules Session Output
Retrieve the final output and results from a completed Jules session, including pull request details. Use after session state is COMPLETED.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to get output for |
jules_delete_session Delete Jules Session
Permanently delete a Jules session. This cannot be undone. Use jules_archive_session instead if you may want the session back later.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to delete |
jules_archive_session Archive Jules Session
Archive a Jules session to hide it from the default session list without deleting it. Use jules_unarchive_session to restore it.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to archive |
jules_unarchive_session Unarchive Jules Session
Restore a previously archived Jules session so it appears in the default session list again.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to unarchive |
jules_wait_for_session Wait for Jules Session to Complete
Wait/poll for a Jules session to complete. Automatically tracks progress, emits progress notifications, and returns a unified payload with final state, summary, and PR details upon resolution. Bounded by a wait limit to prevent timeouts.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to wait/poll for |
includeActivities | number | Number of recent activities to include in the output (default: 5) |
maxWaitSeconds | number | Maximum time to wait/poll in seconds (default: 60, max: 300) |
jules_execute_and_wait Create and Wait for Jules Session
Create a new Jules session and immediately wait/poll for its completion. Automatically tracks progress, emits progress notifications, and returns a unified payload with final state, summary, and PR details upon resolution. Bounded by a wait limit to prevent timeouts.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Detailed task description - be specific about what needs to be done |
repoName * | string | GitHub repository name |
repoOwner * | string | GitHub repository owner (username or organization) |
autoApprove | boolean | Automatically approve the execution plan (default: true). Set false to manually approve with jules_approve_plan |
autoCreatePR | boolean | Automatically create pull request when task completes (default: false) |
branch | string | Starting branch name (default: main) |
includeActivities | number | Number of recent activities to include in the output (default: 5) |
maxWaitSeconds | number | Maximum time to wait/poll in seconds (default: 60, max: 300) |
title | string | Optional custom title for the session |
jules_list_activities List Jules Session Activities
Get detailed activity log for a Jules session. Activities include plan generation, progress updates, messages, and completion events. Most recent activities appear first.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | Session ID to get activities for |
limit | number | Number of activities to retrieve (default: 10) |
jules_get_activity Get Jules Activity
Get a single activity from a Jules session by ID. Use jules_list_activities to find activity IDs.
| Parameter | Type | Description |
|---|---|---|
activityId * | string | Activity ID to retrieve |
sessionId * | string | Session ID the activity belongs to |