NEURA MCP Server
Read-only MCP server for NEURA's AI news platform, enabling clients to list, search, and retrieve published articles in English and Italian.
README
NEURA
An English-first, internationalized AI news platform built with Next.js, Supabase, and the Model Context Protocol (MCP). NEURA ships with a zero-configuration in-memory demo, so the complete public experience can run before any external service is configured.
What ships
- English-first routes with Italian content parity:
/enand/it. - Editorial home, infinite latest/category/search feeds, article pages, localized RSS, newsletter capture, and social share intents.
- Supabase Postgres schema with full-text search, row-level security, editorial roles, publication state, translations, newsletter subscriptions, and social distribution state.
- Public, stateless, read-only MCP server over Streamable HTTP at
/api/mcp. - Hexagonal boundaries: domain and application code do not depend on Next.js or Supabase.
- Server Components, route-level caching, optimized images, self-hosted fonts, and a token-driven design system.
- Vercel configuration and GitHub Actions quality gate.
Stack
- Next.js 16.3 and React 19.2
- TypeScript 5
- Supabase Postgres, Auth, and SSR client
- MCP TypeScript SDK
- Vitest and ESLint
@google/design.mdCLI 0.4
Run locally
Node.js 24 is used in CI and on Vercel. No environment variables are required for the public demo or for demo Studio during local development.
npm ci
npm run dev
Open http://localhost:3000. The root redirects permanently to /en; use /it for Italian. Demo data lives in memory and resets when the process restarts.
To make local settings explicit:
cp .env.example .env.local
Leave both Supabase variables empty for the public memory fallback. Local development also enables the ephemeral demo Studio. Production Studio fails closed without Supabase unless NEURA_ENABLE_DEMO_STUDIO=true is set explicitly for an intentional, disposable review deployment.
Quality gate
npm run check
The gate runs design-system validation, lint, TypeScript, tests, and the production build. GitHub Actions runs the same checks from a clean npm ci install.
MCP quick check
Discovery metadata:
curl http://localhost:3000/api/mcp/info
Read the latest English articles:
curl --request POST http://localhost:3000/api/mcp \
--header 'Content-Type: application/json' \
--header 'Accept: application/json, text/event-stream' \
--header 'MCP-Protocol-Version: 2025-11-25' \
--data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_articles","arguments":{"locale":"en","limit":3}}}'
See MCP.md for initialization, tools, pagination, CORS, and production client configuration.
Production setup
- Reproduce the database locally with the committed Supabase configuration, migration, and seed.
- Create separate Supabase projects for Preview/Staging and Production.
- Dry-run and apply the migration; do not automatically seed production.
- Bootstrap the first Auth editor through the Supabase Dashboard and a bounded SQL grant.
- Import this repository into Vercel, set the documented environment variables, and deploy.
- Run the HTTP, localization, Supabase, newsletter, and MCP smoke checks.
Full instructions: DEPLOYMENT.md.
Documentation
- Architecture and boundaries
- Deployment and environment setup
- Internationalization and content model
- MCP server and client usage
- Operations, performance budgets, troubleshooting, and rollback
- Independent optimization report
- Design system source
Security model
- The application uses only the public Supabase URL and anon/publishable key. Never add a service-role key to this project or to a
NEXT_PUBLIC_*variable. - Supabase RLS is the authorization boundary. Proxy and UI checks are convenience layers, not authorization.
- Anonymous users can read only published content and call the constrained, idempotent newsletter subscription RPC; direct table inserts are denied.
- Only authenticated users mapped to an
editororadminprofile can mutate editorial data. - The MCP surface is intentionally read-only and exposes only published content.
Repository map
src/app/ Next.js delivery adapter
src/components/ UI components
src/i18n/ locale contract and message catalogs
src/modules/editorial/domain/ entities, invariants, and ports
src/modules/editorial/application/ use cases and cached queries
src/modules/editorial/infrastructure/ memory and Supabase adapters
src/modules/mcp/ public MCP delivery adapter
supabase/migrations/ versioned database schema and RLS
supabase/seed.sql deterministic development content
The canonical architecture description is ARCHITECTURE.md.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.