ToeStub MCP Server
Enables oilfield job coherence, multi-well rotation, and audit through MCP tools like toestub_job_run and toestub_job_audit.
README
ToeStub
Job OS cognitive governor for external systems — pin-sealed multi-source oilfield job coherence, explore-vs-certify firewall, multi-well rotation, partner audit, and optional MCP attachment for agent hosts (Cursor / Claude / Grok).
Pin sealed. Explore never certifies. Never λ=γ.
This is a standalone distribution extracted from the 123abc-grok research monorepo. External teams can clone, configure, and run without the protein dual-gate stack.
License: MIT
Quick start (Windows)
git clone https://github.com/RogueGringo/ToeStub.git
cd ToeStub
install.bat
menu.bat
| Script | Role |
|---|---|
install.bat |
Python deps + import check |
menu.bat |
CMD menu (cfg, smoke, rotation, audit, MCP) |
run_mcp.bat |
Start stdio MCP server for hosts |
cfg\toestub.ini |
Paths and job defaults |
Menu map
- Show configuration
- Edit
cfg\toestub.ini(Notepad) - Fixture smoke (expects certified)
- Custom run (LAS/MP/survey from cfg)
- Multi-well rotation (fixture dual well)
- Catalog runs
- Audit latest run
- MCP connect help
- Start MCP server (stdio)
T. Unit tests
I. Re-install deps - Exit
Configure
Edit cfg/toestub.ini:
[paths]
default_las = C:\path\to\well.las
default_micropulse = C:\path\to\MicroPulse_dir
default_survey = C:\path\to\SURVEY.csv
out_dir = out\job_os
[job]
channel_pack = surface_min
max_rows = 500
max_depth_mono_violations = 5
with_dynamical_topology = true
Free params are closed-set only (align_mode, window_scale, channel_pack, null_policy, survey_gate, regime_mode).
Pin knobs (depth_mono_eps, mono violations) are pin_config, not free.
MCP (agent hosts)
run_mcp.bat
Or host JSON (examples/toestub.mcp.json):
{
"mcpServers": {
"toestub": {
"command": "python",
"args": ["-m", "toestub.mcp_server"],
"env": {
"PYTHONPATH": "C:/PRIMEdEV-1/ToeStub",
"TOESTUB_REPO_ROOT": "C:/PRIMEdEV-1/ToeStub"
}
}
}
}
Point PYTHONPATH / TOESTUB_REPO_ROOT at your clone path.
Tools
| Tool | Purpose |
|---|---|
toestub_job_run |
Job OS OS-mode loop |
toestub_job_catalog |
INDEX of runs |
toestub_job_rotation |
Multi-well same pin |
toestub_job_audit |
Partner audit (no re-ingest) |
toestub_firewall_read |
Read FIREWALL.json |
CLI (operators)
set PYTHONPATH=%CD%
python job_coherence.py --os --las fixtures\mini_edr.las --out-dir out\job_os
python job_coherence.py --catalog --out-dir out\job_os
python job_coherence.py --audit out\job_os\<run_id>
python job_coherence.py --rotation examples\job_rotation_fixture.manifest.json --out-dir out\rotation
Law
- CERTIFY = pin hard seal + fixed-point (empty free board × K)
- EXPLORE = science / topology / λ1 trends —
not_acceptance - Near-miss: explore looks good, certify fails → reject for ship
- No shell tool; no soft_T / pin rewrite via free params
Design: docs/design-toestub-mcp.md
Requirements
- Windows 10+ (menu.bat) or any OS for Python/MCP
- Python 3.11+
pip install -r requirements.txt
Provenance
Kernel modules: realm/job_os, realm/dynamical_topology, realm/kb_geometry, toestub
Upstream research monorepo: RogueGringo/123abc-grok
License
Same as upstream monorepo unless otherwise noted. Contact maintainer for commercial terms.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。