-
Notifications
You must be signed in to change notification settings - Fork 0
MCP and Extensions
AnyLM does not implement the Model Context Protocol today. There is no MCP client, server, transport, or registry in this repository.
If you are looking for “plug in external capabilities,” use the native extension points below. Adding MCP would be a greenfield subsystem (schema translation, process lifecycle, IPC, UI, security confirmations).
Shell or HTTP tools from the Tools UI. Best for personal automations and local scripts. See Tools.
Add to tools/registry.ts + tools/exec.ts. Best for first-class, shipped capabilities with consistent confirm/sandbox behavior.
Instructions + selected tools as a toggleable bundle. See Skills.
Non-connector (toolNames) or connector (tools[].run + OAuth). Best for productized workflows (Web research, Outlook).
Provider definitions + Firestore connectors docs + Skills Connect UI. Required for third-party APIs that need user delegated access. Outlook is the reference public-client implementation.
Enable in settings (proxyEnabled, proxyPort, default **3227). Other apps can send /v1/chat/completionswith ananylm_` API key.
What you get: model access under AnyLM governance / identity.
What you don’t get: AnyLM tools, skills, RAG assembly, or multi-agent — those stay inside the desktop chat path.
Point file tools at a real folder (workspacePick) and lean on project-first coding so the model operates inside a scaffolded project. This is an “agentic coding” extension of the tool system, not a separate plugin API.
generate_document and the artifacts explorer let skills/tools leave durable files the user can open outside the chat.
auth.request(method, path, body) dispatches to api/index.ts with REST-shaped routes. You can add endpoints there (and matching Firestore rules) for new org-level features. The shape is deliberately server-portable (Auth & Firebase).
When you ship a user-visible skill/tool, consider updating the site catalog so download visitors see it. Not a runtime extension — documentation/marketing surface.
Not implemented — planning notes only:
- Decide role: MCP client (AnyLM calls external servers) vs host (expose AnyLM tools as MCP). Client is the usual ask.
-
Map MCP tools →
OllamaToolDefand route execution besidetools/exec/skills/exec. -
Lifecycle: spawn/connect servers from settings; store configs in
llmeter-settings.jsonor a newanylm-mcp.json. - Security: treat all MCP tools as potentially risky; reuse confirm UI; sandbox cwd/env; never pass OS keystore tokens to MCP processes blindly.
-
IPC + UI: list/connect/test servers; per-chat enable; update
api.d.ts/ preload / ipc together. - Tests: mock transport; ensure tool-round limits and load-guard still apply.
Until that exists, do not document MCP as supported in user-facing copy.
| Goal | Prefer |
|---|---|
| Personal script / webhook | Custom shell or HTTP tool |
| Reusable prompt + tools pack | Custom skill |
| Shipped product capability | Builtin tool and/or skill |
| User’s SaaS account (mail/calendar) | Connector skill |
| External IDE/agent hitting models | Local proxy + API key |
| Standard MCP ecosystem servers | Not yet — contribute a design/spec under docs/superpowers/ first |
| Page | Description |
|---|---|
| Home | Overview and navigation |
| Getting-Started | Local setup |
| Architecture | System design |
| Code-Structure | Directory map |
| Features | Feature inventory |
| Contributing | PR workflow |
| How-to-Change | Common change recipes |
| Gotchas | Footguns |
| Chat-Pipeline | Turn lifecycle |
| IPC-Contract | window.api |
| Auth-and-Firebase | Identity + rules |
| RAG-and-Knowledge | Vectors + graph |
| Agents | Multi-agent |
| Proxy-and-Governance | :3227 + policies |
| Configuration | Env + settings |
| Testing | bun test |
| Build-and-Release | Packaging |
| Skills | Build skills |
| Tools | Build tools |
| MCP-and-Extensions | MCP status + options |