Commit Graph

13 Commits

Author SHA1 Message Date
interrobot
2ce3666337 Update mcp_server_sqlite to use robust text encoding by default
The Claude Desktop client will hang in Windows when utilizing extended/multibyte characters in sqlite as a result of decoding errors. The decoding errors are resolved by using UTF-8 encoding.

Configuring Windows to use UTF-8 in place of windows-1252 makes the default server behavior consistent with macOS.  

os.environ PYTHONIOENCODING is checked as to not interfere with an environment override, such as:

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": [
        "mcp-server-sqlite", "--db-path", "./example.db"
      ],
      "env": {
        "PYTHONIOENCODING": "utf-8" 
      }
    }
  }
}
2024-12-18 20:56:08 -05:00
Rakesh Goyal
acc3ba2740 Replaced hyphen with underscore in the tool names 2024-12-09 19:47:36 +05:30
David Soria Parra
e8a26bbf53 lint clean 2024-11-27 22:42:47 +00:00
Sean Lynch
75e6fa1481 Remove docs on Anthropic summary feature no longer present 2024-11-27 09:30:02 -08:00
Rory Logue
49bc91aa31 fix: some wording 2024-11-25 20:23:04 +00:00
David Soria Parra
ec3c60c0c0 move sqlite server to python 3.10 2024-11-22 23:12:59 +00:00
Justin Spahr-Summers
01eeaf86b9 Fix SQLite server logging to file 2024-11-21 22:39:58 +00:00
Justin Spahr-Summers
e63940f76e Fix another error 2024-11-21 22:29:14 +00:00
Justin Spahr-Summers
d5cef5bb73 Fix errors 2024-11-21 22:26:11 +00:00
Justin Spahr-Summers
a184344b85 Refactor to not inherit from Server 2024-11-21 22:00:02 +00:00
Justin Spahr-Summers
812e8213dc Extract prompt template from inline 2024-11-21 21:59:32 +00:00
Justin Spahr-Summers
6d4bbf5982 Fix type error 2024-11-21 21:08:36 +00:00
Justin Spahr-Summers
06cb2759b8 Fix package and executable names, re-sync uv 2024-11-21 21:07:25 +00:00