File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ const IdeIntegrationSection: React.FC<IdeIntegrationSectionProps> = ({
37
37
38
38
39
39
const getGenericMCPConfig = ( ) => {
40
+ const serverUrl = window . location . origin ;
40
41
return `{
41
42
"mcpServers": {
42
43
"helix-mcp": {
@@ -46,7 +47,7 @@ const IdeIntegrationSection: React.FC<IdeIntegrationSectionProps> = ({
46
47
"run",
47
48
"--app-id", "${ appId } ",
48
49
"--api-key", "${ apiKey } ",
49
- "--url", "http://localhost:8080 "
50
+ "--url", "${ serverUrl } "
50
51
]
51
52
}
52
53
}
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ const App: FC = () => {
297
297
</ Grid >
298
298
{ /* For API keys section show */ }
299
299
{ tabValue === 'apikeys' ? (
300
- < CodeExamples apiKey = { account . apiKeys [ 0 ] ?. key || '' } />
300
+ < CodeExamples apiKey = { account . appApiKeys [ 0 ] ?. key || '' } />
301
301
) : (
302
302
< PreviewPanel
303
303
loading = { appTools . isInferenceLoading }
You can’t perform that action at this time.
0 commit comments