
parallax-labs/context-harness 是从 https://github.com/parallax-labs/context-harness. 导入的 MCP 服务器候选
概览
parallax-labs/context-harness 是从 https://github.com/parallax-labs/context-harness. 导入的 MCP 服务器候选
概述(AI 翻译)
** 为 AI 工具提供本地优先的知识和代理运行时。**
由Parallax实验室制作
** 📖 文档与指南** ·试试演示
Context Harness将项目知识转化为AI实际可用的基础设施。它 将文件、Git 仓库、S3 和自定义源汇入可检查的本地文件中 SQLite 索引,然后给你两条执行路径:可重用配置文件,适用于以下客户端 如Cursor和Claude,或用带瞄准镜的工具管理本地代理人,执行持久任务, 类型化结果、检查点和保守恢复。
特色
- 连接器驱动的采集 — 插入任意源代码(文件系统、Git 仓库、S3 桶、Lua 脚本)
- 多格式文件支持 — 纯文本(例如Markdown、
.txt)加上PDF、Word(.docx)、PowerPoint(.pptx)和Excel(.xlsx),并在[[T4]中加入这些扩展名时自动提取文本] - 扩展注册库 — 安装来自Git支持仓库的社区连接器、工具和配置文件
- 本地优先存储 — SQLite 配合 FTS5 进行关键词搜索
- 嵌入流水线 — 本地(fastembed或tract)、Ollama和OpenAI嵌入,支持自动批处理、重试和陈旧检测
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Context Harness
A local-first knowledge and agent runtime for AI tools.
📖 Documentation & guides · Try the demo
Context Harness turns project knowledge into infrastructure AI can actually use. It ingests files, Git repositories, S3, and custom sources into an inspectable local SQLite index, then gives you two execution paths: reusable profiles for clients such as Cursor and Claude, or governed local agents with scoped tools, durable tasks, typed outcomes, checkpoints, and conservative recovery.
Features
- Connector-driven ingestion — plug in any source (filesystem, Git repos, S3 buckets, Lua scripts)
- Multi-format file support — plain text (e.g. Markdown,
.txt) plus PDF, Word (.docx), PowerPoint (.pptx), and Excel (.xlsx) with automatic text extraction when you include those extensions ininclude_globs - Extension registries — install community connectors, tools, and profiles from Git-backed repos
- Local-first storage — SQLite with FTS5 for keyword search
- Embedding pipeline — local (fastembed or tract), Ollama, and OpenAI embeddings with automatic batching, retry, and staleness detection
- Hybrid retrieval — keyword + semantic + weighted merge (configurable alpha)
- MCP server — expose context to Cursor and other AI tools via HTTP
- Local agents — run durable, workspace-scoped agents with declarative tools, history, inspection, and resume support
- Local generation — use OpenAI or a native loopback-only Ollama adapter with no silent fallback or model download
- Durable background tasks — enqueue bounded work, operate independent workers, and correlate task/run outcomes
- Application host APIs — register trusted compiled providers and tools, then refresh host-known changed documents without a full scan
- CLI-first — everything accessible via the
ctxcommand - Incremental sync — checkpointed, idempotent, deterministic
Quick Start
For a 5-minute walkthrough with copy-paste config, see the Quick Start guide on the docs site.
1. Install
Pre-built binaries (recommended):
Download the latest release from GitHub Releases:
# macOS (Apple Silicon)
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"context-harness": {
"url": "http://127.0.0.1:7331/mcp"
}
}
}