This repository contains a toolchain for publishing, resolving, and serving agent-ready documentation for binary dependencies. It introduces an agent-docs sidecar artifact that travels with the same module/version as a library dependency, is resolved through standard Gradle/Maven repositories, cached locally by a Gradle resolver plugin, and exposed to coding agents through a separate MCP server that reads only from the local cache.
If you are an AI coding agent, read AGENTS.md first for the repo-specific workflow and conventions.
./gradlew build
./gradlew :agent-docs-mcp:runThis repository uses the Axion Release plugin to derive a single repo-wide version from Git tags.
- Tag format:
v<semver>(for examplev0.0.1) - The computed root version is reused by all subprojects
- Check the resolved version with
./gradlew currentVersion
agent-docs-publish-gradle-plugin- starter Gradle plugin for packaging curated docs into anagent-docszipagent-docs-resolve-gradle-plugin- starter Gradle plugin for inspecting a resolved classpath, attempting to resolveagent-docssidecars for directimplementation/apidependencies, and caching found sidecars in a local Maven-style repository (~/.agent-docs/repositoryby default, override via-DagentDocs.localRepository=...orAGENT_DOCS_LOCAL_REPOSITORY)agent-docs-mcp- minimal STDIO MCP server that serves markdown viaagentdocs://{groupId}/{artifactId}/{version}/{path}andget_agent_docs, reading only from the local agent-docs repositorydocs- architecture and repository notes
This project is licensed under the MIT License. See LICENSE.
The first scaffold keeps the resolver and MCP modules decoupled and mirrors the repository layout from the project proposal so implementation can grow in-place.