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

WORKDIR /app

# Install dependencies
COPY package.json package-lock.json ./
RUN npm ci --ignore-scripts

# Copy source and build
COPY . .
RUN npm run build

# Run the MCP server
CMD ["node", "dist/index.js"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@

A [Model Context Protocol](https://github.com/modelcontextprotocol) server for the [Inkdrop Local HTTP Server API](https://developers.inkdrop.app/data-access/local-http-server).

[![smithery badge](https://smithery.ai/badge/@inkdropapp/mcp-server)](https://smithery.ai/server/@inkdropapp/mcp-server)
<a href="https://glama.ai/mcp/servers/c7fgtnckbv">
<img width="380" height="200" src="https://glama.ai/mcp/servers/c7fgtnckbv/badge" alt="Inkdrop Server MCP server" />
</a>


## Installation

### Installing via Smithery

To install Inkdrop MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@inkdropapp/mcp-server):

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

1. [Set up a local HTTP server](https://developers.inkdrop.app/guides/access-the-local-database#accessing-via-http-advanced)

2. Add server config to Claude Desktop:
Expand Down
29 changes: 29 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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:
- inkdropLocalServerUrl
- inkdropLocalUsername
- inkdropLocalPassword
properties:
inkdropLocalServerUrl:
type: string
description: URL of the Inkdrop local HTTP server
inkdropLocalUsername:
type: string
description: Username for Inkdrop local HTTP server
inkdropLocalPassword:
type: string
description: Password for Inkdrop local HTTP 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: ['dist/index.js'], env: { INKDROP_LOCAL_SERVER_URL: config.inkdropLocalServerUrl, INKDROP_LOCAL_USERNAME: config.inkdropLocalUsername, INKDROP_LOCAL_PASSWORD: config.inkdropLocalPassword } })
exampleConfig:
inkdropLocalServerUrl: http://localhost:19840
inkdropLocalUsername: your-local-server-username
inkdropLocalPassword: your-local-server-password