Troubleshooting
Issues you may encounter when using the Meldoc MCP server.
Authentication errors
AUTH_REQUIRED — token not found
The MCP server can’t authenticate your request.
- Check your token is set correctly in the
Authorizationheader of your Getting Started with MCP. - Go to Settings → Integration Tokens, switch the status filter from Active only to see all tokens, and check the token’s Status column reads Active (not Revoked or Expired).
- Ask your AI assistant to call
server_infoto check what it is authenticated as. - For Claude Desktop with
mcp-remote: restart the client to trigger re-authentication.
Invalid token — token expired or revoked
Your token is no longer valid.
Keep in mind: If you were recently removed from the workspace, your tokens stop working immediately — removing a member revokes every integration token they created. Ask a workspace admin to re-add you, then create a new token.
- Create a new token at Settings → Integration Tokens → Create token.
- Update your MCP config with the new token.
- Restart your client.
Workspace errors
WORKSPACE_REQUIRED — no workspace selected
You have multiple workspaces and none is selected.
- Ask your AI assistant to call
list_workspaces, then to pass the one you want asworkspaceAliason its next call. - Or add
meldoc.config.ymlto your project root:
workspaceAlias: your-workspace-name
WORKSPACE_NOT_FOUND — wrong workspace alias
The workspaceAlias or workspaceId doesn’t match any workspace accessible to your token.
- Ask your AI assistant to call
list_workspacesto see available aliases. - Check for typos — workspace aliases are case-sensitive.
Note:
WORKSPACE_NOT_FOUNDmeans the alias didn’t match anything you can reach.WORKSPACE_ACCESS_DENIEDmeans the workspace exists but your token isn’t a member.
AMBIGUOUS_DOC_ALIAS — alias exists in multiple projects
A tool was called with a doc alias that resolves in more than one project. Doc aliases are unique within a project, not across the workspace.
- Pass
projectIdorproject_aliasalongsidedocIdto scope the lookup. The error message lists candidate project aliases. - Or use the doc UUID — UUIDs are globally unique.
Connection issues
Client won’t connect
Your AI client can’t reach the MCP server.
- Check your config file — valid JSON,
"type": "http"set, URL ishttps://api.meldoc.io/mcp. - Restart your client completely.
- Test connectivity:
curl https://api.meldoc.io/health
mcp-remote: browser window doesn’t open
The OAuth flow in mcp-remote doesn’t start.
- Verify Node.js 18+ is installed (
node --version). - Run
npx mcp-remote https://api.meldoc.io/mcpmanually to see errors. - Or use a static token instead — see Authentication.
Get more help
- Ask your AI assistant to call
server_infofor what it is authenticated as. - Enable debug logging with
DEBUG=1. - Open an issue at GitHub with error messages and steps to reproduce.