Skip to content

Commit ddbbb28

Browse files
authored
Merge pull request #60 from mcp-agents-ai/feat/leixu/mcp_server_categories
Feat/leixu/mcp server categories
2 parents 683ab23 + a0b1843 commit ddbbb28

File tree

3 files changed

+34
-3
lines changed

3 files changed

+34
-3
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,32 @@ graph TD
130130
- `lint`: Run ESLint
131131
- `type-check`: Run TypeScript type checking
132132

133+
### Server Data Processing Scripts
134+
The server includes several data processing scripts that can be run with npm:
135+
136+
- `crawl-servers`: Crawls the MCP servers directory from the main repository
137+
- `update-server-types`: Updates server type information from crawling results
138+
- `clean-duplicates`: Cleans duplicate entries in the data
139+
- `process_categories`: Processes and organizes categories data
140+
- `process_locales`: Processes locale translations for internationalization
141+
142+
#### Running Background Processes
143+
For long-running data processing tasks, you can use nohup to run them in the background:
144+
145+
```bash
146+
# Run process_locales in the background with output to a log file
147+
cd server && nohup npm run process_locales > process_locales.log 2>&1 &
148+
149+
# Check if the process is running
150+
ps aux | grep "process_locales" | grep -v grep
151+
152+
# View the log output
153+
tail -f process_locales.log
154+
155+
# Stop the process (replace PID with the actual process ID from ps command)
156+
kill <PID>
157+
```
158+
133159
## Community
134160

135161
Join the open community to build the future of context-aware AI together. Whether you're an AI tool developer, an enterprise looking to leverage existing data, or an early adopter exploring the frontier, we invite you to contribute.

server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"crawl-servers": "tsx src/data/mcp_servers_crawler.ts --url https://raw.githubusercontent.com/modelcontextprotocol/servers/refs/heads/main/README.md",
1515
"update-server-types": "tsx src/data/mcp_server_crawler_result_updater.ts",
1616
"clean-duplicates": "tsx src/data/clean_duplicate.ts",
17-
"process_categories": "tsx src/data/process_categories.ts"
17+
"process_categories": "tsx src/data/process_categories.ts",
18+
"process_locales": "tsx src/data/process_locales.ts"
1819
},
1920
"dependencies": {
2021
"axios": "^1.6.0",

server/src/data/process_locales.log.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lastProcessed": "2025-04-02T08:29:31.975Z",
2+
"lastProcessed": "2025-04-27T15:43:33.571Z",
33
"processedFiles": [
44
"0006b282-ac88-4c32-b76c-02476e972a04_githubprojects",
55
"00739d70-842d-4d36-bb98-04bde51a2220_kubernetes",
@@ -1572,6 +1572,10 @@
15721572
"ff8ec593-c675-4b66-a958-c1b09a851dd4_azure",
15731573
"ffb38101-e112-4321-8b41-be6126d7c08a_tungshingcalendar",
15741574
"ffb406a3-a4a6-4553-98be-16ea0681b1c0_illumio",
1575-
"ffce4ec2-2670-47a0-ab1c-87e35dae0017_starwarsplanetarydata"
1575+
"ffce4ec2-2670-47a0-ab1c-87e35dae0017_starwarsplanetarydata",
1576+
"003f3571-5f97-4f84-b126-f09b89e4247e_amadeus",
1577+
"0184d212-0684-4707-855c-06ede10609ec_xero",
1578+
"02f9e25f-4904-4350-8a2e-a6a0a69f9dfb_onenote",
1579+
"03c5710b-d3b1-4564-b797-2e6515b299a6_mcpmanager"
15761580
]
15771581
}

0 commit comments

Comments
 (0)