Answer: To create a custom agent that integrates a remote MCP server with OAuth, define an mcpServers entry with type "http", the server url, and an oauthScopes array listing the required scopes, then reference the server in tools and allow it in permissions. If OAuth scope errors occur, you can use an empty array to bypass scope requirements. Status: Confirmed Entry: tool/kiro/agents-and-automation/remote-mcp-oauth-agent Revision: 2 Digest: sha256:6dced9a94b5f6931 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:39:50Z Last changed: 2026-11-20T13:24:56Z (bypass scopes: — → [ ]) Last verified: 2026-11-20T13:24:56Z Next check: 2026-11-21T13:24:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of server type | http | [1] | 2026-11-20 server URL | https://api.github.com/mcp | [1] | 2026-11-20 OAuth scopes | repo | [1] | 2026-11-20 tool reference | @github | [1] | 2026-11-20 permission capability | mcp | [1] | 2026-11-20 permission match | github/* | [1] | 2026-11-20 permission effect | allow | [1] | 2026-11-20 bypass scopes | [ ] | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Examples - Custom agents - Features - Docs - Kiro". https://kiro.dev/docs/custom-agents/examples/ Role: primary. Accessed: 2026-11-20T13:24:56Z Quote: ""type" : "http"" (Supports: server type) Quote: ""url" : "https://api.github.com/mcp"" (Supports: server URL) Quote: ""oauthScopes" : [ "repo" , "user" , "read:org" ]" (Supports: OAuth scopes) Quote: ""tools" : [ "@github" ]" (Supports: tool reference) Quote: ""capability" : "mcp"" (Supports: permission capability) Quote: ""match" : [ "github/*" ]" (Supports: permission match) Quote: ""effect" : "allow"" (Supports: permission effect) Quote: ""oauthScopes" : [ ]" (Supports: bypass scopes) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: cb6bde6d61c6307d89bfe325f64834e47a2a95ce450299134ce999ed5e5feb5e (captured 2026-11-20T13:24:56Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:24:56Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:24:56Z Last attempt: 2026-11-20T13:24:56Z Notes and limitations: Extracted automatically from a single official source (section "With OAuth configuration"). Related: https://latestn.com/tool/kiro/agents-and-automation/request-specification How do I ask Kiro to create a specification for a task? https://latestn.com/tool/kiro/agents-and-automation/respond-to-step-input How do I respond when a Kiro workflow step needs input? https://latestn.com/tool/kiro/agents-and-automation/revert-agent-upgrade How do I revert an agent config upgrade in Kiro CLI V3? https://latestn.com/tool/kiro/agents-and-automation/prompts-vs-steering-vs-skills What is the difference between prompts, steering, and skills in Kiro Crew? https://latestn.com/tool/kiro/agents-and-automation/property-testing-with-specs-workflow How do I use property-based testing with Kiro Specs during the design phase and task execution? https://latestn.com/tool/kiro/agents-and-automation/python-agent-hooks How do I configure agent hooks in Kiro for Python linting, tests, and dependency updates? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:24:56Z | changed | bypass scopes: — → [ ] | [1] 2026-11-20T13:24:56Z | changed | permission effect: — → allow | [1] 2026-11-20T13:24:56Z | changed | tool reference: — → @github | [1] 2026-11-20T13:24:56Z | changed | OAuth scopes: — → repo | [1] 2026-11-20T13:24:56Z | changed | server URL: — → https://api.github.com/mcp | [1] 2026-11-20T13:24:56Z | changed | tools: @github → — | [1] 2026-11-20T13:24:56Z | changed | oauth scopes: repo → — | [1] 2026-11-20T13:24:56Z | changed | server url: https://api.github.com/mcp → — | [1] 2026-11-13T03:39:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/agents-and-automation/remote-mcp-oauth-agent/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/agents-and-automation/remote-mcp-oauth-agent POST: https://latestn.com/dispute/tool/kiro/agents-and-automation/remote-mcp-oauth-agent with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/agents-and-automation/remote-mcp-oauth-agent?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a custom agent in Kiro that integrates a remote MCP server with OAuth? Revision 2, last verified 2026-11-20T13:24:56Z. https://latestn.com/tool/kiro/agents-and-automation/remote-mcp-oauth-agent (accessed 2026-11-21T10:04:35Z). @misc{LatestN_tool_kiro_agents_and_automation_remote_mcp_oauth_agent_r2, title = {How do I create a custom agent in Kiro that integrates a remote MCP server with OAuth?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/agents-and-automation/remote-mcp-oauth-agent}}, note = {Revision 2; digest sha256:6dced9a94b5f6931; last verified 2026-11-20T13:24:56Z; accessed 2026-11-21T10:04:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/agents-and-automation/remote-mcp-oauth-agent