Skip to main content
Glama
buildingagentswithdeepak-beep

MarketIntel MCP Server

MarketIntel MCP Server (Azure Container Apps)

Cloud-hosted MCP server exposing market-research tools over SSE, per MarketIntel_MCP_Server_Azure_Spec.md. Developers connect from VS Code (Copilot Chat Agent mode) to a shared Azure HTTPS endpoint — no local server.

Layout

MCPServer/
├── server.py                # Entrypoint (spec §7.3): binds 0.0.0.0:8000, SSE
├── market_intel/
│   ├── config.py            # Env-driven settings; secrets via env only (§9)
│   ├── providers.py         # SearchProvider seam: Tavily (prod) / Fake (offline)
│   ├── tools.py             # 5 tools + resource + prompt logic (§6, §10)
│   └── mcp_app.py           # FastMCP wiring (lazy import)
├── tests/test_tools.py      # 17 offline unit tests (§11)
├── Dockerfile               # python:3.12-slim + uv (§7.2)
├── infra/deploy.sh          # az containerapp up + scale rules (§7.4, §8)
├── .vscode/mcp.json         # VS Code MCP client config (§7.5)
└── .env.example

Related MCP server: Deep Research MCP

Run locally (offline, no key)

python -m pytest -q                 # 17 passing
SEARCH_PROVIDER=fake python server.py   # serves SSE on :8000 (needs fastmcp)

Run with real Tavily

pip install fastmcp tavily-python uvicorn
export TAVILY_API_KEY=tvly-...      # SEARCH_PROVIDER defaults to tavily
python server.py

Deploy to Azure

export TAVILY_KEY=tvly-...
bash infra/deploy.sh                # prints the *.azurecontainerapps.io FQDN

Then set the /sse URL in .vscode/mcp.json.

Design note

The Tavily dependency is behind a SearchProvider adapter (spec-driven offline seam): FakeSearchProvider makes the full tool pipeline + tests run with zero network and no API key; TavilyProvider (lazy-imported SDK) is selected by SEARCH_PROVIDER=tavily for production. Same contract, one config flag.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that performs comprehensive web research by combining Tavily Search and Crawl APIs to gather extensive information and provide structured JSON output tailored for LLMs to create detailed markdown documents.
    14 npm
    27
    Apache 2.0
  • -
    license
    B
    quality
    Not graded
    maintenance
    A Model Context Protocol compliant server that facilitates comprehensive web research by utilizing Tavily's Search and Crawl APIs to gather and structure data for high-quality markdown document creation.
    1
    14 npm
    12
    -
  • F
    license
    A
    quality
    D
    maintenance
    Enables web search capabilities through the Tavily API and serves as a demonstration platform for building custom MCP tools. Designed for educational purposes to showcase MCP server development and LangGraph integration.
    6
    -