agentleFS
ken-joken-jo/agent-connector/llms.txt

agent-connector

llms.txt8 starsChanged 3 months agoApache-2.0View on GitHub

Descriptive product route map for agent-connector. Detailed API contracts, host tables, examples, and generated support claims live in llms-full.txt; current public host coverage lives at https://agent-connector.ai/coverage. agent-connector is an SDK and CLI for MCP package authors. One connector definition targets every supported agent host — terminal CLIs, IDE extensions and desktop apps — so the author does not write a per-host integration, package format, or install path. A connector package declares one MCP server plus optional hooks, commands, skills, subagents,…

The file

Files
llms.txt
# agent-connector

Descriptive product route map for agent-connector. Detailed API contracts, host
tables, examples, and generated support claims live in `llms-full.txt`; current
public host coverage lives at https://agent-connector.ai/coverage.

## Product Scope

agent-connector is an SDK and CLI for MCP package authors. One connector definition
targets every supported agent host — terminal CLIs, IDE extensions and desktop apps —
so the author does not write a per-host integration, package format, or install path.

A connector package declares one MCP server plus optional hooks, commands, skills,
subagents, memory, statusline, actions, telemetry, and per-host overrides. The CLI
renders those surfaces into each supported host's native files, verifies install
health, and can wrap stdio servers for local per-tool token telemetry.

A separate connector-free usage track reads agent host session logs read-only and
reports host-level token totals by platform, project, session, model, or day. It
does not provide per-MCP or per-tool attribution; those numbers come from a
developer-owned connector using the serve telemetry proxy.

## Audience Routes

- MCP developer track: build a branded MCP integration. Package metadata supplies
  public identity; `@ken-jo/agent-connector/sdk` supplies authoring helpers;
  `@ken-jo/agent-connector/cli` exposes lifecycle commands through the package's
  own bin. Framework packaging artifacts are produced by the framework CLI.
- Agent host usage track: inspect local host usage logs without authoring or
  installing a connector. Relevant verbs are `usage report`, `usage export`, and
  `usage leaderboard`.

## Authoring Map

- Package identity: `package.json` is the normal source for package name, MCP
  display name, bin, and version. Explicit connector identity fields are mainly
  for legacy or multi-instance cases.
- MCP launch shapes: package runner, local Node or process server, Python server
  launched with uv, CLI server mode, and remote HTTP server URL are all valid
  families. Pick the shape that matches the product.
- SDK entrypoints: `@ken-jo/agent-connector/sdk` exports `defineConnector`, the
  typed `define*` helpers, host capability introspection helpers, and public
  types. Full field tables are in `llms-full.txt` sections 2 and 9.
- Offline checks: `@ken-jo/agent-connector/sdk/test` exposes `explain`,
  `explainHooks`, and `simulate` for adapter behavior before writing host files.
- OAuth logins: `oauth.<key>` declares a provider preset and the app the server
  logs in with, supplied one of three ways — developer-provided (a literal
  `clientId`; a literal `clientSecret` for `google` only; or a `tokenExchangeUrl`
  naming the developer's own token exchange service, which keeps the
  `clientSecret` on the developer's side) or user-registered (`clientId` and
  `clientSecret` as keystore references stored with `secrets set`); the field
  table, validation messages and the token exchange wire contract are in
  `llms-full.txt` section 2.2.

## CLI Map

- Branded connector package CLI: `detect`, `install`, `uninstall`, `upgrade`,
  `doctor`, `status`, `secrets`, `auth`, `telemetry`, `leaderboard`.
- Framework CLI: `package` emits distribution artifacts such as host plugin
  bundles and MCP standard manifests. See `llms-full.txt` section 3 for format
  names and requirements.
- Internal host entrypoints: `serve`, `hook`, `statusline`, `action`, and
  `usage-event` are commands that generated host config may reference.
- Marketplace installs: supported where a host has a driver; exact host list and
  driver shape are maintained in `llms-full.txt` and the registry.

## Support And Coverage

- Coverage page: https://agent-connector.ai/coverage is canonical for current
  host support, tier, surface, type, server support, verification level, and star
  index display.
- Host architecture archive: https://agent-connector.ai/agents has one page per
  supported host (https://agent-connector.ai/agents/<adapter-id>) covering form
  factor, hook paradigm, MCP, memory, marketplace, host-only affordances, and
  the surfaces this adapter still leaves unwired.
- Full reference: `llms-full.txt` contains supported platform tables by hook
  paradigm, canonical hook events, content surfaces, statusline/action contracts,
  telemetry model, CLI reference, SDK reference, and host caveats.
- Skill route: `skills/agent-connector/SKILL.md` is the small agent-facing router;
  detailed task references are under `skills/agent-connector/references/`.

## Links

- README: `README.md`
- Architecture: `docs/ARCHITECTURE.md`
- Full LLM reference: `llms-full.txt`
- Example connector: `examples/acme-db/agent-connector.config.mjs`

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.