Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ node_modules/
# Build outputs
build/
dist/
.smithery/
smithery/

# Environment variables
.env
Expand Down
2 changes: 1 addition & 1 deletion .vercelignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Smithery build artifacts
.smithery/
smithery/

# Node modules
node_modules/
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FROM node:18-alpine AS runner
WORKDIR /app

# Copy compiled code from the builder stage
COPY --from=builder /app/.smithery ./.smithery
COPY --from=builder /app/smithery ./smithery
COPY package.json package-lock.json ./

# Install only production dependencies
Expand All @@ -36,4 +36,4 @@ ENV EXA_API_KEY=your-api-key-here
EXPOSE 3000

# Run the application
ENTRYPOINT ["node", ".smithery/index.cjs"]
ENTRYPOINT ["node", "smithery/index.cjs"]
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"url": "git+https://github.com/exa-labs/exa-mcp-server.git"
},
"bin": {
"exa-mcp-server": ".smithery/stdio/index.cjs"
"exa-mcp-server": "smithery/stdio/index.cjs"
},
"files": [
".smithery"
"smithery"
],
"keywords": [
"mcp",
Expand All @@ -31,8 +31,8 @@
"author": "Exa Labs",
"scripts": {
"build": "npm run build:shttp && npm run build:stdio",
"build:stdio": "smithery build src/index.ts --transport stdio -o .smithery/stdio/index.cjs && echo '#!/usr/bin/env node' | cat - .smithery/stdio/index.cjs > temp && mv temp .smithery/stdio/index.cjs && chmod +x .smithery/stdio/index.cjs",
"build:shttp": "smithery build src/index.ts --transport shttp -o .smithery/shttp/index.cjs",
"build:stdio": "smithery build src/index.ts --transport stdio -o smithery/stdio/index.cjs && echo '#!/usr/bin/env node' | cat - smithery/stdio/index.cjs > temp && mv temp smithery/stdio/index.cjs && chmod +x smithery/stdio/index.cjs",
"build:shttp": "smithery build src/index.ts --transport shttp -o smithery/shttp/index.cjs",
"build:vercel": "npm install typescript && ./node_modules/.bin/tsc",
"prepare": "npm run build:stdio",
"watch": "./node_modules/.bin/tsc --watch",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"allowJs": true
},
"include": ["src/**/*", "api/**/*"],
"exclude": ["node_modules", ".smithery", "build", "dist"]
"exclude": ["node_modules", "smithery", "build", "dist"]
}