Skip to main content
Glama

RefMD MCP Server

by refmdio

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoOptional listen host0.0.0.0
PORTNoOptional listen port3334
MCP_DB_URLNoOptional connection string for the configured driver (e.g. postgres://user:pass@host/db). For SQLite you may omit this and use MCP_DB_SQLITE_PATH.
OAUTH_ISSUERNoOptional public issuer URL (defaults to the current request origin)
MCP_DB_DRIVERNoOptional. Set to sqlite, postgres, or mysql to persist OAuth tokens. Defaults to in-memory storage.
REFMD_API_BASEYesBase URL of your RefMD API (e.g. https://refmd.example.com)
OAUTH_CLIENT_IDSNoComma-separated list of allowed client_id values. Leave empty to allow any.
MCP_DB_SQLITE_PATHNoOptional filesystem path for SQLite storage. Accepts plain paths or file:/// URLs; ensure the path resolves to persistent storage when using SQLite../data/refmd-mcp.sqlite
OAUTH_ALLOWED_REDIRECTSNoComma-separated list of allowed redirect URIs. Defaults to allowing HTTPS URLs and http://localhost. Include ChatGPT's callback URL.https://chat.openai.com/aip/mcp/oauth/callback
ACCESS_TOKEN_TTL_SECONDSNoOptional access-token lifetime3600
REFRESH_TOKEN_TTL_SECONDSNoOptional refresh-token lifetime (default 30 days)2592000

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/refmdio/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server