You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ The server is a bridge between the Telegram API and the AI assistants and is bas
30
30
-[Configuration](#configuration)
31
31
-[Authorization](#authorization)
32
32
-[Client Configuration](#client-configuration)
33
+
-[JSON Schema Version](#json-schema-version)
33
34
-[Star History](#star-history)
34
35
35
36
## What is MCP?
@@ -263,6 +264,16 @@ Example of Configuring Claude Desktop to recognize the Telegram MCP server.
263
264
}
264
265
```
265
266
267
+
### JSON Schema Version
268
+
269
+
Some MCP clients (e.g. VS Code) do not support JSON Schema Draft 2020-12 and will reject tools that use it. You can override the JSON Schema version by setting the `--schema-version` flag or the `TG_SCHEMA_VERSION` environment variable.
270
+
271
+
Common values:
272
+
| Version | URL |
273
+
|---------|-----|
274
+
| Draft-07 (recommended for VS Code) | `https://json-schema.org/draft-07/schema#` |
0 commit comments