You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add an opt-in Parallel Search MCP configuration example - #1454
Adds a runnable configuration example for free, keyless Parallel Search MCP through BotSharp's existing HTTP MCP integration. The guide covers server setup, selecting web_search and web_fetch for an agent, and disabling the integration. WebStarter configuration and existing provider selections stay unchanged.
The example validation loads the JSON with AddBotSharpMCP, discovers tools with IMcpService, loads selected agent functions, and executes search and fetch through FunctionExecutorFactory and McpToolExecutor. It checks useful source content, BotSharp User-Agent headers, absence of authentication headers, and disabled controls. The default test uses a local HTTP fixture; an explicit switch runs it against the public service.
Validation: full solution Release build; 459 core tests, 4 UnitTest tests, and 3 SemanticKernel tests passed. The live keyless example passed search and fetch against the public service. The documentation HTML build passed.
• Document keyless Parallel Search setup through BotSharp’s existing HTTP MCP integration.
• Provide an opt-in configuration without changing WebStarter defaults or provider selections.
• Validate tool discovery, search, fetch, request headers, and disable controls with a local
fixture.
The opt-in example is the appropriate approach: BotSharp already supports HTTP MCP discovery and execution, so a dedicated plugin or a change to WebStarter defaults would add complexity or enable an external service unexpectedly.
Files changed (5) +277 / -0
Tests (2) +190 / -0
BotSharp.Core.UnitTests.csprojCopy the example JSON into the test output+4/-0
Copy the example JSON into the test output
• Makes the documented configuration available to the test at runtime so validation uses the example itself.
ParallelSearchExampleTests.csExercise the documented MCP discovery and execution path+186/-0
Exercise the documented MCP discovery and execution path
• Tests configuration loading, tool discovery, agent function loading, search and fetch execution, request headers, and disable controls. Uses a local HTTP fixture by default and contacts the public service only when explicitly enabled.
Thanks for merging, @iceljc! Appreciate the review.
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
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.
Adds a runnable configuration example for free, keyless Parallel Search MCP through BotSharp's existing HTTP MCP integration. The guide covers server setup, selecting web_search and web_fetch for an agent, and disabling the integration. WebStarter configuration and existing provider selections stay unchanged.
The example validation loads the JSON with AddBotSharpMCP, discovers tools with IMcpService, loads selected agent functions, and executes search and fetch through FunctionExecutorFactory and McpToolExecutor. It checks useful source content, BotSharp User-Agent headers, absence of authentication headers, and disabled controls. The default test uses a local HTTP fixture; an explicit switch runs it against the public service.
Validation: full solution Release build; 459 core tests, 4 UnitTest tests, and 3 SemanticKernel tests passed. The live keyless example passed search and fetch against the public service. The documentation HTML build passed.
I work at Parallel.