Server data from the Official MCP Registry
Self-hosted MCP server: Telegram userbot control (Telethon) via HTTP and MCP.
Self-hosted MCP server: Telegram userbot control (Telethon) via HTTP and MCP.
This MCP server provides a Telegram userbot bridge with comprehensive tool coverage and reasonable authentication. The code quality is generally good with proper input validation and rate limiting. However, there are concerns around broad exception handling, sensitive data exposure risks in logging, and the inherent danger of giving AI assistants full read/write access to a real Telegram user account without granular permission controls. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity).
4 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: TELETHON_API_ID
Environment variable: TELETHON_API_HASH
Environment variable: TELETHON_SESSION
Environment variable: TELETHON_HTTP_LISTEN_ADDRESS
Environment variable: TELETHON_LOG_LEVEL
Environment variable: TELETHON_REQUEST_TIMEOUT
Environment variable: TELETHON_FLOOD_SLEEP_THRESHOLD
Environment variable: TELETHON_DEVICE_MODEL
Environment variable: TELETHON_SYSTEM_VERSION
Environment variable: TELETHON_APP_VERSION
Environment variable: TELETHON_DOWNLOAD_DIR
Environment variable: TELETHON_AUTH_KEY
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-psyb0t-telethon-plus": {
"env": {
"TELETHON_API_ID": "your-telethon-api-id-here",
"TELETHON_SESSION": "your-telethon-session-here",
"TELETHON_API_HASH": "your-telethon-api-hash-here",
"TELETHON_AUTH_KEY": "your-telethon-auth-key-here",
"TELETHON_LOG_LEVEL": "your-telethon-log-level-here",
"TELETHON_APP_VERSION": "your-telethon-app-version-here",
"TELETHON_DEVICE_MODEL": "your-telethon-device-model-here",
"TELETHON_DOWNLOAD_DIR": "your-telethon-download-dir-here",
"TELETHON_SYSTEM_VERSION": "your-telethon-system-version-here",
"TELETHON_REQUEST_TIMEOUT": "your-telethon-request-timeout-here",
"TELETHON_HTTP_LISTEN_ADDRESS": "your-telethon-http-listen-address-here",
"TELETHON_FLOOD_SLEEP_THRESHOLD": "your-telethon-flood-sleep-threshold-here"
},
"args": [
"-y",
"github:psyb0t/docker-telethon-plus"
],
"command": "npx"
}
}
}From the project's GitHub README.
Your Telegram account, but it takes HTTP requests. Wraps Telethon — the real MTProto userbot client, not that neutered Bot API garbage — behind a JSON HTTP API and a Model Context Protocol endpoint.
Same tools, two doors. POST some JSON, or point your AI agent at /mcp and let it go nuts. Either way it's talking to Telegram as you, with full account access.
One login. One session string. Never type a code again.
+-------------------+ +-----------------------+
| Any HTTP client | -----> | REST /api/... | --+
+-------------------+ +-----------------------+ |
| +-----------+ Telegram
+-------------------+ +-----------------------+ +-> | Telethon | <----> Servers
| MCP-aware agent | -----> | /mcp (Streamable | --+ +-----------+ (MTProto)
| (Claude, etc.) | | HTTP transport) |
+-------------------+ +-----------------------+
One Telethon client. One async lock. Both surfaces share the same tool registry — no duplication, no weird state, no bullshit.
services:
telethon-plus:
image: psyb0t/telethon-plus
ports:
- "8080:8080"
environment:
TELETHON_API_ID: "123456"
TELETHON_API_HASH: "your-api-hash"
TELETHON_SESSION: "1Aa...long-string-from-login-helper..."
restart: unless-stopped
Get API_ID / API_HASH from https://my.telegram.org/apps. Get the session string from the login helper below.
Telegram makes you prove you're a human once — phone number, SMS code, optionally 2FA. Do it once, never again.
cp .env.example .env
$EDITOR .env # put in TELETHON_API_ID and TELETHON_API_HASH
make login
make login builds the image, runs the interactive flow, and shoves TELETHON_SESSION straight into your .env. That's it. Run make run and you're live.
No repo? No problem:
docker run --rm -it \
-e TELETHON_API_ID=123456 \
-e TELETHON_API_HASH=your-api-hash \
psyb0t/telethon-plus login
Copy the session string it spits out, set it as TELETHON_SESSION, done.
The session string is full account access. Whoever has it is you. Don't commit it, don't paste it in Slack, don't tattoo it anywhere.
All config via environment variables. Copy .env.example to get the full list with comments.
| Variable | Required | Default | Description |
|---|---|---|---|
TELETHON_API_ID | yes | — | API ID from my.telegram.org |
TELETHON_API_HASH | yes | — | API hash from my.telegram.org |
TELETHON_SESSION | yes | — | StringSession from the login helper |
TELETHON_HTTP_LISTEN_ADDRESS | no | 0.0.0.0:8080 | host:port to bind |
TELETHON_LOG_LEVEL | no | INFO | DEBUG, INFO, WARNING, ERROR |
TELETHON_REQUEST_TIMEOUT | no | 60 | Per-request timeout in seconds |
TELETHON_FLOOD_SLEEP_THRESHOLD | no | 60 | Auto-sleep through FLOOD_WAIT errors below this many seconds. Telegram will rate-limit you — this is the safety valve. |
TELETHON_DEVICE_MODEL | no | docker-telethon-plus | What Telegram thinks your device is |
TELETHON_SYSTEM_VERSION | no | 1.0 | Ditto for OS |
TELETHON_APP_VERSION | no | 1.0 | Ditto for app |
TELETHON_DOWNLOAD_DIR | no | /tmp/telethon-plus | Scratch space for send_file uploads |
TELETHON_AUTH_KEY | no | "" | When set, all endpoints require Authorization: Bearer <key>. /healthz stays public. Empty = no auth. |
Telegram bans accounts that hammer it. Defaults here are conservative — meant to keep you under the server-side limits without you having to think about it. Tune only if you know what you're doing.
| Variable | Default | What it does |
|---|---|---|
TELETHON_THROTTLE_ENABLED | true | Master switch for all rate-limiting below |
TELETHON_THROTTLE_GLOBAL_INTERVAL_MS | 50 | Min gap between any two outgoing requests |
TELETHON_THROTTLE_JITTER_MS | 200 | Random ±jitter added on top (kills metronome traffic patterns) |
TELETHON_THROTTLE_PER_CHAT_INTERVAL_MS | 1100 | Min gap between sends to the same chat (Telegram's "1/sec/chat" ceiling, with margin) |
TELETHON_THROTTLE_PER_CHAT_READ_INTERVAL_MS | 250 | Min gap between reads from the same chat. Stops single-channel scraping from monopolizing the read bucket. |
TELETHON_THROTTLE_ADAPTIVE | true | On each FLOOD_WAIT, multiply all waits ×2 for an hour. Resets after a quiet hour. |
TELETHON_BUCKET_RESOLVE_PER_MIN | 5 | Cap on resolveUsername — the main thing that gets accounts 22-hour-banned |
TELETHON_BUCKET_GET_FULL_PER_MIN | 10 | Cap on getFullChannel / getFullUser / get_participants |
TELETHON_BUCKET_JOIN_PER_HOUR | 5 | Cap on channel/group joins |
TELETHON_BUCKET_CREATE_PER_HOUR | 5 | Cap on channel/group creation |
TELETHON_BUCKET_SEND_PER_MIN | 20 | Cap on sends across all chats |
TELETHON_BUCKET_READ_PER_MIN | 600 | Cap on read ops. Counted per server-side API call, not per tool call: get_messages(limit=300) charges 3 slots (Telegram caps GetHistory at 100/page); get_dialogs(limit=500) similarly charges 5. |
TELETHON_CACHE_ENABLED | true | Persist resolved entities to disk |
TELETHON_CACHE_PATH | /cache/entities.json | Mount /cache as a host volume to keep this across rebuilds |
TELETHON_CACHE_TTL_SECONDS | 604800 | 7 days. Set 0 for no expiry. |
TELETHON_FLOOD_SLEEP_THRESHOLD | 60 | Telethon's reactive auto-sleep: if a FLOOD_WAIT is shorter than this many seconds, sleep through it. Above this, raise. Set very high (e.g. 86400) to never raise — but then a hostile FLOOD_WAIT will block your process for the full duration. |
How the layers stack:
@somechannel calls Telegram; every subsequent lookup is free. Survives container restarts via the /cache volume.For bulk scraping work (the scenario that caused 22-hour bans before): the cache + bucket_resolve_per_min=5 combination is what saves you. Resolving 200 new channels takes ~40 minutes instead of getting you banned in 5.
JSON in, JSON out. All inputs are pydantic-validated — send garbage, get a 400 back with exactly what's wrong.
Chat references (chat, from_chat, to_chat) accept whatever Telethon accepts:
| Format | Example |
|---|---|
| Username | @psyb0t |
| Phone number | +1234567890 |
| t.me link | https://t.me/psyb0t |
| Numeric ID | 123456789 |
| Supergroup/channel ID | -1001234567890 |
| Your own Saved Messages | me |
Numeric IDs only resolve for entities Telethon has already seen — i.e. cached in your session via a prior
@username/t.melookup, dialog list, or incoming message. MTProto needs anaccess_hash, not just an ID, and bare numbers don't carry one. Especially relevant for bots: pass@botusernamefirst (or callGET /api/dialogs/GET /api/entities?chat=@botonce) before referring to it by numeric ID. If you only have the bot's token and no username, hit Telegram's Bot APIgetMeto fetch the username, then use that.
Every 2xx returns the resource directly. No {"result": ...} wrapper, no envelope. Lists are JSON arrays, singles are JSON objects.
Errors return {"detail": "..."} (FastAPI standard). Telegram RPC errors arrive as 502 with detail = {"telegram_error": "...", "message": "..."}.
| Endpoint | Required params | What it does |
|---|---|---|
GET /api/me | — | Account profile. |
GET /api/entities | chat | Resolve a username/ID/link to a profile. |
POST /api/entities/bulk | chats | Bulk resolve, honoring the resolve-username bucket. |
GET /api/dialogs | — | List dialogs. Optional: limit, archived, search (substring on title/@). |
GET /api/messages | chat | Read recent messages. Optional: limit, offset_id, search. |
GET /api/messages/{id} | chat | Fetch a single message. |
GET /api/messages/{id}/media | chat | Download attachment as raw bytes (binary stream). Returns Content-Type from Telegram + Content-Disposition: attachment; filename=.... Optional: max_bytes. MCP clients should use the download_media tool which returns base64. |
POST /api/messages | chat, text or file_url | Send a message. If file_url is present, fetches it and sends as media (with text as caption). Otherwise sends text. Optional: parse_mode, reply_to, silent, link_preview, schedule, force_document, max_bytes. |
POST /api/messages/forward | from_chat, to_chat, message_ids | Forward messages. |
POST /api/messages/read | chat | Mark as read. Optional max_id. |
PATCH /api/messages/{id} | chat, text | Edit. |
DELETE /api/messages | chat, message_ids | Bulk delete (body has the list). |
POST /api/messages/{id}/pin | chat | Pin. Optional silent, pm_oneside. |
POST /api/messages/{id}/unpin | chat | Unpin. |
POST /api/messages/{id}/reactions | chat, emoji | React. Optional big. |
DELETE /api/messages/{id}/reactions | chat | Remove your reaction. |
GET /api/participants | chat | List members. Optional: limit, search. |
POST /api/chats | title | Create supergroup or channel. |
DELETE /api/chats | chat | Delete supergroup/channel you own (body). |
POST /api/chats/join | chat | Join public channel/group. |
POST /api/chats/invite | invite | Join via private t.me/+hash. |
POST /api/chats/leave | chat | Leave. |
GET /api/chats/{chat}/linked | — | Resolve a channel's linked discussion group. |
POST /api/chats/{chat}/admin/ban | user | Ban a user. Optional until_seconds. |
POST /api/chats/{chat}/admin/unban | user | Lift a ban. |
POST /api/chats/{chat}/admin/kick | user | Kick (ban + immediate unban). |
POST /api/chats/{chat}/admin/promote | user | Grant admin rights + optional title. |
POST /api/chats/{chat}/admin/demote | user | Strip admin rights. |
POST /api/polls | chat, question, options | Create a poll. Optional quiz, correct_option, solution. |
POST /api/polls/{id}/vote | chat, options | Vote (0-based indices). |
GET /api/polls/{id}/results | chat | Current vote counts. |
GET /api/throttle/status | — | Live rate-limit + cache state. |
GET /api/account/health | — | Flood-risk tier. |
GET /metrics | — | Prometheus exposition (no auth). |
WS /ws/updates | ?token=... | Stream incoming Telegram events. |
{chat} in path accepts the same formats as elsewhere: @username, numeric ID, me. Phone (+...) and t.me/... links need URL-encoding (%2B etc.) — usernames and IDs work inline.
Standard REST API. JSON in, JSON out. 2xx returns the resource directly; errors return {"detail": ...}.
If TELETHON_AUTH_KEY is set, every request (except /healthz) needs:
Authorization: Bearer your-secret-key
Who am I right now.
GET /api/me
{
"id": 123456789,
"type": "User",
"username": "psyb0t",
"first_name": "Ciprian",
"phone": "+40..."
}
Resolve any chat reference to a full profile.
GET /api/entities?chat=@telegram
{
"id": 1234567,
"type": "Channel",
"username": "telegram",
"title": "Telegram"
}
GET /api/dialogs?limit=10&archived=false
| Param | Type | Default | Description |
|---|---|---|---|
limit | int | 20 | How many dialogs (1–200) |
archived | bool | false | Include archived chats |
[
{
"id": 123456789,
"type": "User",
"username": "someone",
"first_name": "Some",
"last_name": "One",
"unread_count": 3,
"pinned": true,
"last_message": {
"id": 999,
"date": "2026-04-29T11:00:00+00:00",
"chat_id": 123456789,
"sender_id": 123456789,
"text": "hey",
"out": false,
"reply_to_msg_id": null,
"media": false,
"media_type": null
}
}
]
GET /api/messages?chat=me&limit=5&search=hello
| Param | Type | Default | Description |
|---|---|---|---|
chat | string | required | Chat to read from |
limit | int | 20 | How many messages (1–200) |
offset_id | int | 0 | Start from this message ID (pagination) |
search | string | — | Full-text search filter |
[
{
"id": 4242,
"date": "2026-04-29T12:00:00+00:00",
"chat_id": 12345,
"sender_id": 67890,
"text": "hello",
"out": false,
"reply_to_msg_id": null,
"media": false,
"media_type": null
}
]
Newest first. Returns [] if nothing matches.
Send a message. The same endpoint handles text and files — if the body contains file_url, the URL is fetched and sent as media (with text becoming the caption); otherwise text is sent as a plain message.
POST /api/messages
Content-Type: application/json
{
"chat": "@psyb0t",
"text": "**hello** from a container",
"parse_mode": "md",
"silent": true,
"reply_to": 4241
}
POST /api/messages
Content-Type: application/json
{
"chat": "@psyb0t",
"file_url": "https://example.com/photo.jpg",
"text": "look at this shit",
"silent": true
}
| Field | Type | Default | Description |
|---|---|---|---|
chat | string | required | Target chat |
text | string | required if no file_url | Message text or caption (1–4096 chars) |
file_url | string | null | HTTPS URL to fetch and send as media. Telegram auto-picks media type from extension/MIME; override with force_document. |
parse_mode | string | null | md / markdown / html / null |
reply_to | int | null | Message ID to reply to |
silent | bool | false | Send without notification |
link_preview | bool | true | Show link previews (text only) |
schedule | string | null | ISO datetime in the future to schedule the send |
force_document | bool | false | When sending a file: send as generic doc instead of letting Telegram pick |
max_bytes | int | 52428800 | When sending a file: reject larger than this (max 2 GB) |
{
"id": 4242,
"date": "2026-04-29T12:00:00+00:00",
"chat_id": 12345,
"sender_id": 67890,
"text": "hello from a container",
"out": true,
"reply_to_msg_id": 4241,
"media": false,
"media_type": null
}
Edit a message. Message ID goes in the URL, everything else in the body.
PATCH /api/messages/4242
Content-Type: application/json
{
"chat": "me",
"text": "fixed version",
"parse_mode": "md"
}
| Field | Type | Default | Description |
|---|---|---|---|
chat | string | required | Chat containing the message |
text | string | required | New text (1–4096 chars) |
parse_mode | string | null | md / html / null |
link_preview | bool | true | Show link previews |
{
"id": 4242,
"date": "2026-04-29T12:00:00+00:00",
"chat_id": 99999,
"sender_id": 123456789,
"text": "fixed version",
"out": true,
"reply_to_msg_id": null,
"media": false,
"media_type": null
}
Delete messages by ID.
DELETE /api/messages
Content-Type: application/json
{
"chat": "@psyb0t",
"message_ids": [4242, 4243],
"revoke": true
}
| Field | Type | Default | Description |
|---|---|---|---|
chat | string | required | Chat containing the messages |
message_ids | list[int] | required | IDs to delete (max 100) |
revoke | bool | true | Delete for everyone, not just yourself |
{ "deleted": 2, "requested": 2 }
POST /api/messages/forward
Content-Type: application/json
{
"from_chat": "@sourcechannel",
"to_chat": "me",
"message_ids": [101, 102, 103],
"silent": true
}
| Field | Type | Default | Description |
|---|---|---|---|
from_chat | string | required | Source chat |
to_chat | string | required | Destination chat |
message_ids | list[int] | required | IDs to forward (max 100) |
silent | bool | false | Forward without notification |
[
{
"id": 5001,
"date": "2026-04-29T12:01:00+00:00",
"chat_id": 99999,
"sender_id": 123456789,
"text": "forwarded content here",
"out": true,
"reply_to_msg_id": null,
"media": false,
"media_type": null
}
]
Mark messages as read.
POST /api/messages/read
Content-Type: application/json
{ "chat": "@psyb0t", "max_id": 0 }
| Field | Type | Default | Description |
|---|---|---|---|
chat | string | required | Chat to mark as read |
max_id | int | 0 | Mark up to this message ID. 0 = mark all. |
{ "ok": true }
List members of a group or channel.
GET /api/participants?chat=-1001234567890&limit=50&search=john
| Param | Type | Default | Description |
|---|---|---|---|
chat | string | required | Group or channel |
limit | int | 100 | Max members to return (1–1000) |
search | string | — | Filter by name |
[
{ "id": 123456789, "type": "User", "username": "johndoe", "first_name": "John" }
]
Large public channels may return a limited set or require admin rights.
Create a supergroup or broadcast channel.
POST /api/chats
Content-Type: application/json
{ "title": "my-group", "megagroup": true }
| Field | Type | Default | Description |
|---|---|---|---|
title | string | required | Group name (1–255 chars) |
megagroup | bool | true | true = supergroup, false = broadcast channel |
{ "id": 1234567890, "type": "Channel", "title": "my-group" }
Delete a supergroup or channel you own. Irreversible.
DELETE /api/chats
Content-Type: application/json
{ "chat": "-1001234567890" }
{ "ok": true }
Join a public channel or supergroup.
POST /api/chats/join
Content-Type: application/json
{ "chat": "@somegroup" }
{ "ok": true }
Leave a channel or supergroup.
POST /api/chats/leave
Content-Type: application/json
{ "chat": "@somegroup" }
{ "ok": true }
| Status | When |
|---|---|
400 | Bad JSON, validation failure, or Telethon said the input is nonsense. Body has details. |
401 | Missing or wrong Bearer token (only when TELETHON_AUTH_KEY is set). |
404 | Unknown endpoint. |
502 | Telegram threw an RPC error (FloodWaitError, ChatWriteForbiddenError, etc.). Body has the error class and message. |
GET /healthz
{ "status": "ok", "authorized": true }
authorized: false means the container started but the session is fucked — bad string, revoked, or Telegram unreachable. Always public, no auth required.
GET /metricsPrometheus exposition. Scrape it. No auth (publicly readable inside your cluster — if you need it locked down, put it behind your usual scrape-network policy).
Series exported:
telethon_plus_tool_calls_total{tool=...}telethon_plus_tool_errors_total{tool=...}telethon_plus_flood_events_total{bucket=...}telethon_plus_cache_hits_total / _misses_total / _entriestelethon_plus_throttle_multipliertelethon_plus_bucket_used{bucket=...} / _bucket_limit{bucket=...}telethon_plus_uptime_secondsGET /api/throttle/statusLive state of every bucket, multiplier, recent flood events, cache stats:
{
"throttle": {
"enabled": true,
"adaptive": true,
"multiplier": 1.0,
"flood_events_1h": 0,
"buckets": {
"resolve_username": {"used": 0, "limit": 5, "window_seconds": 60},
"send": {"used": 0, "limit": 20, "window_seconds": 60}
},
"tracked_chats_send": 12,
"tracked_chats_read": 30,
"global_interval_ms": 50,
"per_chat_interval_ms": 1100,
"per_chat_read_interval_ms": 250,
"jitter_ms": 200
},
"cache": {"entries": 247},
"read_only": false,
"dry_run": false
}
GET /api/account/health{
"authorized": true,
"risk": "ok",
"multiplier": 1.0,
"flood_events_1h": 0,
"read_only": false,
"dry_run": false
}
risk is ok (multiplier 1×), warning (≥2×), or high (≥8×).
Every /api/... response carries:
X-Throttle-MultiplierX-Throttle-Flood-Events-1hX-RateLimit-Remaining-<bucket> for each bucketLets clients self-throttle without polling /api/throttle/status.
Two ways to receive incoming Telegram events (new messages, edits, deletes, chat actions):
/ws/updatesconst ws = new WebSocket('ws://your-host:8080/ws/updates?token=YOUR_AUTH_KEY');
ws.onmessage = (e) => console.log(JSON.parse(e.data));
If TELETHON_AUTH_KEY is set, pass it as ?token=. Browser WS clients can't set Authorization headers, hence query-string.
Multiple subscribers are supported — each gets its own queue. Slow consumers drop events at TELETHON_UPDATES_BUFFER_SIZE.
TELETHON_POST_TO_URLSet the env var to your endpoint and every event gets POSTed there as JSON. Fire-and-forget — a slow or failing webhook never blocks Telethon's loop. Use for distributed workers, separate processes, anything that can't hold a WS open.
{
"type": "NewMessage",
"message": {
"id": 4242,
"date": "2026-04-29T12:00:00+00:00",
"text": "hi",
"out": false,
"sender_id": 12345,
"chat_id": -1001234567890,
"reply_to_msg_id": null,
"media": false,
"media_type": null
},
"chat_id": -1001234567890
}
For MessageEdited, MessageDeleted, ChatAction — same shape, fewer fields.
TELETHON_READ_ONLY=trueEvery write endpoint returns 403. Reads, status, metrics still work. Killswitch for panic mode or for keeping a test deployment harmless.
TELETHON_DRY_RUN=trueWrite endpoints accept the request, validate it, don't call Telegram, return {"dry_run": true, "would_...": {...}}. Useful for verifying scripts before pointing them at production.
Mounted at /mcp/ using the streamable HTTP transport. Every tool from the table above shows up automatically as an MCP tool with the same name and schema.
Point your agent at:
http://your-host:8080/mcp/
Stateless — every request is independent, no session juggling. Drop it into Claude Desktop, a custom agent, anything that speaks MCP over HTTP. Works out of the box.
make build # build psyb0t/telethon-plus:latest
make build-test # build psyb0t/telethon-plus:latest-test
make run # run locally on :8080 (reads .env)
make login # interactive login — writes TELETHON_SESSION to .env automatically
make lint # flake8 + pyright
make format # isort + black
make test # run integration tests in Docker
make clean # remove built images
Real tests. Real Telegram. No mocking bullshit.
tests/ spins up the container and hammers both REST and MCP with your actual account. Messages get sent and deleted. If anything breaks, you'll know.
Setup:
cp .env.example .env
$EDITOR .env # needs TELETHON_API_ID, TELETHON_API_HASH, TELETHON_SESSION, TEST_CHAT
make test
TEST_CHAT is where test messages land. Use me for Saved Messages — private, yours, no one else sees it. All chat reference formats from the Tools section work here.
make test builds both images and runs pytest inside Docker with the socket mounted. No setup beyond .env. If credentials are missing, the suite skips cleanly.
| Test file | What it beats on |
|---|---|
test_health.py | Container boots, auth succeeds, OpenAPI spec has all the routes. |
test_rest.py | Validation errors, extra fields rejected, send → edit → fetch → delete roundtrip, dialogs, entity resolution, public channel read, group create/delete, participants. |
test_mcp.py | MCP streamable HTTP: tool discovery, get_me, send + delete roundtrip, validation errors come back as isError. |
test_auth.py | Auth middleware: 401 on missing/wrong token, 200 on correct token, /healthz always public, MCP endpoint protected too. |
WTFPL — do whatever the fuck you want.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.