Skip to content

Commit f334098

Browse files
fix: replace streamable-http with http in docs and tests
The correct MCP transport types are 'sse' and 'http'. Updated docs and test fixtures that incorrectly used 'streamable-http' to align with _KNOWN_MCP_TYPES validation.
1 parent 5560597 commit f334098

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ dependencies:
7777
mcp:
7878
- io.github.github/github-mcp-server # Registry reference
7979
- name: my-knowledge-base # Inline config
80-
type: streamable-http
80+
type: http
8181
url: https://my-kb.example.com/
8282
```
8383
@@ -86,7 +86,7 @@ MCP dependencies support two formats:
8686
- **Registry strings** — resolve via the MCP server registry (e.g. `io.github.github/github-mcp-server`).
8787
- **Inline dicts** — written directly to runtime configs, bypassing the registry. Useful for private or self-hosted servers.
8888

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

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

docs/integrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ dependencies:
489489
- ghcr.io/modelcontextprotocol/postgres-server
490490
# Inline config (private / self-hosted servers)
491491
- name: my-knowledge-base
492-
type: streamable-http
492+
type: http
493493
url: https://my-kb.example.com/
494494
```
495495

tests/unit/test_transitive_mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_parse_dict_mcp_deps(self):
5757

5858
def test_parse_mixed_mcp_deps(self):
5959
"""A mix of string and dict entries is preserved in order."""
60-
inline = {"name": "inline-srv", "type": "streamable-http", "url": "https://x"}
60+
inline = {"name": "inline-srv", "type": "http", "url": "https://x"}
6161
with tempfile.TemporaryDirectory() as tmp:
6262
yml = Path(tmp) / "apm.yml"
6363
yml.write_text(yaml.dump({

0 commit comments

Comments
 (0)