loading…
Search for a command to run...
loading…
A Node.js and TypeScript server that enables searching for job listings and accessing job market statistics via the Model Context Protocol. It provides tools fo
A Node.js and TypeScript server that enables searching for job listings and accessing job market statistics via the Model Context Protocol. It provides tools for job queries and arithmetic operations alongside resources for featured listings and market data.
Remote MCP (Model Context Protocol) server zbudowany w Node.js, TypeScript i Express.
npm install
Skopiuj plik .env.example do .env:
copy .env.example .env
Możesz zmienić port w pliku .env (domyślnie 3000).
npm run dev
npm run build
npm start
npm run watch
GET / - Informacje o serwerze i dostępnych możliwościachGET /health - Health checkPOST /mcp - Główny endpoint MCP do komunikacjicurl http://localhost:3000/health
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"method": "tools/call",
"params": {
"name": "get_job_listings",
"arguments": {
"query": "JavaScript",
"location": "Warsaw",
"limit": 5
}
}
}'
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"method": "tools/call",
"params": {
"name": "calculate",
"arguments": {
"operation": "multiply",
"a": 15,
"b": 7
}
}
}'
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"method": "tools/list",
"params": {}
}'
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"method": "resources/list",
"params": {}
}'
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"method": "resources/read",
"params": {
"uri": "jobs://featured"
}
}'
jobs-mcp/
├── src/
│ └── index.ts # Główny plik serwera
├── dist/ # Skompilowane pliki (generowane)
├── .env.example # Przykładowa konfiguracja
├── .gitignore
├── package.json
├── tsconfig.json
└── README.md
Możesz rozszerzyć serwer dodając:
setRequestHandler(CallToolRequestSchema, ...)setRequestHandler(ListResourcesRequestSchema, ...) i setRequestHandler(ReadResourceRequestSchema, ...)ISC
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"jobs-mcp-server": {
"command": "npx",
"args": []
}
}
}