{"_id":"telegram-chat-bot-mcp","_rev":"18-b19af9299a80fc5e28db3016f6e06e67","name":"telegram-chat-bot-mcp","dist-tags":{"latest":"0.1.17"},"versions":{"0.1.0":{"name":"telegram-chat-bot-mcp","version":"0.1.0","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.0","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-bot-mcp":"dist/index.js"},"dist":{"shasum":"a06eb19b741b55d741582fd4efab69edd737d711","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.0.tgz","fileCount":44,"integrity":"sha512-FC0WMqkTUDC0HjEiC8TNKkZqmZ2u5knUHfStdxEczL4XZ4234n3mx0q88VjfVIlgq+p0S88NiqDEf4fEenII2g==","signatures":[{"sig":"MEUCIQC1eO2/pFkXlVLwj3Fep6/TZznYogn8mWJVU5RTNIz7sAIgUHIn9n8TBX5R2M5E6mZ//8X0ha/M7NIX05MqDn23ElM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86224},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"4f6e731b3eee4b7ae8ca888276c8dfc8a1eac2d6","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.0_1762213454865_0.001317284285204945","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"telegram-chat-bot-mcp","version":"0.1.1","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.1","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-bot-mcp":"dist/index.js"},"dist":{"shasum":"187d334bd95ab631ee502ba51600b7674190ec8d","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.1.tgz","fileCount":44,"integrity":"sha512-xIFMZz4sedKSRolpJGUKgwHgCjw9idY8unT+f/pSUYAAytYpiS0lDHDYDEdhl8Mu+0wPrqQTICmMCII8N5BPbQ==","signatures":[{"sig":"MEUCIEuRaWaegZRnbBdvUpGvWzyj/34tPXLltZGC/qaVqmvwAiEAy9ww7yh/6kfEZnOdjKJoinmXbNoWyaIip/t/VcfLcAc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79697},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"925569f262ae2c13a0664fadaae6711eecaddb1b","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.1_1762214061255_0.41838311719560917","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"telegram-chat-bot-mcp","version":"0.1.2","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.2","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-bot-mcp":"dist/index.js"},"dist":{"shasum":"0cd45fbb64e1bade14defa460ce1922da240834b","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.2.tgz","fileCount":44,"integrity":"sha512-kURYubWkze1ysOKUMRUvRfa7NcqKsYf8Ie0I0+VN5D1McWVUJT+4KoGmAkni3jLbx7RhFcyzsFD0S3emWHxY6w==","signatures":[{"sig":"MEUCIH3VXkaBY9XmJkBkg+MukPaaaM5xMIPJOkkD8hW0lvBLAiEAlcSEO0RAIwLgO7AazAZfaB88PLWEGnDEnqAe9RWfqk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79707},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0a747038fe82781e0e5483e3de4a7617e9164468","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.2_1762216272148_0.9075337331641231","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"telegram-chat-bot-mcp","version":"0.1.3","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.3","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"2568a63c5df87ab3f4dddf987ea1b84c80a2bfbf","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.3.tgz","fileCount":44,"integrity":"sha512-a3VP/mnFXYEbJuhXOiCQ4py8Oj0S/t813f6FYi1QAVSgS9DX1GPgkz5Ync2dVrhK9S82S/yopdf4dTBW0cFwRg==","signatures":[{"sig":"MEUCIQDMqAcfok26NDL846NIYq+80z7sDs9Cw2qFe1OLGx+tlQIgNT315D6SDdBTNIRcBtcbnW2mERTAjkRW007Jzg7r6sc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79712},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ff72f7e49885a94c4071968c58dc994f3459ed30","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.3_1762216827548_0.6638250688931115","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"telegram-chat-bot-mcp","version":"0.1.4","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.4","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"b93a59deb1690ca4e728ca1b94be5e78d95abcb3","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.4.tgz","fileCount":44,"integrity":"sha512-5Vl1kmB14DgT0pQVlI03B9GT28azulvz84PgUbK0wXBxm5n1nVnJAKLKJpBnbdVYUlVoTYF6CvRDdYyP/ma2Sg==","signatures":[{"sig":"MEUCIQDnQ49mfC/Dq9H1c/DPu0LtKU7eLWl4El3i5NZWiIPAHwIgYjvI3qNJhDfhyoJZEb0vIUgvEOOYXwdf2Rn5pnTnpms=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79718},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"edc1d4c3ce972561a19829b39bbcf989f9028a3d","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.4_1762216985042_0.8448949141540336","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"telegram-chat-bot-mcp","version":"0.1.5","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.5","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"c2214b1fc3f2048706df753645734752b7ecfa0c","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.5.tgz","fileCount":44,"integrity":"sha512-2tq+ViiYVQ2QFklMJtjQqR6E/p/a/UHPyENflEozgOb3OWGZyoui8Gigoz4UjNMbRphflDjFY4G4EK47UXxzrw==","signatures":[{"sig":"MEYCIQDz9QJW5Zz5xUipNqCHlGlElB5c+GPjoL57BwHi8MrX9gIhAL/jXiy3bRjRyfgBYC6uIk0ySi1E/eWzdpyW4s/LRloj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81377},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"a4952d623e557154e35edbc701f19ef643ddf563","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.5_1762300981681_0.028139165900885388","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"telegram-chat-bot-mcp","version":"0.1.6","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.6","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"2ae72e5a52592bf734ba6a963e2d7e223a2e1961","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.6.tgz","fileCount":44,"integrity":"sha512-W067BLDt/NIy8AAQ3bgBvPHYLD70ibuMuo1O4B+PIHxUH53cpyQmAwyUF8DgUiXhAMMOL2PNxhBGG4J2i1oBpw==","signatures":[{"sig":"MEQCIDAN72wmntAuKYed/fIzrr5ENH1mphDjEspgC5Jj1Nf3AiB2OfLLA6FmLSFOt8ecIAcCfUQcFDdeldLQ72TICFOESg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81033},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2502e645fca1f8a14bd29f7a01ff0dceccd6438f","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.6_1762334847872_0.8272800384899459","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"telegram-chat-bot-mcp","version":"0.1.7","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.7","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"d5080bca11d69cb5ff47b3ddcd1922f96629d153","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.7.tgz","fileCount":32,"integrity":"sha512-HQ68WeC7cApNRF7Cv13uT8hwJBdHLrkhrilUfD7EzdUM/YvwHvhCm+MeEN0EFlkrsu0ER7GqNXPdeUKl1VdN3w==","signatures":[{"sig":"MEQCIENr1PTAjk8XolTRe4ywgw7FG4yC0RzUAJaGTAbuueXTAiByt29uiWPAlcTGQzoqpYAP+NfzY4rey9qJbDrbowyyPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65545},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"75b1ccb01a2221ca8f9f97c55c18234a1628898e","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.5.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.7_1762402052022_0.45356787543251365","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"telegram-chat-bot-mcp","version":"0.1.8","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.8","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"948b55900d2cdf23bc9366691eab6fab4ddeb2f6","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.8.tgz","fileCount":32,"integrity":"sha512-OMLPWfbnh2djDfhNsAybpZLmEmSm3yq0ABpYkzedc5OMmQrRIHekKdBMQ5sMQ+ej7r0dRe4mLN+asMwfVbq20g==","signatures":[{"sig":"MEYCIQCWx+PofdPYUwN1zXnDSK2rrbO78x8hiaP3JqalRLo6AAIhAMWp1XojYg7ahnKB7F79FRifuMdeV9wLkvQ0lTgLphEo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72698},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"df2c873764d830d10f6dc8af3c2331aef9ee959c","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.8_1762404863243_0.7068878605074782","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"telegram-chat-bot-mcp","version":"0.1.9","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.9","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"08e2a8f1022fee3daa286dfb6fda78c3352e7d81","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.9.tgz","fileCount":32,"integrity":"sha512-Aa2UobsYwI6/Hju1sXhD40PZaNlvaBaiO73+kP14dKhxtjDqprqjsTZfqnH2wbZcJ/DxSg9NrVDvpKyJESCXvQ==","signatures":[{"sig":"MEUCIQCAonfCPDsNmnSw91xRKpNPX1JVeXuqDMmqt8ef5sIR+QIgUmIcIlhjeu6WHzS4mLgkY52IBTHijklu29eMIAXqQoE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76030},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"449a952517d8ca023a1f1e73fb30e17cd89df630","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.9_1762535113779_0.640803805862779","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"telegram-chat-bot-mcp","version":"0.1.10","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.10","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"4119a30afe0a34bd6645445d091cab98414b0eea","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.10.tgz","fileCount":32,"integrity":"sha512-F/wNYpTk0SpNvEGudhu99T5O5eF81c15Eq9ygqFdu5jce00hUjwh6EmAmYNc8fKlF5eDbkc+YViy5EH7fKF5vA==","signatures":[{"sig":"MEQCIE7/9n9nhalAojnWdkiOx8VcWxoQOG71Q4jTQMW3IgijAiBjXgoKIRakFIapHcWyum2piK7WUnS74FLnbRp5jqDzOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77420},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"39dbe5e5bfa1bff98f2344099548da04d7fc2dd6","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.10_1762537485900_0.10781757183475071","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"telegram-chat-bot-mcp","version":"0.1.11","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.11","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"bdf0fa6f37919e72d8b6239dce7283af98583df5","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.11.tgz","fileCount":32,"integrity":"sha512-5sBT9PrmOsOlsQGmeH2h9i8/fI59VThcCeBsOEifjyTmK7Ajap6XSo47fUzI+Kb2te7scYwYLRbapszB1WFJJw==","signatures":[{"sig":"MEQCIFXGuEuWefUdVhVNAthEsna0/xG7Rqilj2POCMWxU1q4AiBETXppT2uXPZdrL0oRKz7v6hqEv+GOD9dwi9jbibMnVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80007},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"854e81554b63cc4986e65fe7e6c7ec75f7784b47","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test:table":"npm run build && tsx scripts/test-table-conversion.ts","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.11_1762537747208_0.5342435070244436","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"telegram-chat-bot-mcp","version":"0.1.12","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.12","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"fc36c00fbb0bbc1c9703600e1ad63ee9a4c59d00","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.12.tgz","fileCount":32,"integrity":"sha512-HdRwcwnJwGqaOZ0Mq1TE2Mtex4orSHfMp7lmuhsy+twfeuE9DGFaJtJSPEo1vd3CdDElJujMGKoCxKJ0JMtQtg==","signatures":[{"sig":"MEQCIQC00jmT9sJPZH9GmZutWzcNg3oyKznmsoNUqFMETQ+pUgIfZoetYynl2+HqB01gMcH3uBCkxCXUsaRJzdTBuoLsDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83926},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c16fd6254aaecd22e8b637e6c95a2a4d237e1dce","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test:table":"npm run build && tsx scripts/test-table-conversion.ts","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:logger:fallback":"npm run build && tsx scripts/test-logger-fallback.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.12_1762976988078_0.5361482867304419","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"telegram-chat-bot-mcp","version":"0.1.13","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.13","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"2e7492c4ea5e81af9116478b0f3dfdd44a056ac0","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.13.tgz","fileCount":32,"integrity":"sha512-BqJpMkCSTuUM9Lwz0N6WJI/XqLCGU1pMZ8C88/owD3muZJFBXL64yv1PY+EPY7A8Z9hUtjJFkwE6csGntjsIQA==","signatures":[{"sig":"MEUCIH17oU+jPqTAciITsgLHBNWxbMZubKtzX8IKUK/1sX20AiEAw1cEjkKgUVOYYGV2nzfkT2IXs1xBwHArIs8QJdF3Vlw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81348},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"e913e3ef30ee9bfa9aa0da8c54c6856b85687151","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test:table":"npm run build && tsx scripts/test-table-conversion.ts","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:logger:fallback":"npm run build && tsx scripts/test-logger-fallback.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.13_1762977878759_0.23589894423478075","host":"s3://npm-registry-packages-npm-production"}},"0.1.14":{"name":"telegram-chat-bot-mcp","version":"0.1.14","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.14","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"1b7189ddb7e0250cff562852307117737ce52f23","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.14.tgz","fileCount":34,"integrity":"sha512-GmAZdwEwpaYCcEcBynodzZYZw5pWJzOx+iOxtFeMEQMDIKHkyniXJzsnqway7rb9USo4Na7RjjDMASzS/DX5NA==","signatures":[{"sig":"MEUCIFH4jGPfnv8dE80j/bsQplq4/N0M8EhjCWC5GzlcDnZ6AiEA4zOF9e+/XFHsRsDvkCHV7s25obbDksgUivsBNvu6leQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108026},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7a3cf38a34c7e45d3e81c685016bd57d74d2be54","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test:table":"npm run build && tsx scripts/test-table-conversion.ts","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:integration":"npm run build && tsx scripts/test-integration.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:logger:fallback":"npm run build && tsx scripts/test-logger-fallback.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@esbuild/linux-x64":"^0.25.12","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.14_1762993679925_0.7668777784861369","host":"s3://npm-registry-packages-npm-production"}},"0.1.15":{"name":"telegram-chat-bot-mcp","version":"0.1.15","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.15","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"dc40b55e690d5dea1c49acdaf0ce03ee6d267a94","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.15.tgz","fileCount":34,"integrity":"sha512-3ICSPt/H3i/OSfr0fOEMnbbemUZGL1X6DPqNreHyVBuGcQFsTGuYR0xgqBHpeFOOp/LZMsmR+upLblGIjv6qOQ==","signatures":[{"sig":"MEQCICyBnYvwXLdkB3MCVi8exc3NSd9mUKBbwN9pXWxuCK7zAiB6taqwsYROc1KK+a3h7puN9k84gXSMZ8ooWBYFTX7u2Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":109308},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"6f93b6cb4b21a71e5cee119f782037ee7794b940","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test:table":"npm run build && tsx scripts/test-table-conversion.ts","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:integration":"npm run build && tsx scripts/test-integration.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:logger:fallback":"npm run build && tsx scripts/test-logger-fallback.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.15_1762994509931_0.2875758317557524","host":"s3://npm-registry-packages-npm-production"}},"0.1.16":{"name":"telegram-chat-bot-mcp","version":"0.1.16","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","_id":"telegram-chat-bot-mcp@0.1.16","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"bin":{"telegram-chat-bot-mcp":"dist/index.js"},"dist":{"shasum":"e840ac556368592dd10948ffdde805b0c40a0e10","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.16.tgz","fileCount":34,"integrity":"sha512-YA/cpGDomQcJBrrPEYWLa7G5hSrdTE3Svgjsx/JymgMrO/kTwInBr8M/8mR0X96HeIi2JX/ZcBwsrL7FTA0SBg==","signatures":[{"sig":"MEYCIQDYLZFMfYy1Pet+C8OdsORHQIOA99EMGYmQlAW4m20N8wIhAOK+uLR0mTEUrBgehg0hV0qerZ/WHjXg3AYhaB3rm+Zx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110415},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"44f3496e2ce5e8d83f133e5ada408b4fd1016c64","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","test":"npm run build && echo 'Build successful - MCP server ready'","build":"tsc -p tsconfig.json","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test:table":"npm run build && tsx scripts/test-table-conversion.ts","prepublishOnly":"npm run build","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:integration":"npm run build && tsx scripts/test-integration.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:logger:fallback":"npm run build && tsx scripts/test-logger-fallback.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts"},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"repository":{"url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git","type":"git"},"_npmVersion":"11.4.2","description":"MCP server for Telegram Bot API with Markdown support","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.21.4","axios":"^1.0.0","marked":"^16.4.1","@modelcontextprotocol/sdk":"^1.20.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","typescript":"^5.0.0","@types/node":"^18.0.0","@types/express":"^4.17.25","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"_npmOperationalInternal":{"tmp":"tmp/telegram-chat-bot-mcp_0.1.16_1762994799078_0.09752655787864417","host":"s3://npm-registry-packages-npm-production"}},"0.1.17":{"name":"telegram-chat-bot-mcp","version":"0.1.17","description":"MCP server for Telegram Bot API with Markdown support","type":"module","main":"dist/index.js","types":"dist/index.d.ts","bin":{"telegram-chat-bot-mcp":"dist/index.js"},"engines":{"node":">=18.0.0"},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build","start":"node dist/index.js","dev":"tsx src/index.ts","lint":"eslint src/**/*.ts scripts/**/*.ts","lint:fix":"eslint src/**/*.ts scripts/**/*.ts --fix","test":"npm run build && echo 'Build successful - MCP server ready'","test:mcp:server":"tsx scripts/test-mcp-server.ts","test:telegram:text":"tsx scripts/test-telegram-text.ts","test:telegram:markdown":"tsx scripts/test-telegram-markdown.ts","test:clean:logs":"npm run build && tsx scripts/test-clean-old-logs.ts","test:table":"npm run build && tsx scripts/test-table-conversion.ts","test:logger:fallback":"npm run build && tsx scripts/test-logger-fallback.ts","test:integration":"npm run build && tsx scripts/test-integration.ts"},"keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"author":{"name":"ice3x2"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git"},"bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","dependencies":{"@modelcontextprotocol/sdk":"^1.20.0","@rollup/rollup-win32-x64-msvc":"^4.59.0","axios":"^1.0.0","marked":"^16.4.1","zod":"^3.21.4"},"devDependencies":{"@types/express":"^4.17.25","@types/node":"^18.0.0","@typescript-eslint/eslint-plugin":"^8.46.2","@typescript-eslint/parser":"^8.46.2","dotenv":"^17.3.1","eslint":"^9.38.0","express":"^4.21.2","ts-node":"^10.0.0","tsx":"^4.20.6","typescript":"^5.0.0","vitest":"^4.1.0"},"_id":"telegram-chat-bot-mcp@0.1.17","gitHead":"d10e86489b72b5bd57005cddad42190815bc34ef","_nodeVersion":"22.14.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-MIp43WarlCH7vJbNXIrbvlWZ6rgDDk1s4DF1zctDJXy/bVjUybUL+qpK80LXC/cosH23A4TwPWGtk3osUlhakQ==","shasum":"cb4c8579f7f9c9de0a2f1c7313e920489b246fde","tarball":"https://registry.npmjs.org/telegram-chat-bot-mcp/-/telegram-chat-bot-mcp-0.1.17.tgz","fileCount":40,"unpackedSize":134096,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA7cgaDtGfSG2UBw1/MK5GU4R5aqZWj+vRlCG3BBCx+vAiEA75gJrmfA6G/mExybjvkfSIF7ELoQCWsLV3eiS9NduSU="}]},"_npmUser":{"name":"snoworca","email":"ice3x2@gmail.com"},"directories":{},"maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/telegram-chat-bot-mcp_0.1.17_1773729142331_0.6918084808486109"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-03T23:44:14.864Z","modified":"2026-03-17T06:32:22.625Z","0.1.0":"2025-11-03T23:44:15.095Z","0.1.1":"2025-11-03T23:54:21.490Z","0.1.2":"2025-11-04T00:31:12.350Z","0.1.3":"2025-11-04T00:40:27.740Z","0.1.4":"2025-11-04T00:43:05.233Z","0.1.5":"2025-11-05T00:03:01.875Z","0.1.6":"2025-11-05T09:27:28.052Z","0.1.7":"2025-11-06T04:07:32.204Z","0.1.8":"2025-11-06T04:54:23.430Z","0.1.9":"2025-11-07T17:05:14.008Z","0.1.10":"2025-11-07T17:44:46.102Z","0.1.11":"2025-11-07T17:49:07.387Z","0.1.12":"2025-11-12T19:49:48.233Z","0.1.13":"2025-11-12T20:04:38.927Z","0.1.14":"2025-11-13T00:28:00.104Z","0.1.15":"2025-11-13T00:41:50.113Z","0.1.16":"2025-11-13T00:46:39.249Z","0.1.17":"2026-03-17T06:32:22.525Z"},"bugs":{"url":"https://github.com/ice3x2/telegram-chat-bot-mcp/issues"},"author":{"name":"ice3x2"},"license":"MIT","homepage":"https://github.com/ice3x2/telegram-chat-bot-mcp#readme","keywords":["mcp","telegram","telegram-bot","bot-api","markdown","html","model-context-protocol"],"repository":{"type":"git","url":"git+https://github.com/ice3x2/telegram-chat-bot-mcp.git"},"description":"MCP server for Telegram Bot API with Markdown support","maintainers":[{"name":"snoworca","email":"ice3x2@gmail.com"}],"readme":"# Telegram Bot MCP Server\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![npm version](https://img.shields.io/npm/v/telegram-chat-bot-mcp.svg)](https://www.npmjs.com/package/telegram-chat-bot-mcp)\n\nAn MCP (Model Context Protocol) server for sending rich-formatted messages via Telegram Bot API.\nSupports both **HTML** and **MarkdownV2** output modes with full Telegram entity coverage.\n\n## Key Features\n\n- **Dual Parse Mode**: Choose between `HTML` (default, recommended) and `MarkdownV2` output\n- **Full Telegram Entity Support**: Bold, italic, underline, strikethrough, spoiler, blockquote, code, links, and more\n- **Nested Formatting**: `**bold _italic_ bold**` renders correctly via token-based parser\n- **Smart Auto-splitting**: Messages exceeding 4096 chars are automatically split at natural boundaries\n- **Auto Fallback**: Falls back to plain text when conversion or sending fails\n- **MCP Protocol**: Works with Claude Desktop, Claude Code, VS Code Copilot, Cursor, Windsurf, and more\n- **Inline Keyboards**: Buttons with URL, callback_data, etc.\n- **Photo Sending**: Send photos with formatted captions\n- **Structured Logging**: JSON format logs with configurable retention\n\n## Installation\n\n```bash\nnpm install -g telegram-chat-bot-mcp\n```\n\n### Update\n\n```bash\nnpm update -g telegram-chat-bot-mcp\n```\n\n## Telegram Bot Setup\n\n### 1) Create Bot via @BotFather\n\n1. Search for **@BotFather** in Telegram\n2. Send `/newbot` and follow the instructions\n3. Set bot name and username (username must end with `bot`)\n4. Save the Bot Token (format: `<digits>:<alphanumeric_string>`)\n\n### 2) Get Chat ID\n\n- **Use @userinfobot or @getidsbot**: Start the bot to see your user ID\n- **For groups**: Add bot to group, send a test message, then call:\n  ```\n  https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates\n  ```\n  Find the `chat.id` value (group IDs are negative, e.g., `-1001234567890`)\n\n## MCP Client Configuration\n\nThis MCP server integrates with various AI coding tools. Choose your tool below:\n\n### Claude Desktop\n\n**Configuration file:**\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n- **Linux**: `~/.config/Claude/claude_desktop_config.json`\n\n**Access:** Claude > Settings > Developer > Edit Config\n\n**Example:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### Claude Code (CLI)\n\n**Configuration files (by priority):**\n1. **Project** (team-shared): `.mcp.json` (at project root)\n2. **User** (global): `~/.config/claude-code/mcp.json`\n\n**Add server via command:**\n```bash\nnano ~/.config/claude-code/mcp.json\n\n# After changes, reconnect\nclaude mcp reconnect telegram\n```\n\n**Example:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### VS Code (GitHub Copilot)\n\n**Requirements:** VS Code 1.99+ (March 2025), Agent Mode enabled\n\n**Configuration files:**\n- **Workspace**: `.vscode/mcp.json` (project-specific)\n- **User**: Command Palette > \"MCP: Open User Configuration\"\n\n**Example (.vscode/mcp.json):**\n```json\n{\n  \"servers\": {\n    \"telegram\": {\n      \"type\": \"stdio\",\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### Cursor IDE\n\n**Configuration files:**\n- **Global**: `~/.cursor/mcp.json`\n- **Project**: `.cursor/mcp.json`\n\n**Access:** Settings > MCP or direct file edit\n\n**Example:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### Windsurf IDE (Codeium)\n\n**Configuration file:**\n- **macOS**: `~/.codeium/windsurf/mcp_config.json`\n- **Windows**: `%USERPROFILE%\\.codeium\\windsurf\\mcp_config.json`\n\n**Access:** Cascade toolbar > Hammer icon > Configure\n\n**Example:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n## Provided Tools (6)\n\n| Tool | Description |\n|------|-------------|\n| **`send_telegram_text`** | Send plain text messages |\n| **`send_telegram_markdown`** | Convert Markdown and send via HTML or MarkdownV2 (recommended) |\n| **`send_telegram_with_buttons`** | Send messages with inline keyboard buttons |\n| **`send_telegram_photo`** | Send images/photos (URL or Telegram file_id) |\n| **`markdown_to_telegram_html`** | Convert Markdown to Telegram HTML (utility) |\n| **`convert_markdown`** | Convert Markdown to HTML or MarkdownV2 format (utility) |\n\nAll tools use `TELEGRAM_CHAT_ID` from environment variables by default. You can optionally override with individual `chatId` parameter.\n\n### Parse Mode Selection\n\nThe `send_telegram_markdown` and `convert_markdown` tools accept a `parseMode` parameter:\n\n| Mode | Description | When to Use |\n|------|-------------|-------------|\n| `HTML` (default) | Converts Markdown to Telegram HTML | Recommended for most use cases. Easier escaping (3 chars). |\n| `MarkdownV2` | Converts Markdown to Telegram MarkdownV2 | When native MarkdownV2 output is needed. Stricter escaping (18 chars). |\n\n**Example — sending with MarkdownV2:**\n```json\n{\n  \"tool\": \"send_telegram_markdown\",\n  \"arguments\": {\n    \"markdown\": \"**Bold** and __underline__ text\",\n    \"parseMode\": \"MarkdownV2\"\n  }\n}\n```\n\n## Supported Markdown Syntax\n\n| Syntax | Input | HTML Output | MarkdownV2 Output |\n|--------|-------|-------------|-------------------|\n| Bold | `**bold**` | `<b>bold</b>` | `*bold*` |\n| Italic | `*italic*` | `<i>italic</i>` | `_italic_` |\n| Underline | `__underline__` | `<u>underline</u>` | `__underline__` |\n| Strikethrough | `~~strike~~` | `<s>strike</s>` | `~strike~` |\n| Spoiler | `\\|\\|spoiler\\|\\|` | `<tg-spoiler>spoiler</tg-spoiler>` | `\\|\\|spoiler\\|\\|` |\n| Inline Code | `` `code` `` | `<code>code</code>` | `` `code` `` |\n| Code Block | ` ```lang\\ncode\\n``` ` | `<pre>code</pre>` | ` ```lang\\ncode\\n``` ` |\n| Blockquote | `> quote` | `<blockquote>quote</blockquote>` | `>quote` |\n| Link | `[text](url)` | `<a href=\"url\">text</a>` | `[text](url)` |\n| Image | `![alt](url)` | Link with emoji prefix | `![alt](url)` |\n| Header | `# H1`, `## H2` | Bold heading | Bold text |\n| List | `- item` | Bullet point | Escaped list |\n| Table | `\\| A \\| B \\|` | `<pre>` monospace | ` ``` ` monospace |\n| Nested | `**bold _italic_**` | `<b>bold <i>italic</i></b>` | `*bold _italic_*` |\n\n### Escaping\n\nEscaping is handled automatically by the converter:\n\n- **HTML mode**: Escapes `&`, `<`, `>` (3 characters)\n- **MarkdownV2 mode**: Escapes `_ * [ ] ( ) ~ \\` > # + - = | { } . !` (18 characters)\n- **Inside code blocks**: Minimal escaping (only `` ` `` and `\\` in MarkdownV2)\n- **Inside URLs**: Only `)` and `\\` in MarkdownV2\n\n## Environment Variables\n\n### Required\n\n| Variable | Description |\n|----------|-------------|\n| `TELEGRAM_BOT_TOKEN` | Bot Token from @BotFather |\n| `TELEGRAM_CHAT_ID` | Target Chat ID (user or group) |\n\n### Optional (Logging)\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `LOG_LEVEL` | Log level (DEBUG, INFO, WARN, ERROR) | `INFO` |\n| `LOG_DIR` | Log directory path | `./logs` |\n| `LOG_RETENTION_DAYS` | Days to keep logs | `30` |\n| `LOG_ENABLE_CONSOLE` | Enable console output | `true` |\n\n## Testing\n\n```bash\n# Set environment variables\nexport TELEGRAM_BOT_TOKEN=\"<YOUR_BOT_TOKEN>\"\nexport TELEGRAM_CHAT_ID=\"<YOUR_CHAT_ID>\"\n\n# Build first\nnpm run build\n\n# Unit tests (154 tests)\nnpx vitest run\n\n# Individual test scripts\nnpm run test:telegram:text       # Plain text test\nnpm run test:telegram:markdown   # Markdown conversion test\nnpm run test:mcp:server          # MCP protocol test\n```\n\n## Development\n\n```bash\nnpm install         # Install dependencies\nnpm run build       # Build TypeScript\nnpm run dev         # Run in dev mode\nnpm run lint        # Lint code\nnpm run lint:fix    # Auto-fix lint issues\nnpx vitest run      # Run all tests\n```\n\n## Architecture\n\n```\nsrc/\n├── server.ts                       # MCP server & tool registration\n├── tools/\n│   ├── markdownToTelegram.ts       # Markdown → Telegram HTML (token-based parser)\n│   ├── markdownToMarkdownV2.ts     # Markdown → Telegram MarkdownV2\n│   ├── markdownConverter.ts        # Dual-mode router (HTML / MarkdownV2)\n│   ├── sendTelegramMarkdown.ts     # Send with auto-conversion & splitting\n│   ├── sendTelegramText.ts         # Send plain text\n│   ├── sendTelegramWithButtons.ts  # Send with inline keyboard\n│   └── sendTelegramPhoto.ts        # Send photos\n├── utils/\n│   ├── escapeUtils.ts              # HTML & MarkdownV2 escape functions\n│   ├── markdownSplitter.ts         # Auto-split long messages\n│   ├── axiosConfig.ts              # HTTP client config\n│   └── logger.ts                   # Structured JSON logger\n└── types/\n    └── telegram.ts                 # Telegram API type definitions\n```\n\n## Limitations and Considerations\n\n### Telegram Bot API Constraints\n\n- **HTML Tags**: Supports `b`, `i`, `u`, `s`, `code`, `pre`, `a`, `blockquote`, `tg-spoiler`\n- **Tables**: Rendered as `<pre>` monospace text (Telegram doesn't support `<table>`)\n- **Images**: HTTPS only, ~10MB file size limit\n- **Message Length**: 4096 character limit (auto-split when exceeded)\n- **MarkdownV2 Escaping**: All 18 special characters must be escaped (handled automatically)\n\n### HTML vs MarkdownV2 Comparison\n\n| Aspect | HTML | MarkdownV2 |\n|--------|------|------------|\n| Escape chars | 3 (`<`, `>`, `&`) | 18 (`_`, `*`, `[`, `]`, etc.) |\n| Error risk | Low | Higher (one missed escape = 400 error) |\n| Nested formatting | Clear XML-style tags | Symbol-based, ambiguity possible |\n| Recommendation | Default choice | When native V2 output is required |\n\n## Security\n\n**Bot Token and Chat ID are sensitive information.**\n\n- Never commit credentials to Git\n- Do not expose in public repositories\n- Use environment variables for secrets\n- If leaked, regenerate token via @BotFather\n\n## Troubleshooting\n\n**MCP server not connecting:**\n- Verify global installation: `npm install -g telegram-chat-bot-mcp`\n- Check environment variables are set correctly\n- Restart your AI tool after configuration changes\n\n**Timeout errors (WSL users):**\n- This package includes IPv4 enforcement to prevent WSL IPv6 timeout issues\n- If timeout persists, check network connectivity to api.telegram.org\n\n**Tools not appearing:**\n- Verify configuration file is in the correct location for your tool\n- Validate JSON syntax\n- Restart MCP server or reconnect\n\n**MarkdownV2 sending fails (400 Bad Request):**\n- This usually means an unescaped special character\n- Switch to HTML mode (default) which is more forgiving\n- Check the Telegram Bot API documentation for MarkdownV2 escaping rules\n\n## License\n\nMIT License - See [LICENSE](LICENSE) file\n\n## Links\n\n- [Telegram Bot API](https://core.telegram.org/bots/api)\n- [Telegram Formatting Options](https://core.telegram.org/bots/api#formatting-options)\n- [Model Context Protocol](https://github.com/modelcontextprotocol)\n- [GitHub Repository](https://github.com/ice3x2/telegram-chat-bot-mcp)\n- [npm Package](https://www.npmjs.com/package/telegram-chat-bot-mcp)\n\n---\n\n# Korean Documentation\n\n# Telegram Bot MCP Server\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![npm version](https://img.shields.io/npm/v/telegram-chat-bot-mcp.svg)](https://www.npmjs.com/package/telegram-chat-bot-mcp)\n\nTelegram Bot API를 통해 서식이 적용된 메시지를 전송하는 MCP (Model Context Protocol) 서버입니다.\n**HTML**과 **MarkdownV2** 두 가지 출력 모드를 지원하며, Telegram의 모든 텍스트 엔티티를 지원합니다.\n\n## 주요 기능\n\n- **듀얼 파싱 모드**: `HTML` (기본값, 권장)과 `MarkdownV2` 출력 선택 가능\n- **전체 Telegram 엔티티 지원**: 굵게, 기울임, 밑줄, 취소선, 스포일러, 인용, 코드, 링크 등\n- **중첩 포맷팅**: `**bold _italic_ bold**`가 토큰 기반 파서로 정확히 렌더링\n- **자동 메시지 분할**: 4096자 초과 시 자연스러운 경계에서 자동 분할\n- **자동 폴백**: 변환 또는 전송 실패 시 평문으로 자동 전환\n- **MCP 프로토콜 지원**: Claude Desktop, Claude Code, VS Code Copilot, Cursor, Windsurf 등\n- **인라인 키보드**: URL, callback_data 등 다양한 버튼 지원\n- **사진 전송**: 서식이 적용된 캡션과 함께 사진 전송\n- **구조화된 로깅**: JSON 형식 로그, 설정 가능한 보관 정책\n\n## 설치\n\n```bash\nnpm install -g telegram-chat-bot-mcp\n```\n\n### 업데이트\n\n```bash\nnpm update -g telegram-chat-bot-mcp\n```\n\n## Telegram 봇 설정\n\n### 1) @BotFather로 봇 생성\n\n1. Telegram에서 **@BotFather** 검색\n2. `/newbot` 명령어 전송 후 안내 따르기\n3. 봇 이름과 사용자명 설정 (사용자명은 `bot`으로 끝나야 함)\n4. Bot Token 안전하게 저장 (형식: `<숫자>:<영숫자>`)\n\n### 2) Chat ID 얻기\n\n- **@userinfobot 또는 @getidsbot 사용**: 봇 시작하면 사용자 ID 표시\n- **그룹의 경우**: 봇을 그룹에 추가하고 테스트 메시지 전송 후:\n  ```\n  https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates\n  ```\n  `chat.id` 값 확인 (그룹 ID는 음수, 예: `-1001234567890`)\n\n## MCP 클라이언트 설정\n\n다양한 AI 코딩 도구와 통합 가능합니다. 사용하는 도구를 선택하세요:\n\n### Claude Desktop\n\n**설정 파일:**\n- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`\n- **Linux**: `~/.config/Claude/claude_desktop_config.json`\n\n**접근 방법:** Claude > Settings > Developer > Edit Config\n\n**예시:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### Claude Code (CLI)\n\n**설정 파일 (우선순위 순):**\n1. **프로젝트**: `.mcp.json` (팀 공유용)\n2. **사용자**: `~/.config/claude-code/mcp.json` (개인 전역 설정)\n\n**명령어로 추가:**\n```bash\nnano ~/.config/claude-code/mcp.json\n\n# 변경 후 재연결\nclaude mcp reconnect telegram\n```\n\n**예시:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### VS Code (GitHub Copilot)\n\n**요구사항:** VS Code 1.99 이상 (2025년 3월), Agent Mode 활성화\n\n**설정 파일:**\n- **워크스페이스**: `.vscode/mcp.json` (프로젝트별)\n- **사용자**: Command Palette > \"MCP: Open User Configuration\"\n\n**예시 (.vscode/mcp.json):**\n```json\n{\n  \"servers\": {\n    \"telegram\": {\n      \"type\": \"stdio\",\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### Cursor IDE\n\n**설정 파일:**\n- **전역**: `~/.cursor/mcp.json`\n- **프로젝트**: `.cursor/mcp.json`\n\n**접근 방법:** Settings > MCP 또는 파일 직접 편집\n\n**예시:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n### Windsurf IDE (Codeium)\n\n**설정 파일:**\n- **macOS**: `~/.codeium/windsurf/mcp_config.json`\n- **Windows**: `%USERPROFILE%\\.codeium\\windsurf\\mcp_config.json`\n\n**접근 방법:** Cascade 툴바 > Hammer 아이콘 > Configure\n\n**예시:**\n```json\n{\n  \"mcpServers\": {\n    \"telegram\": {\n      \"command\": \"telegram-chat-bot-mcp\",\n      \"env\": {\n        \"TELEGRAM_BOT_TOKEN\": \"<YOUR_BOT_TOKEN>\",\n        \"TELEGRAM_CHAT_ID\": \"<YOUR_CHAT_ID>\"\n      }\n    }\n  }\n}\n```\n\n## 제공 도구 (6개)\n\n| 도구 | 설명 |\n|------|------|\n| **`send_telegram_text`** | 평문 메시지 전송 |\n| **`send_telegram_markdown`** | Markdown을 HTML 또는 MarkdownV2로 변환하여 전송 (권장) |\n| **`send_telegram_with_buttons`** | 인라인 키보드 버튼 포함 메시지 전송 |\n| **`send_telegram_photo`** | 이미지/사진 전송 (URL 또는 Telegram file_id) |\n| **`markdown_to_telegram_html`** | Markdown을 Telegram HTML로 변환 (유틸리티) |\n| **`convert_markdown`** | Markdown을 HTML 또는 MarkdownV2로 변환 (유틸리티) |\n\n모든 도구는 기본적으로 환경변수의 `TELEGRAM_CHAT_ID`를 사용합니다. 개별 `chatId` 파라미터로 재정의 가능합니다.\n\n### 파싱 모드 선택\n\n`send_telegram_markdown`과 `convert_markdown` 도구는 `parseMode` 파라미터를 지원합니다:\n\n| 모드 | 설명 | 사용 시기 |\n|------|------|----------|\n| `HTML` (기본값) | Markdown을 Telegram HTML로 변환 | 대부분의 경우 권장. 이스케이프가 간단 (3개 문자). |\n| `MarkdownV2` | Markdown을 Telegram MarkdownV2로 변환 | 네이티브 MarkdownV2 출력이 필요할 때. 이스케이프가 엄격 (18개 문자). |\n\n**예시 — MarkdownV2로 전송:**\n```json\n{\n  \"tool\": \"send_telegram_markdown\",\n  \"arguments\": {\n    \"markdown\": \"**Bold** and __underline__ text\",\n    \"parseMode\": \"MarkdownV2\"\n  }\n}\n```\n\n## 지원하는 Markdown 문법\n\n| 문법 | 입력 | HTML 출력 | MarkdownV2 출력 |\n|------|------|-----------|----------------|\n| 굵게 | `**bold**` | `<b>bold</b>` | `*bold*` |\n| 기울임 | `*italic*` | `<i>italic</i>` | `_italic_` |\n| 밑줄 | `__underline__` | `<u>underline</u>` | `__underline__` |\n| 취소선 | `~~strike~~` | `<s>strike</s>` | `~strike~` |\n| 스포일러 | `\\|\\|spoiler\\|\\|` | `<tg-spoiler>spoiler</tg-spoiler>` | `\\|\\|spoiler\\|\\|` |\n| 인라인 코드 | `` `code` `` | `<code>code</code>` | `` `code` `` |\n| 코드 블록 | ` ```lang\\ncode\\n``` ` | `<pre>code</pre>` | ` ```lang\\ncode\\n``` ` |\n| 인용 | `> quote` | `<blockquote>quote</blockquote>` | `>quote` |\n| 링크 | `[text](url)` | `<a href=\"url\">text</a>` | `[text](url)` |\n| 이미지 | `![alt](url)` | 이모지 + 링크 | `![alt](url)` |\n| 헤더 | `# H1`, `## H2` | 굵은 제목 | 굵은 텍스트 |\n| 리스트 | `- item` | 불릿 포인트 | 이스케이프된 리스트 |\n| 표 | `\\| A \\| B \\|` | `<pre>` 고정폭 | ` ``` ` 고정폭 |\n| 중첩 | `**bold _italic_**` | `<b>bold <i>italic</i></b>` | `*bold _italic_*` |\n\n### 이스케이프 처리\n\n이스케이프는 변환기가 자동으로 처리합니다:\n\n- **HTML 모드**: `&`, `<`, `>` 3개 문자 이스케이프\n- **MarkdownV2 모드**: `_ * [ ] ( ) ~ \\` > # + - = | { } . !` 18개 문자 이스케이프\n- **코드 블록 내부**: 최소 이스케이프 (MarkdownV2에서 `` ` ``과 `\\`만)\n- **URL 내부**: MarkdownV2에서 `)`과 `\\`만\n\n## 환경 변수\n\n### 필수\n\n| 변수 | 설명 |\n|------|------|\n| `TELEGRAM_BOT_TOKEN` | @BotFather에서 받은 Bot Token |\n| `TELEGRAM_CHAT_ID` | 대상 Chat ID (사용자 또는 그룹) |\n\n### 선택 (로깅 관련)\n\n| 변수 | 설명 | 기본값 |\n|------|------|--------|\n| `LOG_LEVEL` | 로그 레벨 (DEBUG, INFO, WARN, ERROR) | `INFO` |\n| `LOG_DIR` | 로그 디렉토리 경로 | `./logs` |\n| `LOG_RETENTION_DAYS` | 로그 보관 일수 | `30` |\n| `LOG_ENABLE_CONSOLE` | 콘솔 출력 활성화 | `true` |\n\n## 테스트\n\n```bash\n# 환경변수 설정\nexport TELEGRAM_BOT_TOKEN=\"<YOUR_BOT_TOKEN>\"\nexport TELEGRAM_CHAT_ID=\"<YOUR_CHAT_ID>\"\n\n# 빌드\nnpm run build\n\n# 단위 테스트 (154개)\nnpx vitest run\n\n# 개별 테스트 스크립트\nnpm run test:telegram:text       # 평문 메시지 테스트\nnpm run test:telegram:markdown   # Markdown 변환 테스트\nnpm run test:mcp:server          # MCP 프로토콜 테스트\n```\n\n## 개발\n\n```bash\nnpm install         # 의존성 설치\nnpm run build       # TypeScript 빌드\nnpm run dev         # 개발 모드 실행\nnpm run lint        # 코드 린트\nnpm run lint:fix    # 린트 자동 수정\nnpx vitest run      # 모든 테스트 실행\n```\n\n## 아키텍처\n\n```\nsrc/\n├── server.ts                       # MCP 서버 및 도구 등록\n├── tools/\n│   ├── markdownToTelegram.ts       # Markdown → Telegram HTML (토큰 기반 파서)\n│   ├── markdownToMarkdownV2.ts     # Markdown → Telegram MarkdownV2\n│   ├── markdownConverter.ts        # 듀얼 모드 라우터 (HTML / MarkdownV2)\n│   ├── sendTelegramMarkdown.ts     # 자동 변환 및 분할 전송\n│   ├── sendTelegramText.ts         # 평문 전송\n│   ├── sendTelegramWithButtons.ts  # 인라인 키보드 전송\n│   └── sendTelegramPhoto.ts        # 사진 전송\n├── utils/\n│   ├── escapeUtils.ts              # HTML 및 MarkdownV2 이스케이프 함수\n│   ├── markdownSplitter.ts         # 긴 메시지 자동 분할\n│   ├── axiosConfig.ts              # HTTP 클라이언트 설정\n│   └── logger.ts                   # 구조화된 JSON 로거\n└── types/\n    └── telegram.ts                 # Telegram API 타입 정의\n```\n\n## 제한사항 및 고려사항\n\n### Telegram Bot API 제약\n\n- **HTML 태그**: `b`, `i`, `u`, `s`, `code`, `pre`, `a`, `blockquote`, `tg-spoiler` 지원\n- **표**: `<pre>` 고정폭 텍스트로 변환 (Telegram은 `<table>`을 지원하지 않음)\n- **이미지**: HTTPS만 허용, 약 10MB 파일 크기 제한\n- **메시지 길이**: 4096자 제한 (초과 시 자동 분할)\n- **MarkdownV2 이스케이프**: 18개 특수문자를 모두 이스케이프해야 함 (자동 처리됨)\n\n### HTML vs MarkdownV2 비교\n\n| 항목 | HTML | MarkdownV2 |\n|------|------|------------|\n| 이스케이프 문자 수 | 3개 (`<`, `>`, `&`) | 18개 (`_`, `*`, `[`, `]` 등) |\n| 오류 위험도 | 낮음 | 높음 (하나라도 누락 시 400 에러) |\n| 중첩 포맷팅 | 명확한 XML 스타일 태그 | 기호 기반, 모호성 가능 |\n| 권장 | 기본 선택 | 네이티브 V2 출력이 필요할 때 |\n\n## 보안\n\n**Bot Token과 Chat ID는 민감 정보입니다.**\n\n- Git에 절대 커밋하지 마세요\n- 공개 저장소에 노출하지 마세요\n- 비밀 정보는 환경변수 사용\n- 유출 의심 시 @BotFather를 통해 토큰 재발급\n\n## 문제 해결\n\n**MCP 서버가 연결되지 않음:**\n- 전역 설치 확인: `npm install -g telegram-chat-bot-mcp`\n- 환경변수가 올바르게 설정되었는지 확인\n- 설정 변경 후 AI 도구 재시작\n\n**타임아웃 에러 (WSL 사용자):**\n- 이 패키지는 WSL IPv6 타임아웃 문제를 방지하기 위해 IPv4 강제를 포함합니다\n- 타임아웃이 지속되면 api.telegram.org에 대한 네트워크 연결 확인\n\n**도구가 표시되지 않음:**\n- 사용하는 도구에 맞는 올바른 위치에 설정 파일이 있는지 확인\n- JSON 문법이 유효한지 확인\n- MCP 서버 재시작 또는 재연결\n\n**MarkdownV2 전송 실패 (400 Bad Request):**\n- 이스케이프되지 않은 특수문자가 원인일 수 있습니다\n- HTML 모드(기본값)로 전환하면 더 관대하게 처리됩니다\n- Telegram Bot API 문서의 MarkdownV2 이스케이프 규칙을 확인하세요\n\n## 라이선스\n\nMIT License - [LICENSE](LICENSE) 파일 참조\n\n## 링크\n\n- [Telegram Bot API](https://core.telegram.org/bots/api)\n- [Telegram 포맷팅 옵션](https://core.telegram.org/bots/api#formatting-options)\n- [Model Context Protocol](https://github.com/modelcontextprotocol)\n- [GitHub Repository](https://github.com/ice3x2/telegram-chat-bot-mcp)\n- [npm Package](https://www.npmjs.com/package/telegram-chat-bot-mcp)\n- [Issues](https://github.com/ice3x2/telegram-chat-bot-mcp/issues)\n","readmeFilename":"README.md"}