Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.1 KB
Raw Blame
[package]
name = "pgapi"
version = "0.1.0"
edition = "2021"
publish = false
description = "API + MCP server over the pgcollector stats database"

[dependencies]
anyhow = { workspace = true }
axum = { workspace = true }
base64 = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true, features = ["env"] }
deadpool-postgres = "0.14"
futures-util = { workspace = true }
humantime = { workspace = true }
jsonwebtoken = "8"
once_cell = { workspace = true }
prometheus = "0.13"
regex = { workspace = true }
reqwest = { workspace = true }
rmcp = { version = "3", features = ["server", "macros", "transport-streamable-http-server"] }
rust_decimal = { version = "1", features = ["db-tokio-postgres"] }
rustls = { workspace = true }
rustls-native-certs = "0.8"
schemars = "1"
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "with-serde_json-1"] }
tokio-postgres-rustls = "0.13"
tower-http = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

[lints]
workspace = true