File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ # Install curl and bash
5+ RUN apk add --no-cache curl bash \
6+ && curl -fsSL https://bun.sh/install | bash \
7+ && mv /root/.bun/bin/bun /usr/local/bin/
8+
9+ WORKDIR /app
10+
11+ # Copy package files and source
12+ COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* ./
13+ COPY . .
14+
15+ # Install dependencies and build
16+ RUN bun install
17+ RUN bun build src/index.ts --outdir build --target node
18+ RUN bun build src/server/http-server.ts --outdir build --target node --outfile http-server.js
19+
20+ # Default command
21+ CMD ["node" , "build/index.js" ]
Original file line number Diff line number Diff line change 11# Starknet MCP Server
22
3+ [ ![ smithery badge] ( https://smithery.ai/badge/@mcpdotdirect/starknet-mcp-server )] ( https://smithery.ai/server/@mcpdotdirect/starknet-mcp-server )
34![ License: MIT] ( https://img.shields.io/badge/License-MIT-blue.svg )
45![ TypeScript] ( https://img.shields.io/badge/TypeScript-5.0+-3178C6 )
56![ MCP] ( https://img.shields.io/badge/MCP-1.7+-green )
@@ -99,6 +100,14 @@ The server supports the following Starknet networks:
99100
100101## 📦 Installation
101102
103+ ### Installing via Smithery
104+
105+ To install starknet-mcp-server for Claude Desktop automatically via [ Smithery] ( https://smithery.ai/server/@mcpdotdirect/starknet-mcp-server ) :
106+
107+ ``` bash
108+ npx -y @smithery/cli install @mcpdotdirect/starknet-mcp-server --client claude
109+ ```
110+
102111### Option 1: Use without installation (npx)
103112
104113The easiest way to get started is to use ` npx ` to run the package directly:
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+ type : object
8+ required : []
9+ properties : {}
10+ default : {}
11+ description : Start the Starknet MCP server
12+ commandFunction :
13+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
14+ |-
15+ (config) => ({ command : ' node' , args: ['build/index.js'] })
16+ exampleConfig : {}
You can’t perform that action at this time.
0 commit comments