Back to Browse

Mustafa Portfolio MCP Server

Developer ToolsLow Risk9.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Estimate and compare OpenAI, Claude and Gemini API costs, gross margin and break-even price.

About

Estimate and compare OpenAI, Claude and Gemini API costs, gross margin and break-even price.

Security Report

9.0
Low Risk9.0Low Risk

Valid MCP server (2 strong, 2 medium validity signals). 1 code issue detected. 2 known CVEs in dependencies ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 2 finding(s) downgraded by scanner intelligence.

10 files analyzed · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Set to 1 to skip the live rates download and use only the rates bundled with the package.Optional

Environment variable: AI_API_COST_MCP_OFFLINE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "ai-api-cost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ai-api-cost-mcp"
      ],
      "env": {
        "AI_API_COST_MCP_OFFLINE": "your-ai-api-cost-mcp-offline-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

AI SaaS with Mustafa

Source of aisaaswithmustafa.com, the portfolio, blog and free tools of Muhammad Mustafa, a full-stack SaaS and AI developer.

  • 50+ pages, 35 blog posts and 5 free browser tools
  • Hand-written HTML rendered through Astro for a shared header and footer
  • Tailwind CSS compiled ahead of time, vanilla JavaScript, no client-side framework
  • Hosted on Netlify with serverless functions and two small build plugins

How this site is built

The site started as plain HTML files. In November 2026 it moved to Astro without changing a single URL or a word of page content.

  1. Pages stay as HTML at their public paths (index.html, pricing.html, blog/*.html, tools/*.html). Each page has two markers where its header and footer used to be: and.
  2. Astro renders every page into dist/ at the same URL. LegacyPage.astro swaps the markers for SiteHeader.astro and SiteFooter.astro, so the navigation and footer are edited in one place.
  3. .html URLs are kept with build.format: "preserve" in astro.config.mjs: pricing.html stays pricing.html, and blog/index.html stays blog/index.html.
  4. src/lib/legacy.mjs sets the active nav link, adds a content hash (?v=) to every local CSS and JS file so browsers never keep a stale stylesheet, and switches robots to noindex on every Netlify deploy that is not production.
  5. Static files (images, feed, sitemap, redirects) are copied into dist/ by src/lib/copy-static.mjs.

Parity check

scripts/parity-check.js compares every page of a git ref (production by default) with the new build. It checks titles, meta tags, canonical URLs, JSON-LD, headings, body text, links, images, static files, sitemap URLs and every local link or asset reference. The migration went live only when it reported zero differences.

npm run build
npm run parity            # compare dist/ with main
npm run parity -- <ref>   # or with any git ref

Commands

CommandWhat it does
npm installInstall dependencies (Node 22.12 or newer)
npm run buildBuild the site into dist/
npm run previewServe dist/ locally
npm run build:cssRecompile assets/css/tailwind.css after changing Tailwind classes
npm run validate:site-seoBuild, then check titles, descriptions, headings, schema, images, links and sitemap entries
npm run validate:blog-seoCheck every blog post's SEO structure
npm run parityCompare the build with production page by page

Project structure

index.html, pricing.html, ...   Pages (HTML with header/footer markers)
blog/                           Blog posts, posts.json manifest, RSS feed, images
tools/                          Free browser tools
src/components/                 Shared SiteHeader, SiteFooter and the page renderer
src/lib/                        Page loading, asset hashing, static file copying
assets/                         CSS, JavaScript, images and documents
scripts/                        Blog pipeline, validators, parity check, SEO helpers
netlify/functions/              Serverless functions (site assistant, IndexNow relay, scheduled social posts)
netlify/plugins/                Post-deploy plugins (IndexNow, LinkedIn)

Blog pipeline

New posts are rendered from blog/_template.html by scripts/new-post.js. The script updates the blog/posts.json manifest and regenerates the blog index, the homepage blog section, the sitemap and the RSS feed from it. After a production deploy, a build plugin notifies IndexNow (Bing and other engines) about changed pages only.

Free tools

Deploying

Netlify runs npm run build and publishes dist/ (see netlify.toml). Pushes to main go to production. Preview branches get their own noindexed Netlify URL.


Need a SaaS, AI or web project built? See services and pricing or get in touch.

All content, images and branding © 2026 Muhammad Mustafa.

Reviews

No reviews yet

Be the first to review this server!