테스트 방법
uv run main.py 터미널에 PS D:\0_mcp\mcp-server-tutorial> uv run main.py
Starting MCP server... {여기에 입력}
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}} 엔터 두번
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_weather","arguments":{"city":"서울"}}} 엔터 한번
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_weather","arguments":{"city":"대전"}}} 엔터 한번
OR
인스팩터 활용 테스트(web UI에서 실행) npx @modelcontextprotocol/inspector uv run main.py
Metadata
Release files for mcp-server-tutorial 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_tutorial-0.1.0.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_tutorial-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 kB
Release files / mcp_server_tutorial-0.1.0.tar.gz
| Download URL | mcp_server_tutorial-0.1.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96633356410fa6cd583f887afdb91c245b5b8cc501037faa4784b571089832d7
|
|
BLAKE2b-256 checksum How to use checksums |
e6f91c3e4cd0dd09a8297640a93342dcfb4fbabc8c240fbbee0ac33689fe896a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / mcp_server_tutorial-0.1.0-py3-none-any.whl
| Download URL | mcp_server_tutorial-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
959ccc1e8b7e45b0f10b1353602884c46d229d09cd0278d7717292674af0cf8e
|
|
BLAKE2b-256 checksum How to use checksums |
0dd9ade86024b7bd62520692754aa51fa198cbff72efcbc8bb12466abbe4a62c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|