EvHenter MCP
EvHenter MCP
Event-aggregeringsplattform med Sanity.io backend og MCP-server for ChatGPT Apps.
Oppsett
1. Sanity Studio
cd sanity
npm install
# Opprett nytt Sanity-prosjekt (følg instruksjonene)
npx sanity init --create-project "EvHenter" --dataset production
# Kopier project ID til .env2. MCP Server (lokal utvikling)
# I rot-mappen
npm install
# Kopier og fyll ut miljøvariabler
cp .env.example .env
# Kjør utviklingsserver
npm run dev3. Seed Data
cd sanity
npx sanity exec seed-data.ts --with-user-tokenMiljøvariabler
SANITY_PROJECT_ID=ditt-prosjekt-id
SANITY_DATASET=production
SANITY_API_VERSION=2024-01-01
SANITY_TOKEN=din-api-token
PORT=3000MCP Tools
Tool | Beskrivelse |
| Søk events |
| Hent event detaljer |
| Kommende events |
| Opprett event |
| List lokasjoner |
| List kategorier |
| List venues |
MCP Endpoints
SSE:
GET /sse- Koble til MCP serverMessages:
POST /messages?sessionId=xxx- Send meldinger
Testing
# MCP Inspector
npx @modelcontextprotocol/inspector@latest
# Koble til: http://localhost:3000/sseDeploy til Render
Push koden til GitHub
Gå til render.com og opprett konto
New > Web Service > Koble til GitHub repo
Legg inn miljøvariabler (SANITY_PROJECT_ID, SANITY_TOKEN)
Deploy!
MCP URL blir: https://ditt-prosjekt.onrender.com/sse
ChatGPT App
Gå til ChatGPT > Settings > Developer settings
Add connector > MCP
Lim inn Render URL:
https://ditt-prosjekt.onrender.com/sse
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/doffpett/evhenter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server