JN Engine Contributor MCP
A read-only MCP gateway for contributors to JN Engine, exposing immutable repository snapshots via REST and Streamable HTTP for ChatGPT, Claude, and coding agents.
README
JN Engine Contributor MCP
A bounded REST and Streamable HTTP MCP gateway for contributors working on JN Engine. It exposes a reviewed, immutable repository snapshot to ChatGPT, Claude, MCP-compatible coding agents, and ordinary HTTP clients without giving those clients shell or Git access to the host.
This is the public, contributor-safe distribution. It contains the complete service, tests, snapshot exporters, Docker configuration, and example deployment files. It does not contain production credentials, personal paths, private hostnames, audit records, incident reports, or mutable operator data.
What It Provides
The engine profile exposes nine tools:
searchandfetchfor commit-bound source and documentation retrieval;list_tasksandproject_contextfor bounded project orientation;claim_taskandrelease_taskfor audited, expiring task ownership;lookup_symbolfor recovered symbol/address lookup; andcheck_statusfor fail-closedcoreandassetsGitHub Actions status;open_prfor a narrowly constrained contributor pull-request path.
An optional source profile exposes this repository itself through search, fetch,
and repository_context. That profile lets a web or app-based agent inspect the MCP
implementation even when the platform's account-level GitHub integration is not
available as a callable chat tool.
Both profiles use immutable snapshots. Search IDs include the active commit and become invalid after a snapshot refresh, so clients must search again rather than silently mixing content from different revisions.
Why Sanitization Does Not Reduce Contributor Value
The useful parts are present: application behavior, interfaces, tests, fixture data, dependency locks, container boundaries, deployment examples, and contribution rules. Only environment-specific material was excluded. Contributors can:
- run all unit and integration tests;
- build and inspect the container;
- create snapshots from the public JN Engine repository;
- exercise either MCP profile locally without authentication;
- configure their own GitHub OAuth deployment;
- develop new bounded tools and submit pull requests; and
- use the source profile to ground ChatGPT or Claude in this implementation.
See Intended Usage for contributor and operator workflows, and Public Repository Boundary for the exact public/private split.
Quick Start
Requirements: Python 3.11 through 3.13, Git, and ripgrep.
python3 -m venv .venv
.venv/bin/python -m pip install --constraint requirements.lock -e '.[test]'
Build a local immutable snapshot of JN Engine:
JN_REPO_MIRROR_PATH="$PWD/.local/jn-engine.git" \
JN_SNAPSHOT_ROOT="$PWD/.local/snapshots" \
deploy/refresh_snapshot.sh --build-only
The command prints the promoted snapshot path. Start a loopback-only development server with that path:
APP_ENV=development \
AUTH_MODE=authless_local \
API_HOST=127.0.0.1 \
JN_SNAPSHOT_PATH="$PWD/.local/snapshots/<commit>" \
.venv/bin/python -m app.run
Connect an MCP client to http://127.0.0.1:8788/mcp. Authless mode is deliberately
restricted to a loopback listener and is not a production configuration.
Verification
CI constructs its own immutable JN Engine fixture before running the suite. Locally,
set JN_TEST_SNAPSHOT_PATH to the snapshot created above:
JN_TEST_SNAPSHOT_PATH="$PWD/.local/snapshots/<commit>" \
.venv/bin/python -m pytest -q
Production GitHub OAuth configuration and secret-file permissions are documented in Deployment. MCP contracts are in MCP Surface.
Security Properties
- Repository identity and ref are code-owned and cannot be redirected by environment variables.
- Snapshot files are inventory checked, contained, non-symlink, regular, bounded, and read-only in production.
- OAuth state is encrypted before being stored in a mode-0700 file-tree directory.
- Secret values are accepted through mode-0600 files, not command-line arguments or URLs.
- Expiring task ownership uses a dedicated versioned mode-0600 ledger, separate from the rotatable status/PR audit log.
- Write actions require the authenticated engine profile and a dedicated PR token; shell actions always fail startup when enabled.
- The container runs non-root with a read-only root filesystem, no capabilities, no Docker socket, and no Git executable.
Report vulnerabilities privately as described in SECURITY.md.
License
Licensed under the MIT License. See LICENSE.
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.
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.
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.
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.
E2B
Using MCP to run code via e2b.
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.