Skip to main content
Glama
SOLUTION_FOUND.md1.51 kB
# ✅ SOLUTION FOUND! ## The Problem Claude Desktop couldn't read the configuration file because it had a BOM (Byte Order Mark) character (``) at the beginning, making it invalid JSON. **Error in logs:** ``` Error reading or parsing config file: Unexpected token '' ``` ## The Fix I've rewritten the configuration file without the BOM character. The file is now properly formatted UTF-8 without BOM. ## Next Steps ### 1. **RESTART CLAUDE DESKTOP** (Required!) - Completely close Claude Desktop - Wait a few seconds - Reopen Claude Desktop - The configuration should now be read correctly! ### 2. Verify It Works After restarting, try asking Claude: ``` List all inventory items ``` Or: ``` Check stock for LAP-001 at Bengaluru ``` ### 3. Check the Logs Again If it still doesn't work after restart, check: ``` %APPDATA%\Claude\logs\main.log ``` Look for any new errors. The "Unexpected token ''" error should be gone. ## Configuration File Location ``` C:\Users\aditi\AppData\Roaming\Claude\claude_desktop_config.json ``` ## What Was Fixed The configuration file is now saved as: - ✅ UTF-8 encoding - ✅ Without BOM (Byte Order Mark) - ✅ Valid JSON format - ✅ All paths correct ## Expected Behavior After restarting Claude Desktop, you should be able to: - Ask Claude to list inventory - Check stock levels - Add/remove inventory items - Query by location The tools may not show a visible UI element, but Claude will be able to use them when you ask!

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Adiitiir/inventory-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server