@journal.one/gateway
v0.5.0
Published
The Journal Gateway connects MCP servers and skills running in your network to [Journal](https://journal.one). It connects outbound — your credentials never leave your infrastructure and you don't need to open any inbound ports.
Readme
@journal.one/gateway
The Journal Gateway connects MCP servers and skills running in your network to Journal. It connects outbound — your credentials never leave your infrastructure and you don't need to open any inbound ports.
Install
npm install -g @journal.one/gatewayQuick start
Create a config file (gateway.json):
{
"mcpServers": [
{
"id": "postgresql",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"],
"name": "PostgreSQL",
"envVars": { "DATABASE_URL": "DATABASE_URL" }
}
]
}Run the gateway:
JOURNAL_GATEWAY_TOKEN=gw_your_token journal-gateway --config gateway.jsonThe gateway authenticates, announces its tools, and waits for requests from Journal. MCP servers are started on demand and their tools are made available automatically.
The gateway watches the config file and .env file for changes at runtime — add, remove, or modify MCP servers without restarting.
Transports
MCP servers can connect via three transports:
stdio(default) — local subprocess (command+args)sse— legacy SSE-based remote serversstreamable-http— current MCP spec recommendation for remote servers
Full documentation
See the root README for the complete configuration reference, environment variables, protocol details, and Docker usage.
License
MIT
