-
Notifications
You must be signed in to change notification settings - Fork 46.2k
feat(copilot): run_mcp_tool — MCP server discovery and execution in Otto #12213
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
91ae792
feat(copilot): add run_mcp_tool for MCP server discovery and execution
majdyz 93e324a
fix(copilot): add mcp_tools_discovered and mcp_tool_output to openapi…
majdyz 5d38185
fix(copilot): address CodeRabbit review — SSRF protection, error sani…
majdyz 5514cde
fix(copilot): escape {key: value} format placeholder in DEFAULT_SYSTE…
majdyz 02e7483
fix(copilot): improve MCP auth retry flow and run_mcp_tool vs web_fet…
majdyz e75ed96
fix(copilot): prevent run_mcp_tool hallucination when explicitly requ…
majdyz abf400c
fix(copilot): address CodeRabbit review — validation, credential safe…
majdyz 7c190b0
fix(copilot): expose MCPToolsDiscoveredResponse and MCPToolOutputResp…
majdyz 2995944
test(copilot): add unit tests for run_mcp_tool
majdyz 3280435
test(copilot): add vitest unit tests for RunMCPTool helpers
majdyz 85b4b4d
fix(copilot): address CodeRabbit review — log redaction and input_sch…
majdyz 29abd90
fix(copilot): reject credential-bearing server_url before processing
majdyz e71bcf6
fix(copilot): redact server_url in _build_setup_requirements logger
majdyz b2ee88a
feat(copilot): address autogpt-reviewer should-fix items
majdyz 0bcd95a
fix(copilot): MCP local test fixes — OAuth flow, error messages, cont…
majdyz 37db3ea
fix(copilot): replace registry web_fetch with web_search for finding …
majdyz 44d972c
fix(copilot): add correct registry API endpoint to system prompt
majdyz c39f642
feat(copilot): show tool argument preview in MCP tool animation + fix…
majdyz b01a626
fix(copilot): escape {service} and {query} in system prompt — KeyErro…
majdyz d277e50
fix(copilot): store manual MCP token as credential, fix image max-height
majdyz 6af8781
fix(copilot): address reviewer should-fix items — token safety, arg p…
majdyz 4fcc19c
chore: update openapi.json with POST /v2/mcp/token endpoint
majdyz 5962131
fix(mcp): normalize server_url and return hostname in token endpoint
majdyz 4cc6cd1
fix(copilot): address CodeRabbit comments on MCPSetupCard and openapi…
majdyz f0f0758
fix(copilot): normalize server_url in run_mcp_tool to match stored cr…
majdyz b3867d4
fix(copilot): reject query/fragment in server_url, loosen 2xx check, …
majdyz b3873c1
fix(mcp): normalize server_url in OAuth login to match token endpoint
majdyz 46e8eac
chore: fix openapi.json token field ordering to match backend codegen
majdyz 770b13c
fix(copilot): null-guard setup_info, keep original URL for MCPClient
majdyz f059ffe
refactor(mcp): extract shared helpers, add SSRF validation and tests
majdyz 641050f
feat(copilot): use generated API client in MCPSetupCard, add tests
majdyz 6ba41ca
fix(mcp): patch auto_lookup_mcp_credential in route tests
majdyz 4f5c966
fix(mcp): use >= tiebreaker in credential lookup, fix ReDoS in parse_url
majdyz 91403ac
fix: replace regex with string check in parse_url to resolve CodeQL R…
majdyz 2fd34c5
fix(copilot): use 2xx range check for OAuth status codes in MCPSetupCard
majdyz 5dd0506
fix: resolve merge conflict with dev (keep both MCP + browser models)
Otto-AGPT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.