Skip to content

Commit bf3f09f

Browse files
Fix test command
1 parent 80b3c15 commit bf3f09f

File tree

2 files changed

+53
-10
lines changed

2 files changed

+53
-10
lines changed

mcp-package/dist/README.md

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,67 @@ gem install jekyll bundler
4545
git clone https://github.com/theodorosploumis/drupaltools.git
4646
cd drupaltools
4747
bundle install
48-
bundle exec jekyll serve --server 8080
48+
bundle exec jekyll serve
4949
```
5050

5151
## MCP Server
5252

53-
This repository includes an MCP (Model Context Protocol) server that provides programmatic access to the Drupal tools database. See [mcp-server/README.md](./mcp-server/README.md) for details.
53+
This repository includes an MCP (Model Context Protocol) server that provides programmatic access to the Drupal tools database. The MCP server enables AI assistants like Claude Desktop to intelligently discover and recommend Drupal development tools through natural language queries.
5454

55-
### Quick Start
55+
### Two Ways to Use
56+
57+
#### Option 1: NPM Package (Recommended for End Users)
58+
59+
Install the published NPM package for immediate use with Claude Desktop:
60+
61+
```bash
62+
# Add to Claude Desktop configuration:
63+
# "mcpServers": {
64+
# "drupaltools": {
65+
# "type": "stdio",
66+
# "command": "npx",
67+
# "args": ["@drupaltools/mcp@latest"]
68+
# }
69+
# }
70+
```
71+
72+
Then you can ask Claude things like:
73+
74+
- "Show me 5 tools for testing Drupal sites"
75+
- "Search for Docker-based Drupal development tools"
76+
- "Tell me about BLT (Acquia Lightning) tool"
77+
78+
**Package name:** `@drupaltools/mcp`
79+
**Repository:** [mcp-package/](./mcp-package/)
80+
**Documentation:** [mcp-package/README.md](./mcp-package/README.md)
81+
82+
#### Option 2: Development Server (For Contributors)
83+
84+
Run locally from source for testing and development:
5685

5786
```bash
5887
npm install
5988
npm run mcp
6089
```
6190

62-
The MCP server provides three tools:
63-
- `list_tools`: List all tools with optional category filtering
64-
- `search_tools`: Semantic search for tools
65-
- `get_tool`: Get detailed information about a specific tool
91+
**Repository:** [mcp-server/](./mcp-server/)
92+
**Documentation:** [mcp-server/README.md](./mcp-server/README.md)
93+
94+
### Demo & Testing
95+
96+
Visit the demo page: [/mcp-server/](./mcp-server/index.html)
6697

67-
Or just open in Gitpod!
98+
Or test with MCP Inspector:
99+
```bash
100+
npx @modelcontextprotocol/inspector node mcp-server/index.js
101+
```
68102

69-
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/drupaltools/drupaltools.github.io)
103+
### Available Tools
104+
105+
The MCP server provides three tools:
106+
- **`list_tools`**: List all tools with optional category filtering
107+
- **`search_tools`**: Semantic search for tools using intelligent scoring
108+
- **`get_tool`**: Get detailed information about a specific tool
70109

71110
## Similar tools
72111

mcp-package/dist/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
"*.md"
1414
],
1515
"scripts": {
16-
"test": "node test.js"
16+
"build": "node build.js",
17+
"prepublishOnly": "npm run build",
18+
"test": "node dist/test.js",
19+
"publish:npm": "cd dist && npm publish",
20+
"publish": "./publish.sh"
1721
},
1822
"keywords": [
1923
"mcp",

0 commit comments

Comments
 (0)