-
Notifications
You must be signed in to change notification settings - Fork 533
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm trying to replicate some sample of Elicitation McpClient or QuickstartClient but it's not working, there's missing class dependencies. My .csproject
have this:
<ItemGroup>
<PackageReference Include="ModelContextProtocol" Version="0.3.0-preview.4" />
<PackageReference Include="ModelContextProtocol.Core" Version="0.3.0-preview.4" />
....
To Reproduce
Steps to reproduce the behavior:
- Create new repository
- Install ModelContextProtocol and ModelContextProtocol.Core too
- In your
Program.cs
try to use McpClient class
Expected behavior
McpClient should work correctly like documentation specify.
Logs
/path/to/myproject/Sample.MCP.Client/Program.cs(23,27): error CS0246: The type or namespace name 'HttpClientTransport' could not be found (are you missing a using directive or an assembly reference?)
/path/to/myproject/Sample.MCP.Client/Program.cs(37,35): error CS0122: 'McpClient' is inaccessible due to its protection level
rockfordlhotka
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working