1. Conduid
  2. Developer Tools
  3. Lc MCP Server
MCP server · Developer Tools

Lc MCP Server

leetcode mcp server written in golang

Unclaimed BSD-3-Clause last commit a year ago devtools
49Fair

Scored 4 months ago · breakdown

About Lc MCP Server

Lc MCP Server is an MCP server published by moresearch in the Developer Tools category: leetcode mcp server written in golang. It has been installed 0 times through Conduid.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx lc-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Lc MCP Server

Powered by Claude · Grounded in docs

I know everything about Lc MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

lc-mcp-server

leetcode mcp server written in golang.

LeetCode Cookie Authentication

This utility provides a robust way to extract your LeetCode authentication cookies (LEETCODE_SESSION and csrftoken) for use with scripts, bots, or custom clients. It launches a browser, helps you log in manually, and outputs environment variables you can export and use.

Features

  • Cloudflare-aware: Handles Cloudflare challenges and waits for human verification.
  • Anti-bot evasion: Configures the browser to look less like a bot.
  • Manual login: You log in using the real browser, ensuring security and compatibility.
  • Environment variable export: Outputs export LEETCODE_SESSION="..." and export CSRF_TOKEN="...".
  • Credential caching: Saves credentials for reuse until they expire.
  • Debug output: Shows extracted cookies for troubleshooting.

Usage

  1. Install dependencies:

    go get -u github.com/chromedp/chromedp
    
  2. Run the authentication script:

    go run auth.go
    

    This will launch a Chrome window. Complete any Cloudflare or LeetCode login steps manually.
    When you reach the main LeetCode page, press Enter in the terminal.

  3. Export environment variables:

    You can either pipe and automatically export with:

    eval $(go run auth.go)
    

    Or save to a file and source it:

    go run auth.go > .leetcode.env
    source .leetcode.env
    
  4. Use in your client/server:

    Your environment will now contain:

    • LEETCODE_SESSION
    • CSRF_TOKEN

    Example in Go:

    session := os.Getenv("LEETCODE_SESSION")
    csrf := os.Getenv("CSRF_TOKEN")
    

Troubleshooting

  • Cloudflare not passing: Try waiting longer or ensure you interact with the page (mouse, scroll).
  • Missing cookies: Make sure you have logged in and reached a non-login page.
  • 2FA or Captcha: Complete all verification steps before pressing Enter.
  • Windows users: Ensure chromedp can launch Chrome (you may need to install Chrome).

Security

Your session and csrf tokens are sensitive. Do not share or commit them.
Session cookies expire and may require re-authentication.

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Lc MCP Server

How do I install Lc MCP Server?

Run npx lc-mcp-server, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Lc MCP Server safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lc MCP Server still maintained?

The last commit was a year ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.