Demo FastMCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Demo FastMCP Serveradd 5 and 7"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Demo FastMCP Server
로컬에서 FastMCP 서버 구조(tools / resources / prompts / lifespan)를 실험하기 위한 더미 프로젝트입니다.
툴만 추가하려면 → docs/ADD_TOOL.md
구조
src/demo_mcp/
├── server.py # FastMCP 인스턴스 + lifespan + 등록 진입점
├── config.py # 설정/시드 데이터
├── tools/ # @mcp.tool
│ ├── echo.py
│ ├── calculator.py
│ └── notes.py # lifespan context 예시
├── resources/ # @mcp.resource
│ ├── config.py
│ └── notes.py
└── prompts/ # @mcp.prompt
└── assistant.py
tests/
└── test_server.py # Client(mcp) 인메모리 테스트Related MCP server: FastMCP Demo Server
설치
uv sync --extra dev테스트
uv run pytest -q인메모리 Client(mcp)로 transport 없이 tools/resources/prompts를 검증합니다.
서버 실행
HTTP (기본):
uv run demo-mcp서버 URL: http://127.0.0.1:8000/mcp
환경변수로 바꿀 수 있습니다.
변수 | 기본값 | 설명 |
|
|
|
|
| 바인드 호스트 |
|
| 포트 |
|
| MCP 엔드포인트 경로 |
stdio:
DEMO_MCP_TRANSPORT=stdio uv run demo-mcpCursor MCP 연결 예시
HTTP (서버를 먼저 uv run demo-mcp로 실행한 뒤):
{
"mcpServers": {
"demo-mcp": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}이미 .cursor/mcp.json에 위 설정이 들어 있습니다.
포함된 더미 기능
종류 | 이름 | 설명 |
tool |
| 단순 문자열 |
tool |
| 사칙연산 |
tool |
| lifespan store |
resource |
| 서비스 메타 |
resource |
| 시드 노트 |
prompt |
| 프롬프트 템플릿 |
mcp
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jungwoo-Ryu/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server