Prototype Kit MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Prototype Kit MCP ServerCreate a prototype for 'register to vote' and plan a journey with 3 questions."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Prototype Kit MCP Server
An MCP server that creates and manages GOV.UK Prototype Kit projects. Agents can scaffold kits, plan and generate multi-page journeys as Nunjucks macros, manage version folders, and run npm run dev — following the embedded AI guidelines in ai-context.md (GOV.UK Design System conventions, content design, and accessibility).
Getting started
Prerequisites
Python 3.12+
Node.js LTS (required for
npx govuk-prototype-kit createandnpm run dev)uv recommended
1. Install the server
git clone <your-repo-url> prototypekit-mcp
cd prototypekit-mcp
make install # creates .venv, installs deps + pre-commit hooks
cp .env.example .envOptional: edit .env and set where prototypes should be created:
PROTOTYPE_ROOT=~/Documents/prototypes
PROTOTYPE_DEFAULT_PORT=3000
ENABLE_AUTH=False2. Run the MCP server
make local # http://localhost:5001Check it is up:
curl http://localhost:5001/healthuv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
cp .env.example .env
prototypekit-mcp3. Connect Cursor
Add this to your Cursor MCP settings (replace paths with your machine):
{
"mcpServers": {
"prototypekit": {
"command": "/Users/YOU/Documents/prototypekit-mcp/.venv/bin/prototypekit-mcp",
"env": {
"ENABLE_AUTH": "False",
"COMPATIBLE_WITH_CURSOR": "True",
"PROTOTYPE_ROOT": "/Users/YOU/Documents/prototypes",
"MCP_HOST": "localhost",
"MCP_PORT": "5001"
}
}
}
}If the server is already running via make local, you can point Cursor at the HTTP endpoint instead: http://localhost:5001/mcp.
Restart Cursor (or reload MCP servers) and confirm the prototypekit tools appear.
4. Create your first prototype
In Cursor chat, ask the agent to use the tools, for example:
Using the prototypekit MCP tools: create a prototype named
juggling-licencefor “Apply for a juggling licence”, plan a journey that asks how many balls you can juggle, generate it as v1, then start it.
The agent should roughly:
get_ai_guidelines— load GOV.UK / ai-context rulescreate_prototype— scaffold the kit underPROTOTYPE_ROOTplan_journey→generate_journey— writeapp/views/v1/pages and routesstart_prototype— openhttp://localhost:3000
Then open the returned URL in a browser. Later iterations: create_version, create_page, add_route.
For a step-by-step page example, see the tutorial.
Related MCP server: jt-mcp-server
MCP tools
Tool | Purpose |
| Return ai-context conventions (full or by section) |
| Scaffold a new Prototype Kit project |
| List projects under |
| Draft structured journey JSON from a description |
| Write versioned Nunjucks pages and Express routes |
| Add one page (start / question / check-answers / …) |
| Append simple or branching POST routes |
| Copy |
| Inventory views and routes |
| Run |
| Stop a tracked process |
| Running status / ports |
Generators emit only Nunjucks macros and govuk-* classes. Unsupported custom UI returns an explicit gap error (ai-context rule 5).
Configuration
Variable | Default | Description |
|
| Server bind address |
|
| Server port |
|
|
|
|
| OAuth (off for local prototyping) |
|
| Where kits are created |
|
| npm dist-tag / version for the kit |
|
| Default |
|
| Logging level |
AI guidelines
The server ships prototypekit_mcp/src/assets/ai-context.md based on HM Land Registry / MoJ GOV.UK Prototype Kit AI context. Every new prototype receives a copy at {prototype}/ai-context.md.
Core rules enforced by generators:
Pages extend
layouts/main.htmlUse Nunjucks macros (
govukButton,govukInput, …)Only GOV.UK classes — no custom CSS
Accessibility via Design System components
Flag gaps when something is not possible with existing components
Documentation
Guide | Description |
System diagrams and tool layout | |
Setup, testing, code quality | |
Container / OpenShift | |
Optional OAuth | |
Add a page via | |
FastMCP and LangGraph clients |
License
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceProvides production-grade starter templates for MCP servers with permission boundaries, integration tests, and eval contracts, enabling rapid development of secure and testable MCP servers.Last updatedApache 2.0
- Alicense-qualityBmaintenanceMCP server that equips AI agents with dev workflow tools including GitHub project management, conventional commits, visual regression testing, Jira/Confluence integration, and a persistent memory knowledge graph.Last updated51MIT
- AlicenseAqualityCmaintenanceGenerates production-ready MCP servers with dual-mode (MCP + CLI) architecture, tests, and documentation. Includes progressive disclosure tools for AI agents and best practices guidance.Last updated7Apache 2.0
- AlicenseBqualityCmaintenancePrototype MCP server enabling coding agents to manage Amigo Agent Forge operations, including org credentials, entity configurations, conversation simulations, and version sets.Last updated3725ISC
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/nmiah1/prototypekit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server