Back to Projects
ai
2026

Portfolio MCP Server

@amitshrivastava/portfolio-mcp is a real working MCP server (Claude Desktop, Cursor, Cline, …) that lets any AI agent search and read my blog posts via the Model Context Protocol. ~250 lines of TypeScript on top of @modelcontextprotocol/sdk, stdio transport, JSON-RPC 2.0. Exposes every published blog post as a `portfolio://blog/<slug>` resource, a `search_blog` tool with keyword matching, a `list_blog` tool, and a `discuss-amits-thinking-on` prompt that orchestrates search-then-summarize. It's the companion to the MCP Inspector demo in AI Labs — that demo shows what MCP looks like on the wire; this is the server that produces that traffic.

Portfolio MCP Server
Technologies

Frontend

Backend

TypeScript
@modelcontextprotocol/sdk
Node.js

Database

Tools

gray-matter
stdio transport
JSON-RPC 2.0
Challenges
  • Exposing portfolio content to any AI client via a single open protocol, not custom APIs per client
  • Keeping the server lean and shippable — no embedding model, no database, no runtime config
  • Making it actually useful in real AI clients with minimal install friction
Solutions
  • Implements the official MCP TypeScript SDK with stdio transport and JSON-RPC 2.0
  • Reads blog markdown at startup and ranks results with simple keyword matching — no database needed
  • Single config block for Claude Desktop; runs via `node dist/index.js` after a one-time npm install + build
Key Outcomes & Impact

Installable MCP server that any compatible AI client can use today

30+ blog posts exposed as MCP resources, plus tools and prompts

Demonstrates protocol-level AI integration, not just consuming someone else's API

Other Projects

JobJam.io — AI Job Search & Application Platform
JobJam.io — AI Job Search & Application Platform

AI-powered job search platform: discover roles, evaluate fit, tailor applications, and close skill gaps. One-time pricing, no subscriptions.

View Project
Ask Amit + AI Labs — AI-Native Portfolio
Ask Amit + AI Labs — AI-Native Portfolio

Browser-side RAG assistant, semantic ⌘K search, and four interactive AI demos — all running live on this portfolio.

View Project