
Getting Started with MyBacklinks MCP: Connect AI to Your Backlink Management
Learn how to connect Claude Code, Cursor, and other AI assistants to MyBacklinks using MCP (Model Context Protocol) for automated project and backlink management.
Getting Started with MyBacklinks MCP
The MyBacklinks MCP (Model Context Protocol) server enables you to manage your projects, backlinks, and analytics directly from AI-powered development tools like Claude Code, Cursor, and OpenAI Codex. This guide walks you through setup, OAuth authentication, and using the available tools.
What is MCP?
Model Context Protocol (MCP) is an open standard developed by Anthropic that allows AI assistants to securely connect to external data sources and tools. The MyBacklinks MCP server implements this protocol using OAuth 2.0 with dynamic client registration for secure authentication.
Features
- 🔐 Secure OAuth 2.0 Authentication - Dynamic client registration with PKCE flow
- 🚀 Zero-Config Setup - Just add the URL, authentication is automatic
- 🛠️ 9 Powerful Tools - Manage projects, links, resources, and analytics
- 🔄 Auto Token Refresh - Seamless session management
- 🎯 Multiple AI Platforms - Claude Code, Cursor, Codex, and more
Quick Start
Supported Clients
| Client | Transport | OAuth |
|---|---|---|
| Claude Code | Streamable HTTP | ✅ Built-in |
| Cursor | Streamable HTTP | ✅ Built-in |
| OpenAI Codex | Streamable HTTP | ✅ Built-in |
| Mobile Apps | Streamable HTTP | ✅ OAuth or API Key |
Configuration
Simply add the MCP server URL to your client's configuration:
For Claude Code
Option 1: CLI (Recommended)
# Add to user scope (available in all projects)
claude mcp add --transport http --scope user mybacklinks https://mybacklinks.app/mcp
# Or add to current project only
claude mcp add --transport http mybacklinks https://mybacklinks.app/mcp
# Verify it was added
claude mcp listOption 2: Config File (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"mybacklinks": {
"url": "https://mybacklinks.app/mcp"
}
}
}For Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"mybacklinks": {
"url": "https://mybacklinks.app/mcp"
}
}
}For OpenAI Codex
CLI:
codex mcp add mybacklinks --url https://mybacklinks.app/mcpOr config file (~/.codex/mcp.toml):
[[mcp_servers]]
name = "mybacklinks"
url = "https://mybacklinks.app/mcp"For Mobile Apps
Want to manage your backlinks on the go? Mobile MCP clients can connect using two authentication methods:
Method 1: OAuth Authentication (Recommended)
If your mobile MCP client supports OAuth:
- Add a new server with URL:
https://mybacklinks.app/mcp - Tap "Connect" - the app will handle OAuth authentication automatically
- Complete the login in your mobile browser
- Return to the app and start using MCP tools!
Method 2: API Key + Custom Header
If your mobile MCP client doesn't support OAuth, you can use API Key authentication:
- Go to MyBacklinks API Keys page
- Click "Create API Key" and copy the generated key
- In your mobile MCP client, add a new server with URL:
https://mybacklinks.app/mcp - Configure a custom header:
- Header name:
Authorization - Header value:
Bearer YOUR_API_KEY
- Header name:
- Save and connect - you're ready to use MCP tools!
API Key Configuration Example:
Server URL: https://mybacklinks.app/mcp
Custom Headers:
Authorization: Bearer mbk_xxxxxxxxxxxxxxxxxxxxMobile Use Cases:
- Check project status while commuting
- Quickly add backlinks when you discover opportunities
- Review analytics reports on the go
- Respond to backlink status changes in real-time
Tip: OAuth is more secure as tokens auto-refresh and can be revoked. API keys are simpler but should be kept secure and never shared publicly.
First-Time Authentication
When you first connect, your AI client will automatically:
- Discover OAuth metadata from
/.well-known/oauth-authorization-server - Register as a dynamic client (RFC 7591)
- Open your browser for login
- Store tokens securely for future requests
No manual setup required—just configure the URL and start using it!
Available MCP Tools
Once connected, these 9 tools are available to your AI assistant:
Project Management
listProjects
List all your projects with their metadata.
Parameters:
cursor(optional): Pagination cursorlimit(optional): Max items to return (1-50)
Example prompt:
Show me all my projectsResponse includes:
- Project ID, name, domain
- Status (active/archived)
- Created and updated timestamps
getProjectDetail
Get detailed information about a specific project.
Parameters:
projectId(required): Project ID
Example:
Get details for my LoveMoney projectResponse includes:
- Project metadata
- Link counts by status (pending, submitted, indexed, rejected)
- Resource counts
- Last analytics sync date
Backlink Management
listProjectBacklinks
List all backlinks for a specific project.
Parameters:
projectId(required): Project IDstatus(optional): Filter by status (pending,submitted,indexed,rejected,removed)cursor(optional): Pagination cursorlimit(optional): Max items (1-50)fields(optional): Select specific fields to reduce response size
Example:
Show me all indexed backlinks for my projectgetProjectBacklinkDetail
Get detailed information about a specific project backlink.
Parameters:
backlinkId(required): Project backlink ID
Example:
Show details for backlink abc123upsertProjectBacklink
Create or update a project backlink.
Parameters:
projectId(required): Project IDbacklinkId(optional): Backlink ID for updateresourceId(optional): Backlink resource ID (auto-populates backlinkUrl from resource)targetUrl(required for create): Target URL (the page you want backlinks to)backlinkUrl(optional): The URL where backlink is placedanchor(optional): Anchor textstatus(optional): Link statusnotes(optional): Additional notes
Example:
Add a new backlink to my project:
- Target URL: https://myapp.com
- Backlink URL: https://producthunt.com/posts/myapp
- Anchor text: "AI-powered tool"
- Status: submittedResource Management
listBacklinkResources
List available backlink resources (directories, forums, etc.) where you can submit your project.
Parameters:
cursor(optional): Pagination cursorlimit(optional): Max items (1-50)filter(optional): Object with filters:type: Resource type (e.g., "guest_post", "directory")payment: Payment type (e.g., "free", "paid")drMin: Minimum Domain RatingdrMax: Maximum Domain Rating
Example:
Find high DR resources (DR > 50) where I can submit my project for freelistAvailableResources
List backlink resources that have NOT been used for a specific project yet. Use this to find resources where you can submit new backlinks.
Parameters:
projectId(required): Project ID to check available resources forcursor(optional): Pagination cursorlimit(optional): Max items (1-50)filter(optional): Same filters aslistBacklinkResources
Example:
Show me resources I haven't used yet for my SaaS projectaddBacklinkResource
Add a new backlink resource to your personal database. Rejects if a resource with the same domain already exists.
Parameters:
domain(required): Domain of the resource (e.g., "example.com"). Protocol and paths will be stripped automaticallytype(required): Resource type (blog,directory,forum,social,other)submissionUrl(optional): Full URL for submitting backlinkspaymentType(optional): Payment type (free,paid,freemium). Default:freesubmissionMethod(optional): How to submit (e.g., "comment", "guest post", "profile link")howToSubmit(optional): Natural language instructions for AI agent on how to submit backlinksdr(optional): Domain Rating (0-100)traffic(optional): Estimated monthly trafficnotes(optional): Additional notes about this resource
Example:
Add a new backlink resource:
- Domain: indiehackers.com
- Type: forum
- Payment: free
- DR: 70
- Notes: Great community for SaaS foundersError Handling:
If the domain already exists in your database, the tool will return an error with code duplicate_domain and include the existing resource ID.
Analytics
getProjectAnalytics
Get comprehensive analytics data for a project including search console metrics, traffic analytics, domain metrics, and backlink statistics.
Parameters:
projectId(required): Project IDrange(optional): Time range (30dor90d)
Response Fields:
domainMetrics: Domain Rating (DR), traffic, keywords count from RapidAPIsearchAnalytics: Google Search Console data (clicks, impressions, CTR, avg position)trafficAnalytics: GA4 data (page views, sessions, users)backlinks: Backlinks added/failed in the time rangeconnectedPlatforms: List of connected analytics platforms (GSC, GA4, etc.)lastSyncAt: Last analytics sync timestamp
Example:
Show me SEO analytics for my project over the last 30 daysResponse Example:
{
"searchAnalytics": {
"clicks": 3929,
"impressions": 23747,
"ctr": 16.48,
"avgPosition": 5.6
},
"backlinks": {
"added": 536,
"failed": 0
}
}Use Cases
Daily SEO Workflow
Ask your AI assistant:
Generate a status report of all my projects with their backlink countsBacklink Auditing
Check all pending links for my SaaS project and list which need attentionFinding Opportunities
Find websites with DR between 40-60 where I can submit guest postsBulk Operations
Add these backlinks to my project:
1. https://reddit.com/r/startups/my-post - anchor: "startup tools"
2. https://hackernews.com/item/123 - anchor: "new SaaS tool"Building Your Resource Library
Add these backlink resources to my database:
1. indiehackers.com - forum type, DR 70, free
2. producthunt.com - directory type, DR 90, free
3. betalist.com - directory type, DR 60, freemiumOAuth 2.0 Architecture
The MyBacklinks MCP server implements OAuth 2.0 with these features:
Standards Compliance
- OAuth 2.1 with PKCE for enhanced security
- RFC 8414 Authorization Server Metadata discovery
- RFC 7591 Dynamic Client Registration
- RFC 8707 Resource Indicators
OAuth Endpoints
| Endpoint | Purpose |
|---|---|
/.well-known/oauth-authorization-server | Metadata discovery |
/.well-known/oauth-protected-resource | Resource metadata |
/api/oauth/register | Dynamic client registration |
/api/oauth/authorize | Authorization endpoint |
/api/oauth/token | Token exchange |
Security Features
- PKCE (S256): Protects against authorization code interception
- Dynamic Registration: No pre-shared client secrets needed
- Token Rotation: Refresh tokens are rotated on use
- Limited Scopes: Requests only
mcpscope
Troubleshooting
Authentication Failed
If you see "Incompatible auth server" errors:
- Ensure you're using the latest version of your AI client
- Check that the MCP URL is correct:
https://mybacklinks.app/mcp - Try removing and re-adding the MCP server
Token Expired
Your AI client should handle token refresh automatically. If issues persist:
- Remove the MCP server from your client
- Re-add it and complete the OAuth flow again
Connection Issues
Verify the server is accessible:
curl https://mybacklinks.app/.well-known/oauth-authorization-serverYou should see JSON metadata including authorization_endpoint and token_endpoint.
API Rate Limits
The MyBacklinks MCP respects these rate limits based on your subscription:
- Free Tier: 100 requests/hour
- Pro Tier: 1,000 requests/hour
- Enterprise: Custom limits
Best Practices
- Use Pagination: For large datasets, use
cursorandlimitparameters - Select Fields: Use the
fieldsparameter inlistProjectBacklinksto reduce response size - Batch Operations: Group related link updates in a single conversation
- Check Status: Verify link status before taking action
Next Steps
- Create an account at mybacklinks.app
- Set up your first project
- Connect your AI assistant using the configuration above
- Start automating your backlink management!
Support
Need help? Reach out through:
- GitHub Issues: github.com/hekmon8/mybacklinks-tools/issues
- Email: support@mybacklinks.app
Happy automating! 🚀
Categories
listProjectsgetProjectDetailBacklink ManagementlistProjectBacklinksgetProjectBacklinkDetailupsertProjectBacklinkResource ManagementlistBacklinkResourceslistAvailableResourcesaddBacklinkResourceAnalyticsgetProjectAnalyticsUse CasesDaily SEO WorkflowBacklink AuditingFinding OpportunitiesBulk OperationsBuilding Your Resource LibraryOAuth 2.0 ArchitectureStandards ComplianceOAuth EndpointsSecurity FeaturesTroubleshootingAuthentication FailedToken ExpiredConnection IssuesAPI Rate LimitsBest PracticesNext StepsSupportMore Posts

Snowball Backlink Strategy: How to Systematically Build Your Link Empire
Learn how MyBacklinks.app helps you build a snowball-effect backlink system through personal resource libraries, automated project discovery, and competitor analysis.

MyBacklinks.app - All-in-One Project Management & Growth Tracking Platform for Indie Hackers
Manage your side projects, backlinks, domains, and servers in one place. Integrate multi-platform analytics and automate your workflow with AI-powered tools.