Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by khanhtoanmeo • Tools & CLI
A lightweight MCP server example that exposes simple tools (addition and environment key retrieval) for integration with LLM-based IDEs like Cursor AI.
Perform simple numeric calculations via an exposed tool (e.g., add two numbers) without implementing custom parsing or validation.
Retrieve local configuration or secrets (like an API key) through a controlled MCP tool rather than embedding them in prompts.
Integrate custom tooling into Cursor AI or other LLM-based IDEs using MCP and a Stdio transport for local development workflows.
This repository provides a minimal Model Context Protocol (MCP) server implemented in Node.js that exposes two example tools: an 'add' tool that sums two numbers and a 'getApiKey' tool that returns an API key from the environment. It demonstrates input validation with Zod and uses a Stdio transport for integration with development environments and Cursor AI. The project is intended as a boilerplate to show how to integrate custom tools into LLM-driven editors and agent workflows.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.