Skip to main content
Glama
ForkPoint

Agent Lighthouse MCP Server

by ForkPoint

Agent Lighthouse generated report preview


⚔ Quickstart

Run a zero-install scan directly in your terminal. The --view flag opens the standalone HTML report for screenshots, stakeholder review, and pull-request artifacts.

# Instant audit (prints terminal report & generates HTML + JSON reports)
npx @forkpoint/agent-lighthouse https://yourstore.com

# Open the standalone HTML report in your browser
npx @forkpoint/agent-lighthouse https://yourstore.com --view

# Run in CI and fail if score is below threshold
npx @forkpoint/agent-lighthouse https://staging.yourstore.com --min-score 85

Agent Lighthouse checks 215 audits covering llms.txt, robots.txt crawler policy, Schema.org, OpenAPI discovery, WebMCP action surfaces, AEO/GEO content structure, agentic commerce, and operability.


šŸŽÆ What Agent Lighthouse Checks

Agent Lighthouse evaluates websites across 8 agent-journey categories grouped into 3 readiness pillars:

ā”œā”€ā”€ 1. Agentic Readiness
│   ā”œā”€ā”€ Access & Crawl Control (robots.txt rules for GPTBot, ClaudeBot, PerplexityBot, blocks, status codes)
│   ā”œā”€ā”€ Machine Discovery (llms.txt, llms-full.txt, sitemaps, feeds, .well-known surfaces)
│   ā”œā”€ā”€ Agent Interfaces (WebMCP manifests, OpenAPI specs, agents.json, search actions)
│   └── Agentic Commerce (product offers, availability, checkout and payment surfaces)
│
ā”œā”€ā”€ 2. AI Search Optimization
│   ā”œā”€ā”€ Content Extraction (clean main content, semantic structure, render and response cost)
│   ā”œā”€ā”€ Structured Data (Schema.org Product, Offer, SKU, GTIN, Organization, JSON-LD validity)
│   └── Answer Readiness (direct answerability, step lists, tables, unique data, citations)
│
└── 3. Technical Foundation
    └── Agent Operability & Safety (HTTPS, security.txt, tdmrep, stability, broken agent endpoints)

šŸ“¦ Packages & Architecture

This repository is organized as a lightweight pnpm monorepo published under the @forkpoint scope:

Package

npm Package

Description

packages/cli

@forkpoint/agent-lighthouse

Main CLI binary (npx @forkpoint/agent-lighthouse <url>).

packages/core

@forkpoint/agent-lighthouse-core

Core gatherer-audit engine, scoring algorithms, and types.

packages/report

@forkpoint/agent-lighthouse-report

Standalone HTML, Markdown, and unified report view-model.

packages/mcp

@forkpoint/agent-lighthouse-mcp

Model Context Protocol (MCP) server for Claude / Cursor / IDEs.


šŸ›”ļø GitHub Actions CI

Use Agent Lighthouse as a pull-request gate for agentic readiness regressions:

name: Agent Lighthouse

on:
  pull_request:
    branches: [main]

jobs:
  agent-lighthouse:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: ForkPoint/agent-lighthouse@main
        with:
          url: https://staging.yourstore.com
          preset: ecommerce
          min-score: "85"
          github-token: ${{ secrets.GITHUB_TOKEN }}

The action generates terminal, HTML, JSON, and Markdown reports. Set comment-on-pr: true with github-token to post the Markdown summary on pull requests. See the marketplace setup guide for release-ready examples.


šŸ’» Programmatic Node.js / TypeScript SDK

import { runScan } from "@forkpoint/agent-lighthouse-core";
import {
  buildReportView,
  generateHtmlReport,
} from "@forkpoint/agent-lighthouse-report";

const report = await runScan("https://example.com");
const view = buildReportView(report);

console.log(`Overall Score: ${view.overallScore}/100 (${view.scoreTier})`);

// Generate standalone HTML report
const html = generateHtmlReport(report);

šŸ¤– Model Context Protocol (MCP) Server

Add Agent Lighthouse to your Claude Desktop or Cursor IDE to let AI coding agents audit live staging URLs:

{
  "mcpServers": {
    "agent-lighthouse": {
      "command": "npx",
      "args": ["-y", "@forkpoint/agent-lighthouse-mcp"]
    }
  }
}

šŸ“£ Share Your Score

Generated reports are standalone files, so teams can attach them to pull requests, send them to clients, or publish before/after improvements.

[![Agent Lighthouse](https://img.shields.io/badge/Agent%20Lighthouse-ready-4f46e5)](https://github.com/ForkPoint/agent-lighthouse)

If you run Agent Lighthouse on a public site, share the result through the site score template. Good examples help other developers learn what agent-ready sites look like.

More material lives in:


šŸ› ļø Development

# Clone the repository
git clone https://github.com/ForkPoint/agent-lighthouse.git
cd agent-lighthouse

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run unit tests
pnpm test

šŸ“„ License

Apache-2.0 Ā© ForkPoint

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ForkPoint/agent-lighthouse'

If you have feedback or need assistance with the MCP directory API, please join our Discord server