Skip to content

Commit b3c4e4d

Browse files
committed
feat: auto-generated changes
1 parent 86c5337 commit b3c4e4d

File tree

12 files changed

+112
-50
lines changed

12 files changed

+112
-50
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI/CD Pipeline
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
env:
1010
NODE_OPTIONS: '--max-old-space-size=4096'
@@ -167,6 +167,3 @@ jobs:
167167
run: |
168168
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
169169
npx semantic-release
170-
171-
172-

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"tabWidth": 2,
44
"semi": false,
55
"singleQuote": true
6-
}
6+
}

.releaserc.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
"@semantic-release/commit-analyzer",
55
"@semantic-release/release-notes-generator",
66
"@semantic-release/npm",
7-
["@semantic-release/github", {
8-
"successComment": false,
9-
"failComment": false,
10-
"failTitle": false
11-
}]
7+
[
8+
"@semantic-release/github",
9+
{
10+
"successComment": false,
11+
"failComment": false,
12+
"failTitle": false
13+
}
14+
]
1215
]
13-
}
16+
}

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to habitify
1+
# Contributing to Habitify API
22

3-
Thank you for your interest in contributing to the habitify! This guide will help you get started with development.
3+
Thank you for your interest in contributing to the Habitify API! This guide will help you get started with development.
44

55
## 🔧 Development Setup
66

@@ -15,8 +15,8 @@ Thank you for your interest in contributing to the habitify! This guide will hel
1515
1. **Clone the repository**:
1616

1717
```bash
18-
git clone https://github.com/sargonpiraev/
19-
cd
18+
git clone https://github.com/sargonpiraev/habitify-mcp-server
19+
cd habitify-mcp-server
2020
```
2121

2222
2. **Install dependencies**:
@@ -129,10 +129,10 @@ We use semantic-release for automated versioning and publishing:
129129

130130
## 🆘 Getting Help
131131

132-
- Check existing [issues](https://github.com/sargonpiraev//issues)
132+
- Check existing [issues](https://github.com/sargonpiraev/habitify-mcp-server/issues)
133133
- Create a new issue if you find a bug
134134
- Join our [Discord](https://discord.gg/ZsWGxRGj) for community support
135135

136136
## 📄 License
137137

138-
By contributing to habitify, you agree that your contributions will be licensed under the MIT License.
138+
By contributing to habitify, you agree that your contributions will be licensed under the MIT License.

commitlint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default { extends: ['@commitlint/config-conventional'] }
1+
export default { extends: ['@commitlint/config-conventional'] }

eslint.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export default defineConfig([
77
{ files: ['**/*.{js,mjs,cjs,ts}'], plugins: { js }, extends: ['js/recommended'] },
88
{ files: ['**/*.{js,mjs,cjs,ts}'], languageOptions: { globals: globals.browser } },
99
tseslint.configs.recommended,
10-
])
10+
])

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ const config: Config = {
1010
coverageReporters: ['clover', 'json', 'lcov', 'text', 'cobertura'],
1111
}
1212

13-
export default config
13+
export default config

mcp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"mcpServers": {
33
"habitify": {
4-
"url": "http://127.0.0.1:7777/mcp"
4+
"url": "http://localhost:3000/mcp"
55
}
66
}
7-
}
7+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "API for Habitify habit tracking service",
55
"keywords": [
66
"mcp",
7-
"claude",
7+
"claude",
88
"ai",
99
"assistant",
1010
"habitify"

src/main.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
1-
#!/usr/bin/env node
1+
#!/usr/bin/env node
22

33
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
44
import { mcpServer } from './server.js'
55

6-
const logger = {
7-
log: (...message: (string | object)[]) =>
8-
mcpServer.server.sendLoggingMessage({ level: 'info', data: message.join(' ') }),
9-
error: (...message: (string | object)[]) =>
10-
mcpServer.server.sendLoggingMessage({ level: 'error', data: message.join(' ') }),
11-
debug: (...message: (string | object)[]) =>
12-
mcpServer.server.sendLoggingMessage({ level: 'debug', data: message.join(' ') }),
13-
}
14-
156
async function main() {
167
const transport = new StdioServerTransport()
178
await mcpServer.server.connect(transport)
18-
logger.log(' MCP Server started (STDIO)')
199
}
2010

2111
main().catch((error) => {
2212
console.error('Server error:', error)
2313
process.exit(1)
24-
})
14+
})

0 commit comments

Comments
 (0)