Add Equibles as an MCP tool in a Microsoft Foundry project (formerly Azure AI Foundry), and your agents answer from SEC filings, financial statements, earnings calls and 13F holdings, each figure cited to its source. You need a Foundry project with a model deployed and an Equibles API key; Foundry connects with the key, not with an Equibles sign-in.

## Add the Equibles server

1. Create an API key at [/dashboard/apikeys](/dashboard/apikeys). It starts with `eq_` and is shown once.
2. Open your project at [ai.azure.com](https://ai.azure.com), go to **Tools**, select the **Tools** tab and click **Connect a tool**.
3. On the **Custom** tab, pick **Model Context Protocol (MCP)** and click **Create**.
4. Fill in the form and click **Connect**:
   - **Name**: `equibles`
   - **Remote MCP Server endpoint**: `https://mcp.equibles.com/mcp`
   - **Authentication**: **Key-based**
   - **Credential**: `Authorization` on the left and `Bearer eq_your_api_key` on the right

   ![Foundry's Add Model Context Protocol tool form with the Equibles endpoint and an Authorization credential](/images/docs/microsoft-foundry/add-mcp-tool.webp)
5. On the tool's page, click **Use in an agent**, then name a new agent and click **Create**, or pick one of your agents. To add it to an agent later, open the agent, click **Add** under **Tools**, choose **Add tools**, pick **equibles** on the **Configured** tab and click **Add tool**.
6. In the agent's **Instructions**, paste the line below and click **Save**:
   ```text
   Answer stock market questions with the Equibles tools. Leave dates out of tool calls unless the user gives one, so the tools return the newest data.
   ```

## Test it

- Using Equibles, who are NVIDIA's top institutional holders this quarter? — 13F
- Using Equibles, summarize Microsoft's most recent earnings call. — Earnings

Foundry shows each Equibles call with its arguments before it runs. Click **Approve** and choose **Approve once**, **Always approve this tool** or **Always approve all tools**; **Deny** skips the call.

![Foundry asking to approve an Equibles GetEarningsBrief call for MSFT](/images/docs/microsoft-foundry/approve-tool-call.webp)

Start with "Using Equibles, ...". New agents also come with **Web search**, so otherwise the agent may answer from the web or from memory, with no filing behind the numbers.

## Other ways to connect

### Create the agent in Python

With the connection from step 4 in place, the Azure AI Projects SDK creates the same agent in code. Sign in with `az login`, then install:

```bash
pip install "azure-ai-projects>=2.4" azure-identity
```

```python
from azure.identity import DefaultAzureCredential
from azure.ai.projects import AIProjectClient
from azure.ai.projects.models import MCPTool, PromptAgentDefinition

# Your project endpoint, shown on the project's home page in Foundry.
PROJECT_ENDPOINT = "https://your-resource.services.ai.azure.com/api/projects/your-project"

with AIProjectClient(endpoint=PROJECT_ENDPOINT, credential=DefaultAzureCredential()) as project:
    agent = project.agents.create_version(
        agent_name="stock-research",
        definition=PromptAgentDefinition(
            model="gpt-4.1-mini",
            instructions=(
                "Answer stock market questions with the Equibles tools. "
                "Leave dates out of tool calls unless the user gives one, "
                "so the tools return the newest data."
            ),
            tools=[
                MCPTool(
                    server_label="equibles",
                    server_url="https://mcp.equibles.com/mcp",
                    project_connection_id="equibles",
                    require_approval="never",
                )
            ],
        ),
    )
    with project.get_openai_client(agent_name=agent.name) as openai:
        response = openai.responses.create(
            input="Using Equibles, who are NVIDIA's top institutional holders this quarter?"
        )
        print(response.output_text)
```

`project_connection_id` is the connection **Name** from step 4 and `model` is your deployment's name. Equibles tools only read data, so the example runs them without asking; drop `require_approval="never"` to get an approval request for each call instead.

### Limit the tools the agent sees

Every turn sends the full Equibles tool list to the model: about 52,000 input tokens in our test. Pass `allowed_tools` to send only the tools your agent needs; the same question then took about 3,200 tokens:

```python
MCPTool(
    server_label="equibles",
    server_url="https://mcp.equibles.com/mcp",
    project_connection_id="equibles",
    require_approval="never",
    allowed_tools=[
        "GetTopHolders",
        "GetStockProfile",
        "GetFinancialStatement",
        "GetEarningsCallTranscript",
        "SearchDocuments",
    ],
)
```

Every tool name is in the [tool reference](/docs/mcp/tools).

### Change or remove the key

Open **Tools**, select **equibles** and click **Edit** under **Authentication** to paste a new key; **Delete tool** removes the connection. You can also revoke the key any time at [/dashboard/apikeys](/dashboard/apikeys).

## Troubleshooting

**Connected but requests fail?** See [connection troubleshooting](/docs/authentication#connection-troubleshooting).

**The agent answered without Equibles data?**

It answered from the web or from memory. Re-ask starting with "Using Equibles, ...", and check that the agent's **Tools** list **equibles**. To keep every answer on Equibles, open the menu next to **Web search** and click **Remove**, then **Save**.

**The answer is about an old quarter?**

The model picked a date on its own. Paste the instructions line from step 6 into the agent's **Instructions** and click **Save**, or ask for "the latest quarter".

**Calls still fail after you changed the key?**

Foundry keeps a connection's credentials for about two minutes, so a new key takes up to two minutes to apply. Ask again after that.