Skip to main content
Glama
CaffNoir59

codex-seo

by CaffNoir59

Codex SEO

npm version npm downloads license CI Node.js

Codex SEO also ships a local project ecosystem: an idempotent initializer, stdio MCP server, local Git safety workflow, managed previews, controlled deployment adapters, and the generic seo-maintainer Codex plugin skill.

Ecosystem Quick Start

cd my-project
npx codex-seo init --yes

Then ask Codex: "Audit this project and fix the most important SEO issues." See Local ecosystem, MCP, Git, preview, deployment, and security for the complete installation and operations guide.

Native Codex SEO CLI and Agent Skills for technical SEO audits, sitewide crawling, performance, Google Search Console, baselines, diffs, historical trends, and CI quality gates.

Related MCP server: Remote MCP Server – Professional SEO Checker

Features

  • Page and sitewide SEO audits with JSON, HTML, and PDF reports.

  • Baselines, diffs, quality gates, and historical trend analysis.

  • Lighthouse, Playwright fallback, PageSpeed Insights, CrUX, GSC, and URL Inspection support.

  • CI exports: JSON, Markdown, GitHub annotations, and JUnit.

  • Codex Agent Skills for setup, audits, CI, migrations, and release checks.

Installation

npm install -D codex-seo
npx codex-seo --version

Global install:

npm install -g codex-seo
codex-seo doctor

Quick Start

npx codex-seo init --minimal
npx codex-seo audit https://example.com --crawl
npx codex-seo doctor

For performance/PDF support:

npx playwright install chromium

Examples

npx codex-seo audit https://example.com --crawl --performance
npx codex-seo audit https://example.com --crawl --gsc --gsc-property sc-domain:example.com
npx codex-seo diff previous.json current.json --fail-on-regression
npx codex-seo history trend --last 12
npx codex-seo history export-ci --format junit

npm run audit -- https://example.com --crawl remains supported for repository development. For normal use, prefer npx codex-seo ...; npm 11 may print its own Unknown env config warnings for flags passed after npm run.

Configuration

Create codex-seo.config.json with codex-seo init. Validate with:

npx codex-seo validate --config codex-seo.config.json
npx codex-seo validate --fix

See docs/configuration.md and examples/config/.

Local/private network audits are blocked by default as SSRF protection. To audit an explicit development target, opt in deliberately:

node dist/cli/index.js audit http://127.0.0.1:3000 --allow-private-network --crawl

--allow-localhost is an alias. The opt-in keeps protocol, credential, and redirect validation active while allowing localhost, loopback, and private network addresses for the audited run.

Crawler

The crawler respects robots by default, normalizes URLs, limits depth/pages/concurrency, expands sitemaps, and avoids common crawl traps.

Performance

Local Lighthouse is preferred; Playwright fallback is clearly labeled. PageSpeed and CrUX are optional remote adapters. See docs/performance.md.

Google Search Console

GSC is optional and never serializes credentials. Store secrets in environment variables or GitHub Secrets. See docs/gsc.md.

Baseline And Diff

Use named baselines for release comparisons and diff for report-to-report gates. See docs/baselines-and-diff.md.

History uses schema 1.0.0 with checksummed HistoryEntry files. Trend reports include deterministic statistics, confidence, recurrent regressions, release comparisons, and environment comparisons.

Quality Gates

Exit codes: 0 success, 1 runtime/config/file error, 2 quality gate failure, 3 strict compatibility failure.

GitHub Actions

Use .github/workflows/codex-seo.yml, examples/github-actions/, or .github/actions/codex-seo/action.yml. See docs/github-actions.md.

Privacy And Security

No automatic telemetry. Redaction covers bearer tokens, API keys, private keys, client secrets, URL credentials, and sensitive query parameters. See SECURITY.md and docs/privacy-and-security.md.

Report Formats

Reports are deterministic JSON plus autonomous HTML/PDF. CI exports support JSON, Markdown, GitHub workflow commands, and JUnit XML.

Troubleshooting

Run npx codex-seo doctor --json. Missing Chromium is fixed with npx playwright install chromium.

Limitations

Release impact remains observational without deployment metadata. Optional remote adapters depend on provider availability and quotas.

Architecture

See docs/architecture.md.

Contribution

See CONTRIBUTING.md.

License

MIT.

Codex project workflow (1.1.1)

Install and initialize once:

npm install --save-dev codex-seo
npx codex-seo init --yes

The project-scoped MCP then provides configured quick/standard/full audits, controlled Git edits, validation, preview, Lighthouse/GSC integration, persistent workflow state, release staging, SSH/SFTP deployment, health checks, production regression evaluation, and rollback. Production activation requires explicit confirmation by default.

Configure a generic remote target without storing secrets:

npx codex-seo configure deployment --provider ssh --host-env DEPLOY_HOST --user-env DEPLOY_USER --path-env DEPLOY_PATH --artifact-path dist --auth agent

Strict host verification requires a SHA256 fingerprint or ignored known_hosts file. See docs/ssh-sftp.md and docs/hostinger.md. Diagnose with npx codex-seo plugin doctor and update managed project plugin files non-destructively with npx codex-seo plugin update.

In Codex, ask: "Analyze this project, correct important SEO problems, validate the changes, and prepare deployment."

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A stdio-based server that enables interaction with the DataForSEO API through the Model Context Protocol, allowing users to fetch SEO data including search results, keywords data, backlinks, on-page analysis, and more.
    9
    7
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Open-source technical SEO crawler MCP server built on LibreCrawl. Runs full audits inside Claude, Cursor, or Codex — 50+ checks (hreflang, schema.org, security headers, WAF detection on 200-OK pages), chunked-progressive engine for large sites, ephemeral by design (server forgets every audit after download).
    34
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to perform comprehensive SEO audits on web pages, including meta tags, headings, links, images, performance, and more, via a CLI or MCP server.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.

  • MCP server for Google search results via SERP API

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

View all MCP Connectors

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/CaffNoir59/codex-seo'

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