my-mcp-server
Allows generating images using Hugging Face Inference API with the FLUX.1-schnell model.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: Multi-Purpose 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
37 tools: LLM chat, summaries, translation, embeddings, speech, images. 25 free calls.
Deploy your project to a live HTTPS URL from your AI tool; read logs, set variables, resize apps.
Generate AI images, video, voiceovers and music from Claude, ChatGPT or Cursor through 50+ models (Veo 3.1, Kling 3, Seedance, Nano Banana, GPT Image, ElevenLabs). Also image editing, upscaling, background removal, face swap, transcription, voice cloning and UGC-style video ads. Sign in with OAuth — no API key to paste. Tools are annotated (read-only vs. credit-spending); failed generations are refunded.
Access Pollinations models and API capabilities through agent tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides weather information and web search capabilities with special support for Hugging Face inference providers. Integrates seamlessly with tiny-agents framework for conversational AI interactions.1-
- AlicenseBqualityDmaintenanceProvides various utilities including timezone-aware time queries, basic calculator operations, multilingual greetings, code review prompts, and AI image generation through Hugging Face API.5ISC
- AlicenseNot gradedqualityDmaintenanceProvides tools for greeting, calculation, time lookup, geocoding, weather, and image generation via HuggingFace, with streamable HTTP and stdio support, deployable on Vercel.ISC
- AlicenseNot gradedqualityDmaintenanceA TypeScript MCP server boilerplate that provides tools like calculator, weather, geocoding, and image generation via HuggingFace, supporting both Streamable HTTP (for Vercel deployment) and stdio transports.ISC