Integrate documentation with your IDE using Biel.ai MCP server
Connect AI coding assistants like Cursor, Claude Desktop, and VS Code to your product documentation using Biel.ai's Model Context Protocol (MCP) server. Your AI assistant can search and reference your docs while helping developers write code.
The MCP server provides a hosted Retrieval-Augmented Generation (RAG) layer that connects AI tools directly to your indexed documentation. This enables context-aware code completions, accurate technical answers, and intelligent suggestions based on your actual documentation—all without leaving your IDE.

How it works
The MCP server acts as a bridge between your AI coding assistant (like Cursor or Claude Desktop) and your Biel.ai project. When your AI needs information about your product or API, it queries your documentation through MCP and receives relevant context to provide better answers.
Requirements
This integration requires:
- Biel.ai account with documentation indexed (create account)
- Project slug from your Biel.ai dashboard
- AI coding assistant that supports MCP:
- Cursor IDE
- Claude Desktop
- VS Code (with MCP extension)
- Other MCP-compatible tools
- API key (optional) - only for private projects on Professional/Business/Enterprise plans
Setup
Connect your AI coding assistant to Biel.ai using our hosted MCP server (no installation or maintenance required).
Add this configuration to your AI tool's MCP settings:
{
"mcpServers": {
"biel-ai": {
"description": "Query your product's documentation, APIs, and knowledge base.",
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.biel.ai/sse?project_slug=YOUR_PROJECT_SLUG&domain=https://your-docs-domain.com"
]
}
}
}
Set the following parameters:
project_slug:Your Biel.ai project slug from your dashboard.domain: Your documentation domain.api_key: Optional, API key (only needed for private projects)
Configuration for specific tools
Cursor IDE MCP setup
- Open Cursor Settings:
Ctrl+Shift+J(Windows/Linux) orCmd+Shift+J(Mac). - Go to MCP → Add new global MCP Server
- Paste the configuration from Step 1
- Save and restart Cursor.
Claude Desktop MCP setup
- Open your MCP configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the configuration from Step 1.
- Save and restart Claude Desktop.
VS Code MCP setup
- Install the MCP extension for VS Code.
- Open VS Code settings → Extensions → MCP configuration.
- Add the configuration above.
- Reload VS Code.
Self-hosted option
For teams who prefer to host their own MCP server, see the self-hosting documentation on GitHub.
Usage
Once configured, your AI coding assistant can query your documentation automatically. Here are three ways to use the integration:
Automatic queries (recommended)
Your IDE will automatically call the MCP server when needed. The AI reads the description field to understand when to use the tool.
Setup: Add a clear description to your MCP configuration:
{
"mcpServers": {
"biel-ai": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.biel.ai/sse?project_slug=YOUR_PROJECT_SLUG&domain=https://your-docs-domain.com"
],
"description": "Query your product's documentation, APIs, and knowledge base. Ask about API specs, guides, and troubleshooting."
}
}
}
Usage:
You: "How do I authenticate users?"
AI: [Automatically queries Biel.ai docs → Returns answer with citations]
You: "What's the rate limiting policy?"
AI: [Sees "API specs" in description → Searches docs → Provides info]
Cursor rules integration
Configure Cursor rules to automatically invoke the Biel.ai MCP server for specific query types.
Create a project rule:
- Command Palette:
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) - Select "New Cursor Rule"
- Name: "biel-ai-auto-query"
- Content:
---
description: Auto-query Biel.ai for documentation and API questions
globs: ["**/*"]
---
For questions about our product documentation, API, or troubleshooting: Use the biel-ai MCP server before responding
File location: .cursor/rules/biel-ai-auto-query.mdc
Manual trigger with keyword
Add biel_ai anywhere in your message to explicitly search your documentation:
Example conversations:
You: "biel_ai, how do I authenticate users?"
AI: [Searches your Biel.ai docs and provides answer with citations]
You: "What are the rate limits for the API? biel_ai"
AI: [Returns rate limit info from your documentation]
Configuration options
The MCP server supports several configuration parameters:
project_slug(required): Your Biel.ai project identifierapi_key(optional): For authentication with private projectsbase_url(optional): Defaults tohttps://app.biel.aidomain(optional): Your documentation domain for additional contextchat_uuid(optional): To continue previous conversations
Troubleshooting
Connection issues
If your AI tool can't connect to the MCP server:
- Verify project slug: Make sure it matches your Biel.ai project.
- Network connectivity: Ensure your firewall allows connections to
mcp.biel.ai - Check project privacy: For private projects, ensure you have an API key
No responses
If the AI tool isn't querying Biel.ai:
- Include trigger keywords: Make sure to use
biel_aiin your messages. - Check project status: Verify your Biel.ai project has indexed content.
- Review logs: Check your AI tool's logs for MCP-related errors.
API Key issues
API keys are only required for private projects and are available on Professional, Business, and Enterprise plans.
If you are getting authentication errors:
- Check if your project is private: Public projects don't need API keys.
- Upgrade your plan: API keys require Professional, Business or Enterprise plan.
- Regenerate API key: Create a new API key in your team settings if needed.
Security considerations
- API keys are passed per request and never stored on the MCP server.
- Restrict API key permissions to only the necessary Biel.ai projects.
- Use HTTPS for all communications (enabled by default with hosted service).
Next steps
Once you have the MCP integration working:
- Explore advanced queries: Try asking complex questions about your documentation
- Customize trigger rules: Set up custom keywords or patterns for automatic routing.
- Monitor usage: Check your Biel.ai analytics to see how the integration is being used.
- Train your team: Share example queries and best practices with your development team.
For additional configuration options and advanced usage, check out our API documentation.
Need assistance? Contact us to discuss your specific use case.