Linkding MCP Server logo

Linkding MCP Server

Organization
chickenzord

MCP Server for Linkding self-hosted bookmarking service

Publisherchickenzord
Repositorylinkding-mcp
LanguageGo
Forks
1
Stars
15
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Linkding MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    15 stars and 1 forks from the linked repository.

Linkding MCP Server

MCP Server GitHub go.mod Go version Go Report Card Go Build Docker Build Code License

A Model Context Protocol (MCP) server that provides seamless integration with Linkding, a self-hosted bookmark manager. This server enables AI assistants like Claude to interact with your Linkding bookmarks through standardized MCP tools.

Features

  • 🔍 Search Bookmarks - Find bookmarks by query with customizable limits
  • ➕ Create Bookmarks - Add new bookmarks with titles, descriptions, and tags
  • 🏷️ Manage Tags - Retrieve and work with your bookmark tags
  • 🚀 Dual Mode Support - Run via stdio (MCP standard) or HTTP server
  • 🐳 Docker Ready - Multi-stage Alpine-based container
  • 🔒 Secure - Runs as non-root user with minimal dependencies

Tools Available

search_bookmarks

Search through your Linkding bookmarks.

Parameters:

  • query (string, optional): Search phrase to filter bookmarks
  • limit (number, optional): Maximum results to return (default: 20)

create_bookmark

Create a new bookmark in Linkding.

Parameters:

  • url (string, required): The URL to bookmark
  • title (string, optional): Title for the bookmark
  • description (string, optional): Description of the bookmark
  • tags (array of strings, optional): Tags to associate with the bookmark

get_tags

Retrieve available tags from Linkding.

Parameters:

  • limit (number, optional): Maximum number of tags to return (default: 50)

Installation

Prerequisites

  • Linkding instance running and accessible
  • Linkding API token (generate in your Linkding admin panel)

Option 1: Docker (Recommended)

bash
# Pull the image
docker pull ghcr.io/chickenzord/linkding-mcp:latest

# Run in stdio mode (for MCP clients)
docker run --rm -i \
  -e LINKDING_URL="https://your-linkding.example.com" \
  -e LINKDING_API_TOKEN="your-api-token" \
  ghcr.io/chickenzord/linkding-mcp:latest stdio

# Run in HTTP mode  
docker run --rm -p 8080:8080 \
  -e LINKDING_URL="https://your-linkding.example.com" \
  -e LINKDING_API_TOKEN="your-api-token" \
  -e BIND_ADDR=":8080" \
  ghcr.io/chickenzord/linkding-mcp:latest http

Option 2: Homebrew (macOS/Linux)

bash
# Add the tap
brew tap chickenzord/tap

# Install linkding-mcp
brew install linkding-mcp

# Install latest development version
brew install --HEAD linkding-mcp

Option 3: Go Install

bash
go install github.com/chickenzord/linkding-mcp/cmd/linkding-mcp@latest

Option 4: Build from Source

bash
git clone https://github.com/chickenzord/linkding-mcp.git
cd linkding-mcp
go build -o linkding-mcp ./cmd/linkding-mcp

Configuration

Environment Variables

  • LINKDING_URL (required): Your Linkding instance URL
  • LINKDING_API_TOKEN (required): API token from your Linkding admin panel
  • BIND_ADDR (optional): HTTP server bind address (default: ":8080")

Getting Your Linkding API Token

  1. Log into your Linkding instance
  2. Go to Settings → Integrations
  3. Generate a new API token
  4. Copy the token for use with this MCP server

MCP Client Configuration

Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

json
{
  "mcpServers": {
    "linkding": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-e", "LINKDING_URL=https://your-linkding.example.com",
        "-e", "LINKDING_API_TOKEN=your-api-token",
        "ghcr.io/chickenzord/linkding-mcp:latest",
        "stdio"
      ]
    }
  }
}

Or if using a local binary:

json
{
  "mcpServers": {
    "linkding": {
      "command": "linkding-mcp",
      "args": ["stdio"],
      "env": {
        "LINKDING_URL": "https://your-linkding.example.com",
        "LINKDING_API_TOKEN": "your-api-token"
      }
    }
  }
}

VS Code with MCP Extension

json
{
  "mcp.servers": [
    {
      "name": "linkding",
      "command": "linkding-mcp",
      "args": ["stdio"],
      "env": {
        "LINKDING_URL": "https://your-linkding.example.com", 
        "LINKDING_API_TOKEN": "your-api-token"
      }
    }
  ]
}

Other MCP Clients

For any MCP-compatible client, use:

  • Command: linkding-mcp stdio (or Docker equivalent)
  • Transport: stdio
  • Environment: Set LINKDING_URL and LINKDING_API_TOKEN

Usage Examples

Once configured with an MCP client, you can use natural language commands:

  • "Search for bookmarks about golang"
  • "Create a bookmark for https://example.com with title 'Example Site' and tags 'reference', 'tools'"
  • "Show me all my tags"
  • "Find bookmarks related to kubernetes"

Development

Running Locally

bash
# Set environment variables
export LINKDING_URL="https://your-linkding.example.com"
export LINKDING_API_TOKEN="your-api-token"

# Run in stdio mode
go run ./cmd/linkding-mcp stdio

# Run in HTTP mode  
go run ./cmd/linkding-mcp http

Testing

bash
# Run tests
go test ./...

# Test with a real Linkding instance
go run ./cmd/linkding-mcp stdio < test-requests.json

Building

bash
# Build binary
go build -o linkding-mcp ./cmd/linkding-mcp

# Build Docker image
docker build -t linkding-mcp .

Docker Compose Example

yaml
version: '3.8'
services:
  linkding-mcp:
    image: ghcr.io/chickenzord/linkding-mcp:latest
    environment:
      - LINKDING_URL=https://your-linkding.example.com
      - LINKDING_API_TOKEN=your-api-token
      - BIND_ADDR=:8080
    ports:
      - "8080:8080"
    command: ["http"]

API Reference

The HTTP mode exposes MCP endpoints at:

  • POST /mcp/v1/initialize - Initialize MCP session
  • POST /mcp/v1/tools/list - List available tools
  • POST /mcp/v1/tools/call - Call a tool

See the MCP specification for detailed API documentation.

Troubleshooting

Common Issues

Authentication Error: Verify your LINKDING_API_TOKEN is correct and has proper permissions.

Connection Error: Ensure your LINKDING_URL is accessible and includes the protocol (https://).

Permission Denied: If running Docker, ensure the container can access your Linkding instance (check firewalls/networks).

Debug Mode

Set LINKDING_DEBUG=true for verbose logging:

bash
LINKDING_DEBUG=true linkding-mcp stdio

Logs

Container logs:

bash
docker logs <container-id>

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Projects

Support


Built with ❤️ for the MCP ecosystem

Installation

TypingMind
{
  "mcpServers": {
    "linkding-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "LINKDING_URL={{config.LINKDING_URL}}",
        "-e",
        "LINKDING_API_TOKEN={{config.LINKDING_API_TOKEN}}",
        "ghcr.io/chickenzord/linkding-mcp:latest",
        "stdio"
      ],
      "env": {
        "LINKDING_URL": "<LINKDING_URL>",
        "LINKDING_API_TOKEN": "<LINKDING_API_TOKEN>"
      }
    }
  }
}

Use Linkding MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Linkding MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Linkding MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Linkding MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "linkding-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Linkding MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Linkding MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Linkding MCP Server to help me with this task?
Linkding MCP Server
Sure. I read it.
Here is what I found using Linkding MCP Server.

Frequently asked questions

What is the Linkding MCP Server MCP server used for?

Linkding MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Linkding MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Linkding MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Linkding MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Linkding MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Linkding MCP Server MCP to TypingMind?

Linkding MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Linkding MCP Server MCP provide in TypingMind?

Linkding MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Linkding MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Linkding MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇