Replies: 2 comments 2 replies
-
I tried the default Authentication boilerplate: Program.cs
Tool.cs [McpServerTool, Description("It prints Hello World!")]
[Authorize]
public static string HelloWorld() => "Hello World!"; but it doesnt work, I think the authentication framework is not yet supported |
Beta Was this translation helpful? Give feedback.
2 replies
-
I think
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pre-submission Checklist
Question Category
Your Question
How can we add Authentication And Authorization in MCP, just like we add in our API, this make our api authorize and give us the identity of user, how can we do same thing with MCP in dotnet
Beta Was this translation helpful? Give feedback.
All reactions