Repository navigation
app/: the public MCP server's build, review and comment tools (sc-8900) - #75
Merged
Merged
Conversation
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 14:48
c2063e5 to
7356e5d
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
from
December 2, 2026 14:48
5765590 to
a5a5183
Compare
VisualCIdocspring/visualci · build #388 · 333 unchanged · no changes This PR vs base: 22 changed, 2 added since #275, across 11 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 15:04
7356e5d to
32a4d3f
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
from
December 2, 2026 15:16
6ba4dd6 to
d5d26f4
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 15:16
d2b487a to
775c0dc
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
from
December 2, 2026 15:31
d5d26f4 to
af8746d
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 15:31
775c0dc to
d731f76
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
from
December 2, 2026 15:35
af8746d to
a46b226
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
2 times, most recently
from
December 2, 2026 16:05
2252452 to
e64c946
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
from
December 2, 2026 16:05
a46b226 to
bf06f21
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 16:25
e64c946 to
b127bf4
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
from
December 2, 2026 16:25
bf06f21 to
1866f91
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 16:52
b127bf4 to
bbfb172
Compare
ndbroadbent
force-pushed
the
laravel-process
branch
2 times, most recently
from
December 2, 2026 20:28
4bf084a to
3673a53
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 20:28
bbfb172 to
0ba68db
Compare
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 20:39
0ba68db to
3e184b9
Compare
…d_elsewhere, MCP args
…builds, get_build, contact_sheet, get_snapshot, get_pr_changeset, snapshot_history, review, review_page, the comment tools, create_build, upload_snapshots, finalize_build and support_send, against today's answers; POST /api/v1/support/feedback; tools run in the request's Laravel context (until laravel/rust-framework#520); answers keep today's sorted keys
…tests (a project token reaches only its project, approving with people, every tool refuses arguments it doesn't take, the Free, Staff and Team credit scenarios); approved_elsewhere and earlier keep to the build's suite; list_builds and snapshot_history filter in SQL; a snapshot is looked up by name directly; review reads the build's snapshots once, refuses unknown snapshot names and runs under the build's lock; a feedback key sent twice at once answers duplicate; the feedback endpoint refuses unknown fields; the MCP tests put their files in the blob store
ndbroadbent
force-pushed
the
laravel-read
branch
from
December 2, 2026 20:52
3e184b9 to
b00fdbd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of sc-8900 (the data side of the Laravel Rust port). Stacked on #73.
What's here
/mcp(app/src/mcp), on rmcp as today. It's stateless, answers in JSON, and only for our own hosts.auth::Principalextractor, so a personal token (vcu_) or a project token (vci_) works now. OAuth joins when app/: the OAuth server for MCP clients (sc-8900) #57 merges, through the same extractor's guard.POST /api/v1/support/feedback, plus aFeedbackReceivedevent. The team email listens to it (emails are subdomains').app/src/mcp/context.rs: rmcp runs each tool on its own task, where Laravel's task-local context is gone, socall_toolruns every tool inside the HTTP request's context. This is a workaround until Handle a route with a Tower service laravel/rust-framework#520 is released, and it lives in this one module.structured()and the text headers sort them explicitly. The argument help lists required fields first, then the rest by name, as today.processing), as today, even when the job has already run.Not here yet
lists_the_tools_each_kind_of_token_can_useand the golden tests that call them.app/tests/mcp.rs, with a comment saying so.credits::used_this_monthinstead.Tests
app/tests/mcp.rsports 8 of today's MCP tests and checks every call againsttests/golden/mcp. The whole app suite passes on docspring-dev, and clippy (-D warnings) is clean.