Portfolio MCP Server
An MCP server that turns my AI project portfolio into something you can query, not just read.
Point any MCP client (Claude Desktop, Cursor, custom agents) at it and ask "What has Ayush built with LangGraph?" or "What's his flagship project?" — it answers from structured data, not a static PDF.
TL;DR
- 📦 Published, not just built — live on PyPI and the official MCP registry;
pip install portfolio-mcp-servergets it running in any MCP client in under a minute, no repo clone required. - 🔧 5 real tools — list, detail-lookup, stack search, flagship pick, and resume summary, all backed by structured data instead of a static README scroll.
- ✅ CI-tested on every push — lint, type-check, and a real stdio smoke test that calls all 5 tools and validates the JSON schema of each response.
Table of contents
- Why this exists
- Demo
- Tools exposed
- Quickstart
- Connect to Claude Desktop
- Stack
- Testing & CI
- Project structure
- Known limitations
- Roadmap
- License
- Author
Why this exists
Most AI-developer portfolios are a list of links. This is a working MCP server — the same protocol agentic products use to connect to tools — built around my own portfolio. It's both a real implementation of the spec and an answer to "show me you've actually built with MCP," not just talked about it.
Demo
| MCP Inspector — tool discovery | Live chat demo |
|---|---|
![]() | ![]() |
https://github.com/user-attachments/assets/4c1b844a-087f-48a6-b156-bdef27282acc
Setup → tool calls → live answers, end to end.
Tools exposed
| Tool | Description |
|---|---|
list_projects | Short summary of every project in the bundled dataset |
get_project_details(project_name) | Full details for one project |
search_projects_by_stack(technology) | Find projects using a given technology |
get_flagship_project | The single best project to look at first |
get_resume_summary | Background, target role, and core stack |
Quickstart
Option A — install from PyPI (fastest):
pip install portfolio-mcp-server
Option B — clone and run from source (for local edits/testing):
git clone https://github.com/ayush-s-tomar/portfolio-mcp-server.git
cd portfolio-mcp-server
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
Test it interactively with the MCP Inspector before wiring it into a client:
mcp dev server.py
This opens a browser UI where you can call each tool manually and inspect raw request/response payloads.
Connect to Claude Desktop
Open your Claude Desktop config file:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
If the file already has an mcpServers key with other servers in it, add
the "portfolio" entry inside the existing object rather than overwriting
the file.
If you installed via PyPI (Option A above):
{
"mcpServers": {
"portfolio": {
"command": "portfolio-mcp-server"
}
}
}
If you're running from a cloned source checkout (Option B above): use the absolute path to server.py on your machine:
{
"mcpServers": {
"portfolio": {
"command": "python",
"args": ["/absolute/path/to/portfolio-mcp-server/server.py"]
}
}
}
Restart Claude Desktop, then ask it something like:
"What projects has Ayush built with FastAPI?"
Claude will call search_projects_by_stack and answer from the bundled project data.
Stack
- Python 3.10+
- MCP Python SDK (
FastMCP) - stdio transport
- Packaged for PyPI and registered on the official MCP server registry (
io.github.ayush-s-tomar/portfolio-mcp-server)
Testing & CI
Every push and pull request runs through GitHub Actions:
- Lint —
ruff check . - Type check —
mypy server.py - Smoke test — spins up the server and calls each of the 5 tools over stdio to confirm they return valid, schema-matching JSON
See .github/workflows/ci.yml. Run the same
checks locally before opening a PR:
pip install -r requirements-dev.txt
ruff check .
mypy server.py
pytest
Project structure
portfolio-mcp-server/
├── server.py # FastMCP server + tool definitions
├── data/
│ └── projects.json # Project data the tools read from
├── tests/
│ └── test_tools.py # Smoke tests for each tool
├── requirements.txt
├── requirements-dev.txt
├── pyproject.toml # PyPI packaging config
├── server.json # MCP registry manifest
└── .github/workflows/ci.yml
Known limitations
- The installed package is a snapshot.
pip installgets the portfolio as it was at that release (v1.0.1, published 2026-07-21, at the time of writing). Projects added and demo links changed since then don't appear until a new version is published, and tool responses can't yet say how current they are. - Static project data — tools read from
data/projects.json, so adding or updating a project means editing that file and republishing, not a live sync with the actual GitHub repos or portfolio site (see Roadmap — a refresh endpoint isn't built yet). - stdio transport only — works great for local MCP clients like Claude Desktop that can spawn the process directly, but there's no HTTP/SSE option yet for a client that needs to reach it remotely over the network.
search_projects_by_stackmatches one technology at a time — asking for projects using both LangGraph and FastAPI together isn't supported yet; each call filters on a single technology.
Roadmap
- Publish a refreshed release with the current project list and verified demo links
- Fetch project data from the portfolio site at startup, with the bundled snapshot as an offline fallback — one source of truth instead of two copies that drift apart, and it makes "live data" literally true
- Return a
last_updateddate from every tool so an answer can say how current it is - Link-check every demo URL in the dataset in CI
- Publish to PyPI as an installable package
- Publish to the official MCP server registry
-
search_projects_by_stack— support matching on multiple technologies at once - Add an HTTP/SSE transport option alongside stdio for remote clients
- Cache resume/project data with a lightweight refresh endpoint instead of static JSON
License
Released under the MIT License.
Author
Ayush Singh Tomar — GitHub · LinkedIn · Portfolio
If this was useful as a reference for building your own MCP server, a ⭐ on the repo is appreciated.
mcp-name: io.github.ayush-s-tomar/portfolio-mcp-server

