模型上下文协议工具集
STDIO为LLM代理提供系统工具的MCP服务器
为LLM代理提供系统工具的MCP服务器
based on toolkit-mcp-server
A Model Context Protocol server providing LLM Agents with system utilities and tools, including IP geolocation, network diagnostics, system monitoring, cryptographic operations, and QR code generation.
The Model Context Protocol (MCP) enables communication between:
# Using npm (recommended) npm install @cyanheads/toolkit-mcp-server # Or install from source git clone [email protected]:cyanheads/toolkit-mcp-server.git cd toolkit-mcp-server npm install npm run build
Add to your MCP client settings:
{ "mcpServers": { "toolkit": { "command": "node", "args": ["node_modules/@cyanheads/toolkit-mcp-server/build/index.js"], "env": { "NODE_ENV": "production" } } } }
// Get geolocation data const geo = await mcp.use('toolkit-mcp-server', 'geolocate', { query: '8.8.8.8' }); // Check connectivity const conn = await mcp.use('toolkit-mcp-server', 'checkConnectivity', { host: 'example.com', port: 443 });
// Get system information const sysInfo = await mcp.use('toolkit-mcp-server', 'getSystemInfo', {}); // Get load average const load = await mcp.use('toolkit-mcp-server', 'getLoadAverage', {});
// Generate hash const hash = await mcp.use('toolkit-mcp-server', 'hashData', { input: 'test data', algorithm: 'sha256' }); // Generate UUID const uuid = await mcp.use('toolkit-mcp-server', 'generateUUID', {});
// Generate QR code const qr = await mcp.use('toolkit-mcp-server', 'generateQRCode', { data: 'https://example.com', type: 'svg' });
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)Apache License 2.0. See LICENSE for more information.