portfolio-mcp
Provides tools for reading content and opening pull requests on GitHub repositories for publishing to a personal portfolio site.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
blog-mcp
A remote MCP server for publishing to ashutoshverma.dev from any client that speaks MCP, including a phone.
Six tools move bytes. The model does the writing. The server reads content, serves skills, saves drafts, and opens a pull request. It never merges. The merge button stays with the person who owns the site.
Status: all six tools are built, and publish has opened a real pull request.
On 2026-08-03 a draft became a pull request on the public repo, publishing it twice
left exactly one, and main was never touched.
An idea on a train reaches a Vercel preview URL with no laptop involved. Merging the pull request is still what makes it live.
Architecture
This repo is the server and nothing else. The site and the drafts live in two other GitHub repos. This process never clones either of them. An MCP client calls six tools over HTTP. The server reads and writes through the GitHub API and the site's JSON routes. Content goes live only when a person merges the pull request.
Repo | Holds | What this server may do |
| The public site and published MDX | Open a pull request. Never commit to |
| Drafts, skills, templates, the social-post archive | Read, and commit straight to |
| The server | Run it |
There is no database and no checkout on disk. Every read and write is an HTTP call, so the server cannot drift from what GitHub and the site actually have.
flowchart LR
Client["MCP client"]
Server["blog-mcp\nFly.io"]
Site["ashutoshverma.dev\nJSON routes"]
Workshop["workshop\nprivate GitHub repo"]
Portfolio["portfolio\npublic site repo"]
Vercel["Vercel preview\non the PR"]
Client -->|"HTTPS /{secret}/mcp"| Server
Server -->|"published catalogue + schema"| Site
Server -->|"drafts, skills, templates"| Workshop
Server -->|"branch + pull request"| Portfolio
Portfolio --> VercelHow a request gets in
The process is Bun, TypeScript, and Elysia, on one small Fly.io machine that stops
when idle. The Fly app is ashutoshverma-mcp. The public hostname is
mcp.ashutoshverma.dev. Auth is an unguessable path prefix. There is one user, so
OAuth adds nothing. Clients call the server from their own cloud, which means the
process has to be public.
createApp in src/index.ts exposes three routes:
GET /healthreturns 200 and does no I/O. Fly's liveness probe uses it.GET /{secret}/healthchecks the site, both GitHub repos, andapi/schema.jsonin parallel. Any failure is 503 and names which layer failed.POST /{secret}/mcpis the MCP endpoint. A wrong secret matches no route and looks like any other 404.
The MCP SDK builds a fresh server per request and registers the six tools. Tool arguments are Zod schemas. A bad argument comes back as a tool error the model can read in the same turn.
Layers
The call chain is tools → services → lib. A tool file only talks to the MCP SDK. A
service owns the decision. lib talks to GitHub and the site.
flowchart TB
subgraph tools ["tools/ — MCP only"]
T["registerTool: name, description, Zod input"]
end
subgraph services ["services/ — decisions"]
S["list, read, save, discard, publish"]
end
subgraph lib ["lib/ — I/O"]
G["github.ts — Contents and Pulls API"]
SiteLib["site.ts — live JSON"]
V["validate.ts — schema from the site"]
end
T --> S --> G
S --> SiteLib
S --> VServices take { github, site } as an argument. Tests pass a plain object.
lib/github.ts is fetch plus Zod. The domain word portfolio is the GitHub repo
Portfolio-new, and that mapping lives in one place.
The six tools
Tool | Reads | Writes |
| Published catalogue from the site's JSON, or draft slugs from | Nothing |
| One draft, or one published item via | Nothing |
| A skill and its template from | Nothing |
| An MDX file on | |
| Deletes that draft | |
| The draft, plus | A branch and a pull request on |
A writing is a blog entry at /writing/{slug}. A project is a portfolio page.
A post is a social post and is never rendered by the site. A slug is fixed
once it is published. Changing a published slug needs an explicit revise flag.
Published content is read from the site, not from GitHub. The site's JSON routes
return metadata and the MDX body separately. Drafts are real MDX files in workshop.
What publish does
publish is the only tool that touches the public repo.
Reject a bad slug before it becomes a path or a branch name.
Load the draft from
workshopand check its metadata against the live schema atapi/schema.json. The site owns that schema. This repo does not keep a second copy.Put the file on a branch named for that kind and slug. The code never targets
main.Open a pull request, or update the existing open one. Calling publish twice on the same draft leaves one PR. A closed, unmerged PR can be recreated. A merged one is already live.
The server does not parse MDX. A broken import or a missing component shows up in the
Vercel preview build on that pull request. The token can write file contents, so a
GitHub ruleset on portfolio is what refuses a direct commit to main, together with
the rule in this code that every portfolio write names a branch. Nothing here calls
the merge API.
Related MCP server: hashnode-mcp-server
Read these first
File | What it holds |
The problem, the domain words, what we are not building | |
The full design: six tools, publish gate, idempotency, and everything rejected | |
Why TypeScript on Bun and not Python | |
Agent entry point — an index to the rules | |
The approved dependency menu |
The rejected-alternatives table in mcp-design.md is the most useful page in the repo.
It is cheaper to read than to re-argue.
Stack
Bun · TypeScript strict · Elysia · Zod · Biome · bun:test · the MCP TypeScript SDK.
Reasoning in ADR-001. Its original short
version — that publish has to parse MDX, and MDX only parses in JavaScript — no longer
holds: ADR-005 drops the MDX parse and
leaves the Vercel preview build as the check. The runtime choice stands on the rest of
ADR-001's reasoning.
No database, no accounts, no queue. Auth is an unguessable secret in the URL path — there is exactly one user, which is the one case OAuth adds nothing to.
Build order
Plumbing before anything interesting.
Slice | Ships | State |
0 | Site prep: the five JSON routes, OG images | done — in |
1 | Skeleton, secret path, | done |
2 | Reads: | done |
3 | Cheap writes: | done |
4 |
| next |
5 | Polish: lazy reconciliation, response nudges, client instructions |
Slice 1 is deliberately almost nothing. The riskiest unknown in the plan is whether a custom connector behaves properly in the mobile app, and that cannot be tested locally. Find out with 80 lines, not after six tools exist.
Working in this repo
Feature work follows SPEC-WORKFLOW.md: an accepted ADR, then a sliced spec, then the red-green loop, one slice per PR.
bun install
bun test
bun run docs:sync # regenerates GENERATED blocks; CI fails on driftSETUP.md is install notes for the agent scaffold this repo started from. Safe to delete
once you stop needing them.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Hosted WordPress MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that builds itself by creating new tools as needed based on user requests (Requires restart of Claude Desktop to use newly created tools).425-
- AlicenseAqualityBmaintenanceMCP server for Hashnode GraphQL API to create drafts, publish posts, and manage your blog via Claude.1137 npmMIT
- AlicenseNot gradedqualityCmaintenanceRemote MCP server that exposes a personal git repository of markdown notes to Claude, enabling reading, writing, searching, and running scripts with automatic git commits and GitHub OAuth authentication.MIT
- FlicenseNot gradedqualityDmaintenanceExposes Claude Code's file editing, command execution, and test running capabilities as composable MCP tools for any MCP-compatible host, enabling code operations via a stateless bridge.-