pREST
Stdio MCP adapter bridging AI clients to pREST’s HTTP /_mcp endpoint for PostgreSQL APIs.
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.3
- Listing updated
- 5 days ago
About pREST
pREST is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add prest --env PREST_MCP_URL='<PREST_MCP_URL>' --env PREST_MCP_TOKEN='<PREST_MCP_TOKEN>' -- docker run -i --rm -e PREST_MCP_URL -e PREST_MCP_TOKEN ghcr.io/prest/prest-mcp-adapter:0.1.3Add to claude_desktop_config.json
{
"mcpServers": {
"prest": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PREST_MCP_URL",
"-e",
"PREST_MCP_TOKEN",
"ghcr.io/prest/prest-mcp-adapter:0.1.3"
],
"env": {
"PREST_MCP_URL": "<PREST_MCP_URL>",
"PREST_MCP_TOKEN": "<PREST_MCP_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"prest": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PREST_MCP_URL",
"-e",
"PREST_MCP_TOKEN",
"ghcr.io/prest/prest-mcp-adapter:0.1.3"
],
"env": {
"PREST_MCP_URL": "<PREST_MCP_URL>",
"PREST_MCP_TOKEN": "<PREST_MCP_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"prest": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PREST_MCP_URL",
"-e",
"PREST_MCP_TOKEN",
"ghcr.io/prest/prest-mcp-adapter:0.1.3"
],
"env": {
"PREST_MCP_URL": "<PREST_MCP_URL>",
"PREST_MCP_TOKEN": "<PREST_MCP_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"prest": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PREST_MCP_URL",
"-e",
"PREST_MCP_TOKEN",
"ghcr.io/prest/prest-mcp-adapter:0.1.3"
],
"env": {
"PREST_MCP_URL": "<PREST_MCP_URL>",
"PREST_MCP_TOKEN": "<PREST_MCP_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"prest": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PREST_MCP_URL",
"-e",
"PREST_MCP_TOKEN",
"ghcr.io/prest/prest-mcp-adapter:0.1.3"
],
"env": {
"PREST_MCP_URL": "<PREST_MCP_URL>",
"PREST_MCP_TOKEN": "<PREST_MCP_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PREST_MCP_URLURL of your running pREST HTTP MCP endpoint, for example http://localhost:3000/_mcpRequiredPREST_MCP_TOKENOptional bearer token used to authenticate with the pREST MCP endpoint.PREST_MCP_TIMEOUT_MSOptional HTTP timeout in milliseconds. Defaults to 30000.
Pricing
Open source
pREST FAQ
Is pREST free?
Yes. pREST is open source, so you can use and self-host it for free.
How do I add pREST to Claude Code?
Run this command in your terminal: claude mcp add prest --env PREST_MCP_URL='<PREST_MCP_URL>' --env PREST_MCP_TOKEN='<PREST_MCP_TOKEN>' -- docker run -i --rm -e PREST_MCP_URL -e PREST_MCP_TOKEN ghcr.io/prest/prest-mcp-adapter:0.1.3
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.