AI-Native Development: The Helius MCP server gives AI tools direct access to our documentation and API specifications, enabling contextual code generation and intelligent assistance.
What is MCP?
Model Context Protocol (MCP) is an open standard that creates standardized connections between AI applications and external services like documentation. The Helius MCP server automatically exposes tools for AI applications to search our documentation and interact with our APIs.Real-time Context
AI tools can search live documentation and API specifications for accurate, up-to-date information
Code Generation
AI generates working code examples using current API methods and best practices from our docs
Interactive Development
Ask questions about Helius APIs and get contextual answers based on our documentation
Seamless Integration
Works with popular AI-powered IDEs and development tools
How Helius MCP Works
The Helius MCP server is automatically generated and hosted athttps://docs.helius.dev/mcp, providing AI tools with access to:
- Complete API Documentation: All Helius API methods, parameters, and examples
- Search Capabilities: Query any part of our documentation for specific information
- Code Examples: Working implementations for common use cases
- Best Practices: Recommended patterns for using Helius services
- Real-time Updates: Always current with the latest documentation changes
Automatic Generation: Our MCP server is automatically generated from our documentation and API specifications, ensuring it’s always up-to-date with the latest features and changes.
Getting Started
1
Choose Your AI Tool
Make sure your AI tool supports MCP. Popular options include:
- Cursor: Built-in MCP support
- Windsurf: Native MCP integration
- Claude Desktop: MCP server support
- VS Code: via MCP extensions
2
Connect to Helius MCP Server
Add the Helius MCP server URL to your AI tool:Each tool has different configuration methods - see the specific instructions below for your AI tool.
3
Start Using AI with Helius Context
Once connected, start asking questions about Helius APIs. The AI will automatically search our MCP server for accurate, contextual documentation to help generate code.
Connection Instructions
Choose your AI tool and follow the specific setup instructions:- Cursor
- Windsurf
- Claude Desktop
- VS Code
- Open Cursor IDE
- Use the contextual menu (see below) or manually add the MCP server:
- Open Settings → MCP Servers
- Add server URL:
https://docs.helius.dev/mcp
- Open Agent mode (Ctrl/Cmd + K)
- Ask: “Write a Node.js script for sending transactions using Helius”
- The AI will search our documentation via MCP to generate accurate code
Contextual Menu Integration
For quick access, use the contextual menu available on any page of our documentation:- Copy MCP server URL: Copies
https://docs.helius.dev/mcpto your clipboard - Connect to Cursor: Automatically installs the MCP server in Cursor
- Connect to VS Code: Automatically installs the MCP server in VS Code
The contextual menu provides the easiest way to connect to our MCP server. Look for the menu icon in the top-right corner of any documentation page.
Use Cases
Rapid Prototyping
Rapid Prototyping
Scenario: You need to quickly build a demo that fetches NFT data and displays it.With MCP: Ask your AI tool “Create a React component that fetches and displays NFTs for a wallet using Helius DAS API”Result: Get a complete component with proper error handling, loading states, and current API usage.
API Integration
API Integration
Scenario: Integrating Helius websockets into your application.With MCP: “Show me how to set up Helius websockets for monitoring account changes”Result: Complete websocket setup code with proper connection handling and real-time updates.
Documentation Generation
Documentation Generation
Scenario: Need to document your Helius integration for your team.With MCP: “Generate documentation for our Helius RPC usage patterns”Result: Comprehensive docs with code examples and best practices.
Debugging & Optimization
Debugging & Optimization
Scenario: Your Helius API calls are failing or performing poorly.With MCP: “Help me optimize these Helius API calls and handle errors properly”Result: Improved code with proper error handling and performance optimizations.
Example Workflows
Building a Transaction Monitor
NFT Portfolio Tracker
Advanced Features
- Context-Aware Suggestions
- Multi-API Orchestration
- Real-time Updates
The MCP server provides documentation context so AI tools can make intelligent suggestions:
- API Method Selection: AI recommends the most appropriate Helius API based on our docs
- Error Handling: AI suggests proper error handling patterns from our documentation
- Performance Tips: AI identifies optimization opportunities using our best practices
Supported AI Tools
| Tool | Support Level | Setup Difficulty | Best For |
|---|---|---|---|
| Cursor | ✅ Native | Easy | Full-stack development |
| Windsurf | ✅ Native | Easy | AI-assisted coding |
| Claude Desktop | ✅ Supported | Medium | Documentation and planning |
| VS Code | ⚠️ Extension Required | Medium | Existing VS Code workflows |
Best Practices
Be Specific
Ask specific questions like “How do I paginate through NFT results?” rather than “Help with NFTs”
Include Context
Mention your tech stack: “Using Next.js and TypeScript, show me how to…”
Iterate Quickly
Use the generated code as a starting point and ask for modifications
Test Generated Code
Always test AI-generated code in your development environment
Troubleshooting
MCP Server Connection Issues
MCP Server Connection Issues
Issue: AI tool can’t connect to the Helius MCP serverSolution:
- Verify the MCP server URL is correct:
https://docs.helius.dev/mcp - Check your internet connection
- Restart your AI tool and try reconnecting
- Ensure your AI tool supports MCP (check tool documentation)
Search Tool Only Available
Search Tool Only Available
Issue: Only the search tool appears, no API endpointsSolution:
- This is expected - our MCP server exposes documentation search capabilities
- API endpoints are accessed through the search tool when the AI needs specific information
- The search tool provides access to all our documentation and API specifications
Outdated Information
Outdated Information
Issue: AI is providing outdated API informationSolution:
- The MCP server auto-updates with our documentation
- Refresh your AI session or restart the tool
- Ask specifically for “the latest” information about the API
- Verify you’re connected to the correct MCP server URL
Generated Code Doesn't Work
Generated Code Doesn't Work
Issue: AI-generated code has errors or doesn’t runSolution:
- Share the error message with the AI for debugging
- Ask the AI to search for specific error handling patterns
- Verify your API key and network connectivity
- Ask for working examples from our documentation
Contextual Menu Not Working
Contextual Menu Not Working
Learn More
MCP Specification
Learn about the Model Context Protocol standard
Helius APIs
Explore all available Helius APIs and endpoints
SDK Documentation
Official SDKs for different programming languages
Join Discord
Get help from our developer community