[BUG] Custom MCP server is overwritten after login
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 283
- Avg merge
- 11h 47m
- Merged PRs (30d)
- 737
Description
# Issue
I start my `McpJam` app with `npx @mcpjam/inspector@latest --config mcp_servers.json --server ai-todo`
the config looks like the following:
`{"mcpServers":{"ai-todo":{"type":"streamable-http","url":"http://localhost:9991/mcp/"}}}`
then it opens a window which indeed connects to my server:
but later to use the chat I have to sign in, my server is not shown anymore and I have to manually add it:
# Expected Behavior
The connected server from my config will be autoconnected after the login and shown in the list of servers.
# Platform
- `npx`
Contributor guide
Research direction
Start by running `npx @mcpjam/inspector@latest --config mcp_servers.json --server ai-todo` with the shown `mcp_servers.json`, then follow the login flow. Trace how the configured server is retained when the authenticated view loads. Done means `ai-todo` remains listed and connected after sign-in without manual reconfiguration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json, nodejs, typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100