Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,21 @@ dependencies:
- microsoft/apm-sample-package # Design standards, prompts
- github/awesome-copilot/skills/review-and-refactor # Code review skill
mcp:
- io.github.github/github-mcp-server
- io.github.github/github-mcp-server # Registry reference
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove # Registry reference qualifier β€” misleading after descoping.

The # Registry reference inline comment implies the existence of a non-registry format. Since inline dict deps were descoped to #132, this qualifier is misleading. Remove the comment or use something neutral like # MCP server.

- name: my-knowledge-base # Inline config
type: streamable-http
url: https://my-kb.example.com/
```

MCP dependencies support two formats:

- **Registry strings** β€” resolve via the MCP server registry (e.g. `io.github.github/github-mcp-server`).
- **Inline dicts** β€” written directly to runtime configs, bypassing the registry. Useful for private or self-hosted servers.

Inline entries require `name`, `type` (`sse` or `streamable-http`), and `url`. An optional `headers` map is also supported.

MCP dependencies declared by transitive APM packages are collected automatically during `apm install`.

### 2. Install Dependencies

```bash
Expand Down
7 changes: 7 additions & 0 deletions docs/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,18 @@ APM provides first-class support for MCP servers:
# apm.yml - MCP dependencies
dependencies:
mcp:
# Registry references
- ghcr.io/github/github-mcp-server
- ghcr.io/modelcontextprotocol/filesystem-server
- ghcr.io/modelcontextprotocol/postgres-server
# Inline config (private / self-hosted servers)
- name: my-knowledge-base
type: streamable-http
url: https://my-kb.example.com/
```

Inline MCP entries (`name`/`type`/`url` dicts) are written directly into runtime configs and bypass the registry. They are also collected transitively from APM dependencies.

```bash
# Install MCP dependencies
apm install
Expand Down
Loading
Loading