Skip to content

Conversation

@afrise
Copy link
Owner

@afrise afrise commented Mar 15, 2025

Added Resources / Read endpoint
fixed bug causing incompatibility with cursor
improved testing

afrise added 7 commits March 4, 2025 12:38
- Added `GetAllAIFunctionsAsync` to `MCPClientPool` for non-blocking retrieval of AI functions.
- Replaced `JsonSerializerOptions` with `JsonOptionsManager.Standard` in `Program.cs`.
- Updated `McpServerConfigurationCollection` to initialize properties with empty arrays.
- Changed `Name` method in `MCPDev` to static and added new static methods.
- Made `client` and `functions` nullable in `AIFunctionAbstractionTests` and `ClientTests`.
- Refactored `MCPServer`, `ToolHandler`, and `ToolManager` for improved tool registration and invocation.
- Commented out unused `SSETransportTests` and `STDIOTransportTests`.
- Enhanced documentation in `McpResourceAttribute` and `MCPFunction`.
- Introduced `MCPFunctionInputSchema` for better AIFunction handling.
- Updated project file to include new package references for code coverage.
- Cleaned up namespaces and using directives for better organization.
- Updated `MCPSharp.Example.OllamaChatCLI.csproj` to include new project references.
- Changed the "ollama" model endpoint in `config.json`.
- Added `Microsoft.SemanticKernel.Connectors.Ollama` package to `MCPSharp.Test.csproj`.
- Enhanced `STDIOTransportTests.cs` with new test for Semantic Kernel tool calls.
- Integrated logging into `MCPClient.cs` and modified `ToolsListChangedAsync`.
- Introduced `MessageAsync` for handling server log messages.
- Added `GetKernelPluginAsync` to retrieve semantic kernel plugins.
- Updated `MCPServer.cs` to include logging and improve tool change notifications.
- Enhanced `ServerRpcTarget.cs` with logging capabilities and modified method implementations.
- Added `SetLogLevelAsync` for dynamic logging level adjustments.
- Updated `ServerCapabilities.cs` to include logging capabilities.
- Implemented `McpServerLogger` for managing log messages and client connection states.
Updated bug and feature request templates for better user input.
Added a Code of Conduct and Contributing guidelines to foster community standards.
Enhanced tests to verify content types and improved MCPServer logic for attribute handling.
Modified TextContent for better encapsulation and updated README for documentation clarity.
Introduced a SECURITY.md file to outline the security policy and reporting procedures.
- Updated chat history management in Program.cs to support multiple responses.
- Introduced Settings property and ChangeSettings method in MCPDev.cs.
- Enhanced AddToolHandler in Program.cs with a greeting lambda function.
- Upgraded MSTest package in MCPSharp.Test.csproj and updated SDK version.
- Improved test assertions in STDIOTransportTests.cs and added TestReadResource method.
- Updated McpResourceAttribute to allow nullable properties for Description and MimeType.
- Added GetKernelPluginAsync method in MCPClient.cs for semantic kernel retrieval.
- Cleaned up MCPFunction.cs and MCPFunctionInputSchema.cs by removing unused imports.
- Modified tool registration in MCPServer.cs to support instance registration.
- Introduced ResourceManager class for effective resource management.
- Added ResourceReadRequest, ResourceReadResult, and ResourceReadResultContainer classes.
- Updated ClientCapabilities to use object types for more complex definitions.
- Modified ToolHandler to include an instance parameter for method invocation.
- Improved ToolManager registration process for tools and resources.
- Commented out unused MCPFunctionSchema.cs to maintain code clarity.
- Updated chat history management in Program.cs to support multiple responses.
- Introduced Settings property and ChangeSettings method in MCPDev.cs.
- Enhanced AddToolHandler in Program.cs with a greeting lambda function.
- Upgraded MSTest package in MCPSharp.Test.csproj and updated SDK version.
- Improved test assertions in STDIOTransportTests.cs and added TestReadResource method.
- Updated McpResourceAttribute to allow nullable properties for Description and MimeType.
- Added GetKernelPluginAsync method in MCPClient.cs for semantic kernel retrieval.
- Cleaned up MCPFunction.cs and MCPFunctionInputSchema.cs by removing unused imports.
- Modified tool registration in MCPServer.cs to support instance registration.
- Introduced ResourceManager class for effective resource management.
- Added ResourceReadRequest, ResourceReadResult, and ResourceReadResultContainer classes.
- Updated ClientCapabilities to use object types for more complex definitions.
- Modified ToolHandler to include an instance parameter for method invocation.
- Improved ToolManager registration process for tools and resources.
- Commented out unused MCPFunctionSchema.cs to maintain code clarity.
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.

2 participants