Files
sorsfonalak/services/backend/Cargo.toml
T
fecoandClaude Opus 5.5 2c63384606
CI / build (push) Skipped
CI / deploy (push) Skipped
CI / test (push) Successful in 4m27s
Admin tools for Claude: an MCP server, connected with an admin's approval
- services/mcp: the MCP server at /mcp (Streamable HTTP, stateless): the
  admin's reading tools, the daily tasks and the forum's moderation; every
  tool calls the site's API with the caller's token, and members' e-mail
  addresses and names are masked in the answers.
- Backend: OAuth 2.1 for MCP clients (registration with Claude's or a local
  return address only, PKCE, rotating refresh tokens, revocation); the admin
  guards accept the token for reading and the writes in MCP_WRITES only.
- Forum: an admin's token reaches the moderator endpoints only.
- Frontend: the approval page (/oauth/engedely), Admin → Claude to revoke a
  connection, the authorization server's metadata at its standard address.
- Deploy: the mcp service in compose, Caddy, CI; the worker removes old
  codes, tokens and clients. docs/mcp.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-27 17:09:14 +00:00

44 lines
1.2 KiB
TOML

[package]
name = "backend"
description = "Sorsfonalak backend: users, login, charts, synastries, analyses, credits, sharing"
edition.workspace = true
version.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
db.workspace = true
analysis-prompt.workspace = true
email-templates.workspace = true
gift-card.workspace = true
object-storage.workspace = true
hmac.workspace = true
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp"] }
rand.workspace = true
horoscope-client.workspace = true
service-kit.workspace = true
anyhow.workspace = true
deunicode.workspace = true
argon2.workspace = true
base64.workspace = true
password-hash = { version = "0.5", features = ["getrandom"] }
axum.workspace = true
axum-extra.workspace = true
jsonwebtoken.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
sqlx.workspace = true
thiserror.workspace = true
time.workspace = true
tokio.workspace = true
tower-http.workspace = true
tracing.workspace = true
uuid.workspace = true
[dev-dependencies]
jsonwebtoken = { workspace = true, features = ["use_pem"] }
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"