Skip to content
Merged
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
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine

# Install curl and bash
RUN apk add --no-cache curl bash \
&& curl -fsSL https://bun.sh/install | bash \
&& mv /root/.bun/bin/bun /usr/local/bin/

WORKDIR /app

# Copy package files and source
COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* ./
COPY . .

# Install dependencies and build
RUN bun install
RUN bun build src/index.ts --outdir build --target node
RUN bun build src/server/http-server.ts --outdir build --target node --outfile http-server.js

# Default command
CMD ["node", "build/index.js"]
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Starknet MCP Server

[![smithery badge](https://smithery.ai/badge/@mcpdotdirect/starknet-mcp-server)](https://smithery.ai/server/@mcpdotdirect/starknet-mcp-server)
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-3178C6)
![MCP](https://img.shields.io/badge/MCP-1.7+-green)
Expand Down Expand Up @@ -99,6 +100,14 @@ The server supports the following Starknet networks:

## 📦 Installation

### Installing via Smithery

To install starknet-mcp-server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@mcpdotdirect/starknet-mcp-server):

```bash
npx -y @smithery/cli install @mcpdotdirect/starknet-mcp-server --client claude
```

### Option 1: Use without installation (npx)

The easiest way to get started is to use `npx` to run the package directly:
Expand Down
16 changes: 16 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required: []
properties: {}
default: {}
description: Start the Starknet MCP server
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['build/index.js'] })
exampleConfig: {}