diff --git a/Dockerfile b/Dockerfile index 7b693ec..a518502 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config # ベースイメージ FROM node:18-alpine as base @@ -26,4 +27,4 @@ WORKDIR /app COPY --from=build /app/package*.json ./ COPY --from=build /app/build ./build RUN npm install --production -CMD ["node", "build/index.js"] \ No newline at end of file +CMD ["node", "build/index.js"] diff --git a/README.md b/README.md index cde7046..fc5a749 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Backlog MCP Server +[![smithery badge](https://smithery.ai/badge/@jootsuki/backlog-mcp-server)](https://smithery.ai/server/@jootsuki/backlog-mcp-server) + BacklogのAPIに接続するMCPサーバーです。課題の検索、取得、更新機能を提供します。 ## 機能 @@ -101,4 +103,4 @@ Cursor:https://note.com/shuzon__/n/na2aafacf7324 →[Notion MCP Server を Cur # 課題の更新 ・PROJECT1-100の課題のステータスを完了にして ・PROJECT1-100の課題に「〜〜〜」とコメントして -``` \ No newline at end of file +``` diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..2fc38fc --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,24 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +startCommand: + type: stdio + 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'], env: { BACKLOG_SPACE_URL: config.backlogSpaceUrl, BACKLOG_API_KEY: config.backlogApiKey } }) + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: + - backlogSpaceUrl + - backlogApiKey + properties: + backlogSpaceUrl: + type: string + description: URL of your Backlog space (e.g. https://your-space.backlog.com) + backlogApiKey: + type: string + description: Your Backlog API key + exampleConfig: + backlogSpaceUrl: https://your-space.backlog.com + backlogApiKey: your_api_key