Study
БесплатноНе проверенA simple MCP server demonstrating resources, tools, and prompts, including a greeting resource, an addition tool, and a calculation prompt.
Описание
A simple MCP server demonstrating resources, tools, and prompts, including a greeting resource, an addition tool, and a calculation prompt.
README
Installing Dependencies
First, install the dependencies:
uv install -r requirements.txt
Running the Server
To run the server, execute the following command:
uv run main.py
After running the server, you must to use or MCP Inspector or any other client to interact with the server. The server will be listening on http://localhost:8000/mcp.
To run the MCP Inspector, execute the following command:
npx -y @modelcontextprotocol/inspector
Set the URL to http://localhost:8000/mcp and click "Connect". You should see the server's capabilities and be able to send requests to it.
Concepts
Inside the MCP, we have three main concepts: Resources, Tools, and Prompts.
- Resources are used to represent data that can be accessed by the model. They are defined using the
@mcp.resourcedecorator and can be accessed using a URL-like syntax. For example,greetings://{name}is a resource that generates a personalized greeting based on the provided name. - Tools are functions that perform specific actions or calculations. They are defined using the
@mcp.tooldecorator and can be called by the model to perform tasks. For example, theaddtool takes two numbers and returns their sum. - Prompts are used to generate prompts for the model. They are defined using the
@mcp.promptdecorator and can be used to create dynamic prompts based on input parameters. For example, thecalculate_promptprompt generates a prompt for performing a mathematical operation based on the provided operation and numbers.
Usually after call a prompt, it will redirect to a resource or a tool, but it can also return a string that can be used as a prompt for the model.
Установка Study
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Lucs1590/study-mcpFAQ
Study MCP бесплатный?
Да, Study MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Study?
Нет, Study работает без API-ключей и переменных окружения.
Study — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Study в Claude Desktop, Claude Code или Cursor?
Открой Study на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Study with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
