fix: MCP config type should be 'http' not 'url' for Claude Code
This commit is contained in:
@@ -19,7 +19,7 @@ export default function McpIntegration({ project }: { project: Project }) {
|
|||||||
const configSnippet = JSON.stringify({
|
const configSnippet = JSON.stringify({
|
||||||
mcpServers: {
|
mcpServers: {
|
||||||
[serverName]: {
|
[serverName]: {
|
||||||
type: 'url',
|
type: 'http',
|
||||||
url: mcpUrl,
|
url: mcpUrl,
|
||||||
headers: { Authorization: `Bearer ${apiKey || '<your-api-key>'}` },
|
headers: { Authorization: `Bearer ${apiKey || '<your-api-key>'}` },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user