TypeScript Tools Server
БесплатноНе проверенProvides calculator, datetime, and note-taking tools for LLMs like Claude via the Model Context Protocol.
Описание
Provides calculator, datetime, and note-taking tools for LLMs like Claude via the Model Context Protocol.
README
A Model Context Protocol (MCP) server implementation in TypeScript that provides various utility tools for LLMs like Claude. This server includes calculator, datetime, and note-taking tools, with an extensible architecture for adding more tools.
Features
- 🧮 Calculator tool for basic mathematical operations
- 📅 DateTime tool for current date/time in different formats
- 📝 Notes tool for saving and retrieving text notes
- 🔌 Compatible with Claude for Desktop and Cursor
- 🚀 Easy to extend with new tools
Prerequisites
- Node.js (v16 or higher)
- npm (comes with Node.js)
- Claude for Desktop and/or Cursor (for using the tools)
Installation
- Clone the repository:
git clone <your-repo-url>
cd MCP
- Install dependencies:
npm install
- Build the project:
npm run build
Setting Up with Claude for Desktop
Open or create your Claude desktop configuration file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
Add the MCP server configuration:
{
"mcpServers": {
"MCPllmContext": {
"command": "node",
"args": [
"ABSOLUTE_PATH_TO_YOUR_PROJECT/dist/index.js"
]
}
}
}
Replace ABSOLUTE_PATH_TO_YOUR_PROJECT with the actual path to your project directory.
- Restart Claude for Desktop
- Look for the hammer icon in the input box to confirm the tools are available
Setting Up with Cursor
- Open Cursor
- Go to
Cursor Settings>Features>MCP - Click on
+ Add New MCP Server - Fill in the form:
- Type: stdio
- Name: MCPllmContext
- Command:
node ABSOLUTE_PATH_TO_YOUR_PROJECT/dist/index.js
Available Tools
Calculator
- Tool name:
calculate - Description: Evaluates mathematical expressions
- Usage: "Calculate 2 + 2"
DateTime
- Tool name:
current-date - Description: Returns current date/time
- Formats: "short" or "long"
- Usage: "What's today's date?"
Notes
- Tool name:
save-note,get-note,list-notes - Description: Save and retrieve text notes
- Usage: "Save a note titled 'Meeting' with content 'Discuss project'"
Adding New Tools
- Create a new file in
src/tools/(e.g.,src/tools/myTool.ts) - Implement your tool using the template:
import { z } from "zod";
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
export function registerMyTools(server: McpServer) {
server.tool(
"tool-name",
{
param: z.string().describe("Parameter description")
},
async ({ param }) => {
return {
content: [{ type: "text", text: "Result" }]
};
}
);
}
- Export your tool in
src/tools/index.ts - Register your tool in
src/index.ts
Development
# Build the project
npm run build
# Run the server directly
node dist/index.js
# Watch for changes (if you have nodemon installed)
nodemon dist/index.js
Troubleshooting
Claude for Desktop Issues
- Check the logs at
%APPDATA%\Claude\logs\mcp*.log(Windows) or~/Library/Logs/Claude/mcp*.log(macOS) - Verify the path in
claude_desktop_config.jsonis absolute and correct - Make sure the server is built (
npm run build) - Restart Claude for Desktop after configuration changes
Cursor Issues
- Verify the command path in Cursor's MCP settings
- Try refreshing the tool list in the MCP settings
- Check Cursor's logs for any error messages
Установка TypeScript Tools Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Albo3/MCP-ServerFAQ
TypeScript Tools Server MCP бесплатный?
Да, TypeScript Tools Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для TypeScript Tools Server?
Нет, TypeScript Tools Server работает без API-ключей и переменных окружения.
TypeScript Tools Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить TypeScript Tools Server в Claude Desktop, Claude Code или Cursor?
Открой TypeScript Tools Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare TypeScript Tools Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
