feat: add AlgoVault MCP integration quickstart - #6
Open
AlgoVaultFi wants to merge 2 commits into
Open
Conversation
Adds a new "MCP Integration" quickstart notebook demonstrating how to connect CrewAI to a remote MCP server via MCPServerAdapter over the streamable-http transport. The example uses AlgoVault MCP, which returns a composite BUY/SELL/HOLD trade call across crypto perp venues. The notebook loads the tools, reads a live trade call with no LLM key, documents the concrete-default gotcha for the adapter's null handling, and includes an optional key-gated Crew wiring. Output cells are executed against the live server. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Track-record snapshot in the intro cell refreshed from the live /api/performance-public + /api/merkle-batches endpoints (calls, PFE win rate, on-chain batch count, asset coverage). The notebook already tells readers to verify live at algovault.com/track-record; this keeps the static snapshot line current. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this adds
A new
MCP Integration/quickstart notebook,algovault_mcp.ipynb, showing how to connect CrewAI to a remote MCP server withMCPServerAdapterover the streamable-http transport.The example server is AlgoVault MCP: it returns a composite BUY/SELL/HOLD trade call across 5 crypto perp venues, with a track record that is Merkle-anchored on Base L2 (ERC-8004 agentId
44544).Why it is not just another "MCP + framework" demo
The notebook is built around what is specific to the data, not the plumbing:
get_trade_callresponse givescall/confidence/indicators/regime— no client-side vote-counting over separate indicators.Notebook contents
crewai/crewai-tools[mcp]).MCPServerAdapterand list the AlgoVault trade tools.includeReasoning,exchange,assetClass) so they are not forwarded asnull.Crew+Agentwiring that is skipped when no provider key is set.The output cells were executed end-to-end against the live server. The notebook is pre-sanitized with
scripts/clean_notebooks.py, so the Clean Notebooks check is a no-op.Conventions followed
MCP Integration/), matching the existing per-feature layout (Collaboration,Custom LLM,Guardrails, …).nbformat4,python3kernelspec,%pip installinstall cell — matching the existing notebooks.crewai==1.15.1+crewai-tools[mcp]==1.15.1on Python 3.12.Further reading
Happy to adjust the directory name or notebook structure to match maintainer preference.