MCP Tools
Model Context Protocol (MCP) integration enables seamless connection to third-party data providers, analytical services, and specialized financial tools without requiring custom development within the OpenBB Workspace.

We use the use-mcp library and support both MCP and SSE protocols, but not STDIO. If you need STDIO support, we recommend exploring solutions like supergateway.
Configure your MCP Servers
To configure your MCP servers, open the MCP server menu from the copilot settings.

From here, click "Manage MCP servers" in the top right to add, edit, or delete MCP servers.

This opens the MCP Servers tab under AI Library, where you can view all available ones and their active or inactive status.
To add a new MCP server, click on the "Add server" button on the top right.

This opens the MCP server configuration dialog. Fill in the details, such as the server name and URL.

If your chosen MCP server requires authentication, similar to the one from Financial Modelling Prep below, click the "Add Custom Header" button in the bottom left and enter the key-value pair.

Once you click "Add", you return to the MCP Servers tab where you can see each server's active status. Click on a connected server to view its discovered tools, and expand any tool to read its description.

Select MCP Server tools
With the MCP Tools dialog open, you can enable or disable specific MCP tools for Copilot access.

Once an MCP Server is successfully connected, you can:
-
Select all or none: toggles every tool from a specific MCP server at once. This is the quickest way to include or exclude an entire server from Copilot's context.
-
Enable or disable individual tools: gives you granular control over which tools from a server are available to Copilot.
Enabling all tools does not guarantee Copilot will use every one. It simply makes them available. This granular control helps keep Copilot's context focused on what is most relevant to your needs.
MCP in action
When you submit a query to Copilot with MCP tools enabled, it can utilize one or more tools based on your prompt, including sequential tool usage when necessary.
For example, accessing OpenBB documentation requires two tools from the same MCP Server. Copilot automatically determines and executes this sequence on your behalf.

Matching widget to MCP tools
In the reasoning step shown above, you can see when each MCP tool was called. You can also configure a widget with matching metadata. This links the widget to its corresponding MCP tool.
Once a matching widget is set up, a citation marked with an asterisk (*) appears whenever the MCP tool is used.
Click “Add matching widget to dashboard” to add the widget to your current dashboard with the same parameters applied by Copilot.
