Skip to main content
Bing Search The Bing Search connector exposes web search as a remote MCP server for AI agents. It uses Grounding with Bing Search through the Microsoft Foundry (Azure AI Foundry) project Responses API and returns grounded text with URL citation annotations in the standard MCP content response format.

Current Web Search

Retrieve recent information from the web with source URLs

Azure Foundry

Uses the Foundry project Responses API with a configured Bing Grounding connection

MCP Native

Exposes a JSON-RPC MCP endpoint that Knowledges agents can call directly

Prerequisites

  • An Azure subscription with access to Azure AI Foundry
  • An Azure AI Foundry project with a Grounding with Bing Search connection
  • A model deployment in that project that supports the Responses API and the bing_grounding tool (a GPT-5.x deployment)
  • An Azure AD application using the client credentials flow
  • Workspace secrets for the Foundry project settings and the Azure tenant, client ID, client secret, and token scope
This connector is designed for agent web-search scenarios and exposes the bing_search MCP tool.

Instance Configuration

The Bing Web Search (Microsoft Foundry) connector is available in your Prisme.ai instance. Before using it from an agent, set the Foundry project settings and the Azure credentials in the connector workspace’s secrets (see Workspace secrets). The connector configuration reads every Foundry and Azure value from those secrets.

Azure App Registration

The connector authenticates to Azure AI Foundry with Microsoft Entra ID client credentials. You can create a dedicated app registration or reuse an existing service principal.
  1. In Microsoft Entra ID, create an App registration
  2. Copy the Directory (tenant) ID and Application (client) ID
  3. Create a client secret in Certificates & secrets
  4. Assign the service principal the Azure AI User role on the Azure AI Foundry resource or project used by the connector
  5. Make sure the Azure AI Foundry project has access to the Bing Grounding connection configured below
Unlike Microsoft Graph connectors such as Outlook, SharePoint, or Excel, this connector does not require Graph API permissions or Graph admin consent. Access is controlled through Azure AI Foundry RBAC and the configured Bing Grounding connection.

Connector Configuration

The connector configuration maps each Foundry setting onto a workspace secret. They define which Foundry project, model deployment, and Bing Grounding connection the connector uses. The Provider value is fixed to bing. The default search options are set in the connector configuration:

Workspace Secrets

Set these values in the workspace secrets panel. They are referenced by the connector configuration: the four Foundry secrets above select the project, model and Bing connection, and the four Azure secrets below are used to request Azure AD access tokens with the client credentials flow.
Keep Azure credentials in workspace secrets. Do not paste client secrets into the visible connector configuration fields.

MCP Setup

  1. Open your Knowledges project
  2. Go to Advanced > Tools
  3. Click Add and select the MCP tab
  4. Paste the MCP endpoint URL from the connector configuration
  5. Save the tool and let the agent discover the bing_search tool

Available Tool

Tool Arguments

MCP Examples

Search with Defaults

Search a French Market with Fresh Results

Response Format

Successful calls return an MCP tool result with one text block per Foundry output text, each carrying the Microsoft URL citation annotations unchanged:
If the query is missing, the configuration is incomplete, Azure authentication fails, or Foundry returns an error, the connector returns isError: true with a text error message. The MCP endpoint also requires an authenticated caller (a user session, a workspace token, or an organization API key); an unauthenticated call gets 401 with Authentication required.

Troubleshooting

Error: query parameter is required - The MCP call did not include params.arguments.query. Configuration error: missing ... - One or more of foundry_base_url, foundry_project, foundry_model, bing_connection_id is empty. Set the matching FOUNDRY_* or BING_CONNECTION_ID secret in the connector workspace. Authentication error [...] - Microsoft Entra ID refused the token request or is missing a value. Check the AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, and AZURE_TOKEN_SCOPE secrets in the connector workspace. Foundry Responses error [...] - Foundry rejected the request or returned an incomplete or empty response. Verify the Foundry base URL, project name, model deployment, and that the Bing connection ID belongs to that project. The bracketed code is the provider error code.

Connectors Overview

Compare App and MCP connector usage modes

Knowledges Tools

Add MCP tools to an Knowledges agent