my-mcp-server
Allows generating images using Hugging Face Inference API with the FLUX.1-schnell model.
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., "@my-mcp-serverwhat's the weather in Berlin?"
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.
my-mcp-server
Next.js + mcp-handler 기반 Streamable HTTP MCP 서버입니다. Vercel에 배포할 수 있습니다.
구조
app/
api/[transport]/route.ts # HTTP MCP 엔드포인트 (/api/mcp)
page.tsx
layout.tsx
lib/mcp/
server.ts # 도구·프롬프트·리소스 등록
helpers.ts
request-context.ts # x-hf-token 요청 컨텍스트Related MCP server: Hugging Face MCP Server
로컬 실행
npm install
npm run devMCP 엔드포인트: http://localhost:3000/api/mcp
MCP Inspector로 테스트
npx @modelcontextprotocol/inspectorTransport: Streamable HTTP
URL:
http://localhost:3000/api/mcp
Cursor 연결
로컬:
{
"mcpServers": {
"my-mcp-server": {
"url": "http://localhost:3000/api/mcp",
"headers": {
"x-hf-token": "hf_your_token_here"
}
}
}
}Vercel 배포 후:
{
"mcpServers": {
"my-mcp-server": {
"url": "https://YOUR_PROJECT.vercel.app/api/mcp",
"headers": {
"x-hf-token": "hf_your_token_here"
}
}
}
}HF 토큰 (x-hf-token)
generate-image 도구는 Hugging Face Inference API를 사용합니다. 토큰 우선순위:
요청 커스텀 헤더
x-hf-token(클라이언트별 입력)서버 환경변수
HF_TOKEN(선택적 폴백)
클라이언트에서 헤더로 넘기면 서버에 토큰을 고정 저장하지 않아도 됩니다.
Vercel 배포
npx vercel또는 GitHub 연동 후 Vercel 대시보드에서 Import.
선택적으로 서버 공통 폴백 토큰을 쓰려면 Vercel 프로젝트에 HF_TOKEN을 설정하세요.
참고:
제공 기능
종류 | 이름 | 설명 |
Tool |
| 인사말 |
Tool |
| 사칙연산 |
Tool |
| 타임존 현재 시간 |
Tool |
| 도시 → 좌표 |
Tool |
| 날씨/예보 |
Tool |
| FLUX.1-schnell 이미지 생성 |
Resource |
| 서버 정보 |
Prompt |
| 코드 리뷰 프롬프트 |
스크립트
npm run dev— 로컬 개발 서버npm run build— 프로덕션 빌드npm start— 프로덕션 서버
라이선스
MIT
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.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides weather information and web search capabilities with special support for Hugging Face inference providers. Integrates seamlessly with tiny-agents framework for conversational AI interactions.Last updated1
- Alicense-quality-maintenanceEnables access to 200,000+ machine learning models through the Hugging Face Inference API. Supports text generation, image creation, classification, translation, speech processing, embeddings, and more AI tasks.Last updated
- FlicenseBqualityDmaintenanceProvides various utilities including timezone-aware time queries, basic calculator operations, multilingual greetings, code review prompts, and AI image generation through Hugging Face API.Last updated5
- Alicense-qualityDmaintenanceA comprehensive collection of 103 tools providing capabilities for text processing, data analysis, web development, and business management in a single server. It is designed for rapid deployment to Vercel and integrates seamlessly with MCP clients like Claude and Cursor to automate diverse workflows.Last updated54MIT
Related MCP Connectors
16 AI-native tools with dual SSE + streamable-http transport. Free tier available.
The agent-native cloud: database, functions, AI, storage, auth and more. 50 tools, one API key.
Universal AI API Orchestrator — 1,554 tools, 96 services. One install.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/wjsgudwns8101-crypto/my-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server