mybacklinks-mcp

Backlinks tracker and management tools for MyBacklinks.app.

mybacklinks-mcp

License: MIT

English | δΈ­ζ–‡ | πŸ“– Blog/Guide


mybacklinks-mcp provides configuration guides and examples for connecting AI assistants (Claude Code, Cursor, Codex, Kelivo) to the MyBacklinks MCP server.

πŸ†• New! Check out our detailed guide on automating backlink management with AI agents!

What is MyBacklinks?

MyBacklinks is a comprehensive backlink management platform designed for indie hackers and side project builders. It helps you:

  • πŸ“Š Track Projects: Manage multiple side projects in one place
  • πŸ”— Manage Backlinks: Track submitted backlinks, their status, and anchor text
  • πŸ“ˆ Monitor SEO: Analyze domain ratings, link performance, and submission history
  • 🌐 Discover Resources: Find high-quality websites for backlink opportunities

Available Tools

When connected, your AI assistant can use these MCP tools:

ToolDescription
listProjectsList all your projects with basic stats
getProjectGet detailed project info including link counts
listProjectLinksBrowse backlinks for a specific project
getLinkView complete link details and history
upsertProjectLinkCreate or update backlink records
listLinkResourcesDiscover potential backlink resources
discoverBacklinkOpportunitiesDiscover backlink submission opportunities (unused resources) for a project
addBacklinkResourceAdd a new backlink resource (rejects duplicate domains)
updateBacklinkResourceUpdate an existing backlink resource (submission URL, type, DR, notes, etc.)
getProjectAnalyticsGet SEO analytics for your project

Quick Start

Supported Clients

ClientTransportOAuth
Claude CodeStreamable HTTPβœ… Built-in
CursorStreamable HTTPβœ… Built-in
OpenAI CodexStreamable HTTPβœ… Built-in
Kelivo (Mobile)Streamable HTTPβœ… Built-in

Configuration

Simply add the MCP server URL to your client's configuration:

Claude Code (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mybacklinks": {
      "url": "https://mybacklinks.app/mcp"
    }
  }
}

Cursor (.cursor/mcp.json in your project):

{
  "mcpServers": {
    "mybacklinks": {
      "url": "https://mybacklinks.app/mcp"
    }
  }
}

Codex CLI (~/.codex/mcp.toml):

[[mcp_servers]]
name = "mybacklinks"
url = "https://mybacklinks.app/mcp"

See the examples/ directory for complete configuration templates.

CLI Integration

For a faster setup, you can use CLI commands to add the MCP server directly:

Claude Code (via claude CLI):

# Add MyBacklinks MCP server (user scope - available in all projects)
claude mcp add --transport http --scope user mybacklinks https://mybacklinks.app/mcp

# Or add to current project only (local scope)
claude mcp add --transport http mybacklinks https://mybacklinks.app/mcp

# Verify it was added
claude mcp list

Codex CLI (via codex CLI):

# Add MyBacklinks MCP server
codex mcp add mybacklinks --url https://mybacklinks.app/mcp

# Verify it was added
codex mcp list

These commands automatically update the respective configuration files.

Authentication

When you first use the MCP server, your AI client will automatically:

  1. Discover OAuth metadata from /.well-known/oauth-authorization-server
  2. Open a browser for you to log in with your MyBacklinks account
  3. Store the token securely for future requests

No manual setup requiredβ€”just configure the URL and start using it!

Use Cases

Track Your Backlink Submissions

Ask your AI assistant:

"Show me all pending backlinks for my SaaS project"

The assistant will use listProjectLinks with status filter to show unsubmitted links.

Add New Backlinks

"Add a backlink from producthunt.com to my landing page https://myapp.com with anchor text 'AI-powered tool'"

The assistant will use upsertProjectLink to create the record.

Analyze SEO Performance

"What's the SEO performance of my project over the last 30 days?"

The assistant will use getProjectAnalytics to fetch metrics.

Find Backlink Opportunities

"Find high DR resources where I can submit my project"

The assistant will use listLinkResources with DR filters.

Add New Backlink Resources

"Add indiehackers.com as a forum-type backlink resource with DR 70"

The assistant will use addBacklinkResource to add the resource. It will reject if the domain already exists.

Update Backlink Resources

"Update the indiehackers.com resource with new submission instructions: Go to /new, fill the form, and click Post"

The assistant will use updateBacklinkResource to update the resource's howToSubmit field.

API Endpoints

EndpointPurpose
https://mybacklinks.app/mcpMCP Streamable HTTP endpoint
https://mybacklinks.app/.well-known/oauth-authorization-serverOAuth 2.0 metadata discovery
https://mybacklinks.app/api/oauth/authorizeOAuth authorization
https://mybacklinks.app/api/oauth/tokenOAuth token exchange

License

MIT License - see LICENSE for details.

Support

Related Servers