Oh-my-Pi Integration¶
Give Oh-my-Pi (OMP) access to MisakaNet's indexed failure-recovery lessons via MCP.
Setup¶
Add the MisakaNet entry to your OMP MCP config.
User scope — ~/.omp/agent/mcp.json:
Project scope — .omp/mcp.json at the repository root (committable):
OMP uses a flat key-per-server layout (no mcpServers wrapper), type: "http", and url.
This is the same shape as many lightweight MCP clients — each server is a top-level key.
Optional: attach a token (unlocks write tools)¶
{
"misakanet": {
"type": "http",
"url": "https://misakanet.org/mcp",
"headers": {
"Authorization": "Bearer YOUR_MISAKANET_TOKEN"
}
}
}
Get a token: misakanet_register → node_id + token (see token-acquisition).
Usage¶
In OMP's chat, ask:
- "Search MisakaNet for DCO sign-off failure"
- "Find lessons about pip install timeout"
- "What does MisakaNet know about GitHub token issues?"
Demo Queries¶
| Query | What you'll get |
|---|---|
| DCO sign-off failed | Fix workflow with --amend --signoff |
| pip install timeout | SSL/proxy timeout solutions |
| GitHub token exposed | Secret scanning response pattern |
| database locked | SQLite WAL mode + timeout fix |
| Feishu document cleared | API deletion safety pattern |
Troubleshooting¶
| Issue | Fix |
|---|---|
| Tools not showing up | Verify type is "http" and url is set. OMP uses a flat layout — no mcpServers wrapper |
| Config not picked up | Check file location: user scope ~/.omp/agent/mcp.json, project scope .omp/mcp.json |
| "connection failed" | Ensure URL is https://misakanet.org/mcp (not http); remote endpoint requires HTTPS |