Skip to content

Commit 5b2ebc2

Browse files
authored
Merge pull request #43 from doitintl/tests/talc/add-tools-tests
test(mcp): add tools test
2 parents 7a023a2 + 3d223e3 commit 5b2ebc2

File tree

14 files changed

+2924
-184
lines changed

14 files changed

+2924
-184
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test on Pull Request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install --frozen-lockfile
22+
23+
- name: Run tests
24+
run: yarn test

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# DoiT MCP Server
22

3-
[![smithery badge](https://smithery.ai/badge/@doitintl/doit-mcp-server)](https://smithery.ai/server/@doitintl/doit-mcp-server)
43
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
54

65
DoiT MCP Server provides access to the DoiT API. This server enables LLMs like Claude to access DoiT platform data for troubleshooting and analysis.
@@ -19,14 +18,6 @@ To get your DoiT API key, visit the [API key section in your DoiT profile](https
1918

2019
There are several ways to install and configure the MCP server:
2120

22-
### Installing via Smithery (Recommended)
23-
24-
To install doit-mcp-server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@doitintl/doit-mcp-server):
25-
26-
```bash
27-
npx -y @smithery/cli@latest install @doitintl/doit-mcp-server --client claude
28-
```
29-
3021
### Claude Desktop App
3122

3223
To manually configure the MCP server for Claude Desktop App, add the following to your `claude_desktop_config.json` file or through "Settings" as described [here](https://modelcontextprotocol.io/quickstart/user#2-add-the-filesystem-mcp-server):
@@ -54,12 +45,6 @@ NOTE: you need to [restart Claude for Desktop](https://modelcontextprotocol.io/q
5445

5546
### Cursor
5647

57-
For Cursor IDE, you can install this MCP server using Smithery (recommended):
58-
59-
```bash
60-
npx -y @smithery/cli@latest install @doitintl/doit-mcp-server --client cursor
61-
```
62-
6348
Or manually with the following command in your project:
6449

6550
```bash

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"scripts": {
1818
"build": "tsc && shx chmod +x dist/*.js",
19-
"watch": "tsc --watch"
19+
"watch": "tsc --watch",
20+
"test": "vitest run"
2021
},
2122
"dependencies": {
2223
"@modelcontextprotocol/sdk": "^1.0.3",
@@ -30,7 +31,8 @@
3031
"@types/express": "^5.0.1",
3132
"@types/node": "^22",
3233
"shx": "^0.3.4",
33-
"typescript": "^5.7.2"
34+
"typescript": "^5.7.2",
35+
"vitest": "^3.1.3"
3436
},
3537
"engines": {
3638
"node": ">=18"

smithery.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)