-
Notifications
You must be signed in to change notification settings - Fork 41
Development #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
afrise
wants to merge
7
commits into
master
Choose a base branch
from
dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Development #23
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added Resources / Read endpoint
fixed bug causing incompatibility with cursor
improved testing