File tree Expand file tree Collapse file tree 3 files changed +44
-0
lines changed
Expand file tree Collapse file tree 3 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ # Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+ FROM node:lts-alpine
3+
4+ # Create app directory
5+ WORKDIR /app
6+
7+ # Copy package.json and package-lock.json
8+ COPY package*.json ./
9+
10+ # Install dependencies
11+ RUN npm install --ignore-scripts
12+
13+ # Copy the rest of the files
14+ COPY . .
15+
16+ # Build the project
17+ RUN npm run build
18+
19+ # Expose port if needed (optional)
20+ # EXPOSE 3000
21+
22+ # Start the MCP server
23+ CMD [ "node" , "dist/index.js" ]
Original file line number Diff line number Diff line change 33[ ![ npm version] ( https://img.shields.io/npm/v/@mcpfun/mcp-server-leetcode.svg )] ( https://www.npmjs.com/package/@mcpfun/mcp-server-leetcode )
44[ ![ GitHub license] ( https://img.shields.io/github/license/doggybee/mcp-server-leetcode.svg )] ( https://github.com/doggybee/mcp-server-leetcode/blob/main/LICENSE )
55[ ![ Version] ( https://img.shields.io/badge/version-1.0.1-blue.svg )] ( https://github.com/doggybee/mcp-server-leetcode/releases )
6+ [ ![ smithery badge] ( https://smithery.ai/badge/@doggybee/mcp-server-leetcode )] ( https://smithery.ai/server/@doggybee/mcp-server-leetcode )
67
78A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
89
@@ -16,6 +17,14 @@ A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to
1617
1718## Installation
1819
20+ ### Installing via Smithery
21+
22+ To install mcp-server-leetcode for Claude Desktop automatically via [ Smithery] ( https://smithery.ai/server/@doggybee/mcp-server-leetcode ) :
23+
24+ ``` bash
25+ npx -y @smithery/cli install @doggybee/mcp-server-leetcode --client claude
26+ ```
27+
1928### Global Installation
2029
2130``` bash
Original file line number Diff line number Diff line change 1+ # Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2+
3+ startCommand :
4+ type : stdio
5+ configSchema :
6+ # JSON Schema defining the configuration options for the MCP.
7+ {}
8+ commandFunction :
9+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
10+ |-
11+ (config) => ({ command : ' node' , args: ['dist/index.js'] })
12+ exampleConfig : {}
You can’t perform that action at this time.
0 commit comments