ChampCity GPT MCP Launcher
ChatGPT-compatible MCP server and Electron launcher for controlled local project-file access, providing read-only and approval-gated write tools over STDIO or HTTP with optional OAuth and HTTPS tunneling.
README
ChampCity GPT MCP Launcher
ChampCity GPT MCP Launcher is a pre-release ChatGPT-compatible MCP server and Electron launcher for controlled local project-file access. It can expose read-only and approval-gated write tools over local STDIO or local HTTP, with optional OAuth and HTTPS tunneling for ChatGPT.com-compatible MCP connectors.
Current maturity: v0.1.0, pre-release/private-tooling quality. Review the code and security model before using it with sensitive repositories.
License: not yet selected. See docs/LICENSE_DECISION_NEEDED.md.
What It Does
- Lists, reads, and searches files inside configured allowed roots.
- Reports git status and git diffs for allowed git worktrees.
- Supports write modes:
off,docs,patch, andelevated. - Provides an Electron launcher for local setup, status checks, OAuth administration, and client config generation.
- Supports local STDIO MCP for trusted local clients.
- Supports local Streamable HTTP MCP on
127.0.0.1. - Supports OAuth metadata, Dynamic Client Registration, PKCE, access tokens, refresh token rotation, and scopes for ChatGPT.com-compatible public HTTPS endpoints.
- Includes optional Cloudflare Tunnel docs and examples.
What It Does Not Do
- It does not make hosted ChatGPT local-only; file contents returned by tools can enter the model/tool context.
- It does not safely expose arbitrary folders. You must configure narrow allowed roots.
- It does not require Cloudflare or any specific domain.
https://mcp.example.com/mcpis only a placeholder. - It does not enable writes by default.
- It does not replace human review. Review generated patches and git diffs before committing.
Security Model
Filesystem access is limited to configured allowed roots. Use project-level roots such as:
C:\Users\<you>\Projects\<project>
Avoid broad roots such as C:\, C:\Users\<you>, home directories, cloud sync roots, browser profile folders, SSH folders, and credential stores.
HTTP mode should bind to 127.0.0.1 by default. ChatGPT.com compatibility requires an HTTPS-reachable endpoint with OAuth and Dynamic Client Registration. For public use, set:
CHAMPCITY_GPT_PUBLIC_BASE_URL=https://mcp.example.com
OAuth scopes:
files.read: list/read/search files, git status/diff, write-access status, and tool discovery.files.write: propose patches, write Markdown artifacts, apply approved patches, and run allowlisted scripts, still gated by local write mode.
Never expose unauthenticated HTTP mode through a tunnel.
Write Modes
off: default. Blocks write tools.docs: allows Markdown artifact writes for planning or notes.patch: allows proposed patch workflows and approved patch application.elevated: allows rare allowlisted script/elevated operations with a local approval token.
Set the mode with:
$env:CHAMPCITY_GPT_WRITE_MODE='off'
Local Configuration
On first launch, the Electron app opens a setup wizard where each user chooses allowed roots, local-only or public endpoint mode, OAuth admin password, optional Cloudflare guidance, and write mode. Write mode defaults to off, and the OAuth admin password is stored only as a local hash.
For source development, you can still copy example config files and create repo-local versions as needed:
Copy-Item config\allowed-roots.example.json config\allowed-roots.local.json
Copy-Item config\write-access.example.json config\write-access.local.json
Local files matching config/*.local.json are ignored by git. Do not commit OAuth stores, auth tokens, local paths, tunnel credentials, logs, generated configs, release outputs, or .env files.
Useful examples:
- config/allowed-roots.example.json
- config/write-access.example.json
- config/http-auth.example.json
- config/oauth.example.json
- examples/cloudflared-config.example.yml
- examples/mcp-client-config.example.json
Development
Requirements:
- Node.js
>=20.10.0 - npm
Install, build, and test:
npm install
npm run build
npm test
npm run typecheck
npm run lint
Public clone/build flow:
git clone https://github.com/<owner>/<repo>.git
cd <repo>
npm install
npm run build
npm test
npm run app:dist
Run the local MCP server after building:
node dist\src\index.js
Run the Electron app:
npm run app:dev
Package the Electron app:
npm run app:dist
Release binaries belong in GitHub Releases, not in the repository.
Runtime Paths
Development mode uses the source checkout and can use repo-local config/*.local.json for development.
Installed mode stores runtime-local files under Electron userData:
configlogsgenerated
Portable mode activates when a data folder exists next to the executable:
<exeDir>\data\config<exeDir>\data\logs<exeDir>\data\generated
The app status panel shows runtime mode, config directory, logs directory, generated directory, and bundled server resource path.
ChatGPT-Compatible HTTPS Endpoint
For ChatGPT.com-compatible MCP registration, use an HTTPS endpoint like:
https://mcp.example.com/mcp
The server exposes OAuth metadata under:
https://mcp.example.com/.well-known/oauth-protected-resource
https://mcp.example.com/.well-known/oauth-authorization-server
https://mcp.example.com/oauth/register
https://mcp.example.com/oauth/authorize
https://mcp.example.com/oauth/token
Cloudflare Tunnel is optional. Any equivalent HTTPS reverse tunnel can work if OAuth remains enabled and the local service is still bound narrowly.
Publication Safety
Before publishing, run the release and publication checklists:
Do not publish until the license, GitHub owner/repo, and release-binary policy are decided.
Final local checks:
npm run check:public
npm run app:dist
npm run check:release
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。