-
Notifications
You must be signed in to change notification settings - Fork 929
feat: implement MCP HTTP server endpoint with authentication #18670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ThomasK33
wants to merge
1
commit into
thomask33/06-30-feat_oauth2_remove_unique_constraint_on_app_names_for_rfc_7591_compliance
Choose a base branch
from
thomask33/06-30-feat_mcp_implement_mcp_http_server_with_toolsdk_integration
base: thomask33/06-30-feat_oauth2_remove_unique_constraint_on_app_names_for_rfc_7591_compliance
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
This was referenced Jun 30, 2025
4efb07a
to
8a3f7a9
Compare
4d966b2
to
4ffc58e
Compare
8a3f7a9
to
e7d56c2
Compare
4ffc58e
to
23804bb
Compare
e7d56c2
to
10701da
Compare
23804bb
to
06d9b57
Compare
10701da
to
a2607a8
Compare
06d9b57
to
cee654a
Compare
a2607a8
to
990f706
Compare
8cb9d74
to
3e540ef
Compare
990f706
to
95c0496
Compare
95c0496
to
b17d907
Compare
3e540ef
to
0447dc7
Compare
johnstcn
reviewed
Jul 2, 2025
@@ -972,6 +972,10 @@ func New(options *Options) *API { | |||
r.Route("/aitasks", func(r chi.Router) { | |||
r.Get("/prompts", api.aiTasksPrompts) | |||
}) | |||
r.Route("/mcp", func(r chi.Router) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
968207c
to
dea734b
Compare
06236c5
to
991aeb7
Compare
991aeb7
to
7a4b271
Compare
54086ed
to
f8aa2de
Compare
7a4b271
to
5496826
Compare
f8aa2de
to
9851f81
Compare
3df9b80
to
e32fba8
Compare
9851f81
to
43ac8a0
Compare
dannykopping
approved these changes
Jul 2, 2025
e32fba8
to
d74cf24
Compare
johnstcn
approved these changes
Jul 2, 2025
Comment on lines
+19
to
+36
const ( | ||
ToolNameReportTask = "coder_report_task" | ||
ToolNameGetWorkspace = "coder_get_workspace" | ||
ToolNameCreateWorkspace = "coder_create_workspace" | ||
ToolNameListWorkspaces = "coder_list_workspaces" | ||
ToolNameListTemplates = "coder_list_templates" | ||
ToolNameListTemplateVersionParams = "coder_template_version_parameters" | ||
ToolNameGetAuthenticatedUser = "coder_get_authenticated_user" | ||
ToolNameCreateWorkspaceBuild = "coder_create_workspace_build" | ||
ToolNameCreateTemplateVersion = "coder_create_template_version" | ||
ToolNameGetWorkspaceAgentLogs = "coder_get_workspace_agent_logs" | ||
ToolNameGetWorkspaceBuildLogs = "coder_get_workspace_build_logs" | ||
ToolNameGetTemplateVersionLogs = "coder_get_template_version_logs" | ||
ToolNameUpdateTemplateActiveVersion = "coder_update_template_active_version" | ||
ToolNameUploadTarFile = "coder_upload_tar_file" | ||
ToolNameCreateTemplate = "coder_create_template" | ||
ToolNameDeleteTemplate = "coder_delete_template" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
152aa40
to
e69fe1c
Compare
43ac8a0
to
57a9498
Compare
8672a4b
to
e55d907
Compare
398ecea
to
65635f0
Compare
e55d907
to
6684a17
Compare
65635f0
to
27135bd
Compare
6684a17
to
02bb2fa
Compare
27135bd
to
f4cdc20
Compare
- Add MCP HTTP server with streamable transport support - Integrate with existing toolsdk for Coder workspace operations - Add comprehensive E2E tests with OAuth2 bearer token support - Register MCP endpoint at /api/experimental/mcp/http with authentication - Support RFC 6750 Bearer token authentication for MCP clients Change-Id: Ib9024569ae452729908797c42155006aa04330af Signed-off-by: Thomas Kosiewski <[email protected]>
02bb2fa
to
6dc9330
Compare
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.
Add MCP HTTP server with streamable transport support
Change-Id: Ib9024569ae452729908797c42155006aa04330af
Signed-off-by: Thomas Kosiewski [email protected]