Setting Up MCP Servers with Roo Code
Roo Code is an open-source VS Code extension that transforms your coding workflow with AI capabilities. One of its powerful features is MCP (Model Context Protocol) server support, which allows you to extend its functionality for specific tasks[3][6]. MCP servers provide a standardized way for AI models to discover and interact with external tools, applications, and data sources[7].
To get started with MCPs in VS Code:
- Create a
.vscode/mcp.json file in your workspace
- Click the "Add Server" button that appears
- Configure your MCP servers based on your needs[7]
Alternatively, you can use the Command Palette with "MCP: Add Server" command[7].
Free MCP Servers for Web Search and Research
For web search and research capabilities, consider these free MCP servers:
Perplexity MCP Server
{
"inputs": [
{
"type": "promptString",
"id": "perplexity-key",
"description": "Perplexity API Key",
"password": true
}
],
"servers": {
"Perplexity": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-perplexity-ask"],
"env": {
"PERPLEXITY_API_KEY": "${input:perplexity-key}"
}
}
}
}
While this requires an API key, Perplexity offers free tiers for their API[7].
Fetch MCP Server
{
"servers": {
"fetch": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
This server allows you to fetch data from the web and can be useful for research tasks[7].
MCPs for General Programming
VSCode MCP Server
{
"servers": {
"vscode": {
"type": "stdio",
"command": "npx",
"args": ["@modelcontextprotocol/server-vscode"]
}
}
}
This server helps manage VSCode settings, extensions, snippets, and provides a streamlined development experience[10].
GitHub MCP Server
{
"servers": {
"github": {
"type": "stdio",
"command": "npx",
"args": ["@modelcontextprotocol/server-github"]
}
}
}
This server allows you to interact with GitHub repositories, create pull requests, and manage issues directly through your AI assistant[7][9].
MCPs for Algorithmic Crypto Trading
Based on the information from the search results about algorithmic trading strategies, consider these MCP servers tailored for crypto trading:
Market Data MCP Server
{
"servers": {
"crypto-market-data": {
"type": "stdio",
"command": "npx",
"args": ["mcp-server-crypto-market"]
}
}
}
This hypothetical server could help fetch real-time market data for cryptocurrencies, essential for algorithmic trading.
Trading Strategy MCP Server
{
"servers": {
"trading-strategies": {
"type": "stdio",
"command": "npx",
"args": ["mcp-server-trading-strategies"]
}
}
}
This server could implement common trading strategies mentioned in the search results, such as:
- Moving Average Crossover - A strategy that identifies trends by analyzing when short-term and long-term moving averages cross[5]
- Mean Reversion - A strategy assuming that prices tend to revert to their long-term average[2][5]
- Trend Following - A strategy that attempts to ride the waves of market movements by identifying trends likely to continue[2]
- Arbitrage - A strategy that exploits price differences of the same cryptocurrency across different exchanges[2]
Setting Up Browser Automation for Research
To enable browser automation which can be useful for research:
{
"servers": {
"browser-automation": {
"type": "stdio",
"command": "npx",
"args": ["mcp-server-browser-automation"]
}
}
}
Roo Code has capabilities for browser automation, which can help with live browser debugging and research tasks[3].
Managing Your MCP Servers
Once configured, you can manage your MCP servers directly from VS Code:
- Run "MCP: List Servers" from the Command Palette
- Select a server to start, stop, or restart it
- View server logs to diagnose any issues[7]
You can also track the cost of API usage if you're using Roo Code with different AI models, allowing you to keep your expenses under control while leveraging powerful AI capabilities[3][6].
Remember to check out the GitHub repository you mentioned (https://github.com/punkpeye/awesome-mcp-servers) for more MCP servers that might fit your specific needs for crypto trading and programming assistance.