Skip to content

Commit c5df370

Browse files
ChrisJBurnsclaude
andcommitted
Fix MCPServerEntry example field accuracy
- Fix headerForward: use addPlaintextHeaders map instead of nonexistent headers list field - Fix externalAuthConfigRef: remove kind field that doesn't exist on ExternalAuthConfigRef (only AuthServerRef has kind) Both verified against v0.17.0 source code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d1463f6 commit c5df370

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/toolhive/guides-vmcp/configuration.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,17 @@ spec:
125125
# Optional: token exchange for authenticating to the remote server
126126
externalAuthConfigRef:
127127
name: my-auth-config
128-
kind: MCPExternalAuthConfig
129128
130129
# Optional: custom CA bundle for TLS verification
131130
caBundleRef:
132131
configMapRef:
133132
name: internal-ca-bundle
134133
key: ca.crt
135134
136-
# Optional: inject custom headers into requests
135+
# Optional: inject plaintext headers into requests
137136
headerForward:
138-
headers:
139-
- name: X-Custom-Header
140-
value: my-value
137+
addPlaintextHeaders:
138+
X-Custom-Header: my-value
141139
```
142140

143141
**When to use MCPServerEntry vs. MCPRemoteProxy:**

0 commit comments

Comments
 (0)