Skip to content

Conversation

@cyrus2281
Copy link
Collaborator

What is the purpose of this change?

This change adds comprehensive documentation for two important features: the MCP Gateway and the Authentication Proxy. These components enable Agent Mesh to connect with MCP-compatible clients (like Claude Desktop) and handle authentication securely without requiring separate redirect URI registrations with OAuth providers.

How is this accomplished?

  • feat: Add MCP Gateway and Authentication Proxy documentation
    • Created detailed MCP Gateway documentation explaining setup, configuration, tool filtering, file handling, and troubleshooting
    • Added Authentication Proxy documentation with sequence diagrams showing the OAuth flow
    • Included configuration examples for both components

Anything reviews should focus on/be aware of?

Verify technical accuracy of the authentication flow diagrams and check if the configuration examples match the actual implementation details.

@cyrus2281 cyrus2281 self-assigned this Jan 20, 2026
@cyrus2281 cyrus2281 requested a review from Copilot January 20, 2026 20:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation for two authentication and gateway features: the MCP Gateway and the Authentication Proxy. The MCP Gateway enables MCP-compatible clients to interact with SAM agents, while the Authentication Proxy handles OAuth flows without requiring separate redirect URI registrations.

Changes:

  • Added MCP Gateway tutorial covering setup, configuration, tool filtering, file handling, and troubleshooting
  • Added Authentication Proxy documentation with OAuth flow diagrams and configuration examples

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
docs/docs/documentation/enterprise/auth-proxy.md Documents the Authentication Proxy feature with OAuth flow diagrams and configuration examples
docs/docs/documentation/developing/tutorials/mcp-gateway.md Provides comprehensive tutorial for setting up and using the MCP Gateway

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@enavitan enavitan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, added a few comments.

Thanks
Eugene

AG->>+AS: 11. Exchange gateway code for tokens
AS-->>-AG: Returns access_token, refresh_token
AG-->>MC: 12. Return access_token to client
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good list, however we don't list anywhere what are the mcp oauth specific endpoints (this is valuable for customers to know when configure ingress rules) this plugin expects to have provisioned.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the docs

@cyrus2281 cyrus2281 requested a review from enavitan January 21, 2026 21:01
@sonarqube-solacecloud
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@solace-mdupls solace-mdupls merged commit 6668248 into main Jan 29, 2026
28 checks passed
@solace-mdupls solace-mdupls deleted the cyrus/DATAGO-118659/mcp-doc branch January 29, 2026 20:46
Copy link
Collaborator

@gilyusolace gilyusolace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments a structural recommendation at the end to help AI.

---

# MCP Gateway

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "through a standardized interface" mean? Are you referring to JSON-RPC 2.0? If so, maybe that is what you specify:
"through the interface as defined in JSON-RPC 2.0.".

If not, perhaps just drop "through a standardized interface."?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Through Model Context Protocol standards (MCP)

Once you have your project set up, add the MCP Gateway plugin:

```sh
sam plugin add my-mcp-gateway --plugin sam-mcp-server-gateway-adapter
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is "sam-mcp-server-gateway-adapter" meant to be a variable? If so, recommend you change to ""

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's just the plugin name, my-mcp-gateway is the variable name

@cyrus2281
Copy link
Collaborator Author

@gilyusolace A second PR to answer your concerns have been created here:
#987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants