Skip to content

Commit 31c0e11

Browse files
authored
new mcp server app (#10)
1 parent 2f34a8e commit 31c0e11

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+22943
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
LINODE_API_TOKEN=YOUR_TOKEN_HERE
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
plugins: ['@typescript-eslint'],
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended'
7+
],
8+
env: {
9+
node: true,
10+
es6: true
11+
},
12+
rules: {
13+
'@typescript-eslint/no-explicit-any': 'off', // Allow any type for ease of development
14+
'@typescript-eslint/explicit-module-boundary-types': 'off', // Don't require explicit return types
15+
'no-unused-vars': 'off', // TypeScript has its own unused vars check
16+
'@typescript-eslint/no-unused-vars': ['warn', {
17+
'argsIgnorePattern': '^_',
18+
'varsIgnorePattern': '^_',
19+
'ignoreRestSiblings': true
20+
}]
21+
},
22+
ignorePatterns: [
23+
'dist/**/*',
24+
'node_modules/**/*',
25+
'test/**/*',
26+
'*.js'
27+
]
28+
};
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM node:lts-alpine
3+
4+
# Set working directory
5+
WORKDIR /app
6+
7+
# Copy package files to install dependencies
8+
COPY package.json package-lock.json ./
9+
10+
# Install dependencies without running scripts
11+
RUN npm install --ignore-scripts
12+
13+
# Copy rest of the source code
14+
COPY . .
15+
16+
# Build the project (TypeScript compilation)
17+
RUN npm run build
18+
19+
# Expose port if needed (MCP communicates over stdio typically, so not necessary to expose ports)
20+
21+
# Start the MCP server
22+
CMD ["node", "dist/index.js"]

0 commit comments

Comments
 (0)