Skip to main content
Glama
IAmAlexander

Readwise MCP Server

by IAmAlexander
Dockerfile911 B
FROM node:20-alpine WORKDIR /app # Copy package files COPY package*.json ./ # Install dependencies RUN npm ci --only=production # Copy source and build COPY tsconfig.json ./ COPY src ./src # Install dev dependencies for build, build, then remove RUN npm install && npm run build && npm prune --production # Expose port (Smithery will set PORT env var) EXPOSE 8081 # Health check - Smithery will set PORT, default to 8081 # Note: Docker HEALTHCHECK doesn't support env vars directly, so we use a script HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ CMD node -e "require('http').get('http://localhost:' + (process.env.PORT || 8081) + '/health', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))" # Run with SSE transport for hosted deployment # PORT is set by Smithery automatically CMD ["node", "dist/index.js", "--transport", "sse"]

Latest Blog Posts

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/IAmAlexander/readwise-mcp'

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