YouMap MCP Server
OfficialAllows searching Unsplash for images to use in posts, as a fallback for SERP image search.
Click on "Deploy 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., "@YouMap MCP Server Create a public map called 'Coffee Shops in NYC' with a description"
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.
YouMap MCP Server
A Model Context Protocol (MCP) server for the YouMap API, enabling AI assistants to create and manage maps through natural language interactions.
Installation
Global Installation (Recommended)
npm install -g @youmap/youmap-mcpLocal Installation
npm install @youmap/youmap-mcpRelated MCP server: OSM Edit MCP Server
Usage
With Claude Desktop
Add this to your Claude Desktop configuration file:
macOS: ~/.config/claude-desktop/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Using API Key (Recommended)
{
"mcpServers": {
"youmap": {
"command": "youmap-mcp",
"env": {
"YOUMAP_API_KEY": "ym_your_api_key_here",
"YOUMAP_BASE_URL": "https://developer.youmap.com",
"SERP_API_KEY": "",
"BFL_API_KEY": "",
"UNSPLASH_ACCESS_KEY": ""
}
}
}
}Using OAuth Credentials (Legacy)
{
"mcpServers": {
"youmap": {
"command": "youmap-mcp",
"env": {
"YOUMAP_CLIENT_ID": "your_client_id_here",
"YOUMAP_CLIENT_SECRET": "your_client_secret_here",
"YOUMAP_BASE_URL": "https://developer.youmap.com",
"SERP_API_KEY": "",
"BFL_API_KEY": "",
"UNSPLASH_ACCESS_KEY": ""
}
}
}
}Environment Variables
Authentication (choose one)
YOUMAP_API_KEY: Your YouMap API key (recommended - simpler setup)YOUMAP_CLIENT_ID+YOUMAP_CLIENT_SECRET: OAuth client credentials (legacy)
Configuration
YOUMAP_BASE_URL: Base URL for the YouMap API (defaults tohttps://developer.youmap.com)
Optional - Image APIs
SERP_API_KEY: Key to SERP API to get images for posts (search_image action)BFL_API_KEY: Key to BFL to generate images using FLUX-PRO-1.1 model for maps (generate_image action)UNSPLASH_ACCESS_KEY: Key to Unsplash that works as a fallback for SERP (search_image action)
Authentication
API Key Authentication (Recommended)
The simplest way to authenticate is using an API key:
Create a YouMap account at youmap.com
Generate an API key at docs.youmap.com
Set the
YOUMAP_API_KEYenvironment variable
The API key is sent via the X-API-Key header with each request.
OAuth 2.0 Authentication (Legacy)
Alternatively, you can use OAuth 2.0 client credentials flow:
Obtain client credentials from YouMap's developer portal
Set both
YOUMAP_CLIENT_IDandYOUMAP_CLIENT_SECRETenvironment variables
The server automatically:
Authenticates using your client ID and secret to obtain access tokens
Manages token refresh automatically when tokens expire
Retries failed requests with fresh tokens when needed
HTTP Server Mode
The MCP server can also run as an HTTP server for integration with other tools:
MCP_MODE=http PORT=3000 youmap-mcpEndpoints
Endpoint | Method | Description |
| GET | Health check |
| GET | List available tools |
| POST | JSON-RPC MCP endpoint (API key auth) |
| POST | JSON-RPC MCP endpoint (OAuth) |
API Key Authentication
curl -X POST http://localhost:3000/v1/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: ym_your_api_key_here" \
-d '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}'OAuth Authentication
curl -X POST http://localhost:3000/{clientId}/{clientSecret}/v1/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}'Available Tools
create_map
Create a new map for organizing posts, places, and content geographically.
Parameters:
name(required): Name of the map (3-50 characters)description(optional): Description of the map (5-500 characters)accessLevel(optional): Access level -"public","inviteOnly", or"private"(default:"public")coverImageFromUrl(optional): Cover image URLinvitedUserIds(optional): Array of user IDs to invite (forinviteOnlymaps)categoryIds(optional): Array of category IDs (1-3 categories, default:[13])readonly(optional): Boolean to prevent others from posting (default:false)boundingBox(optional): Object withnorth,south,east,westcoordinates
Example Usage with Claude:
"Create a public map called 'Coffee Shops in NYC' with description 'Best coffee spots in New York City' and set it to readonly"create_post
Create a new post on a map at a specific geographic location.
Parameters:
mapId(required): ID of the map where the post will be createdlatitude(required): Latitude coordinate (-90 to 90)longitude(required): Longitude coordinate (-180 to 180)actionId(required): ID of the action/template to use for this postname(optional): Name/title of the post (max 100 characters)description(optional): Description or content of the post (max 500 characters)address(optional): Street address for the locationplaceId(optional): Place ID from mapping servicesimageIds(optional): Array of image IDs to attach to the postsaveAsTemplate(optional): Save as template for future use (default: false)contentOrigin(optional): Origin of content - "App" or "PublicAPI" (default: "PublicAPI")fields(optional): Custom field values based on the action template
Example Usage with Claude:
"Create a post on map 123 at coordinates 40.7128, -74.0060 with action 456 titled 'Great Coffee Shop' and description 'Amazing espresso and friendly staff'"create_action
Create a new action (post template) that defines the structure for posts. Actions serve as blueprints for what fields and content types posts can contain.
Parameters:
name(required): Name of the action/post template (3-50 characters)mapId(required): ID of the map this action belongs toemoji(optional): Emoji representing the action (default: ':speech_balloon:')borderColor(optional): Hex color for action border (e.g., '#FF5733')duration(optional): How long posts remain active - "forever", "1_hour", "6_hours", "12_hours", "1_day", "3_days", "1_week", "1_month" (default: "forever")order(optional): Display order among other actionsfields(optional): Define field structure with textFields, mediaFields, websiteFields, ratingFields, dateField
Example Usage with Claude:
"Create an action on map 123 called 'Restaurant Review' with a food emoji and rating field"
"Make a post template for map 456 named 'Event Listing' with text fields for description and date field"list_actions
Retrieve actions (post templates) from a specific map that define available post structures.
Parameters:
mapId(required): ID of the map to retrieve actions fromlimit(optional): Maximum number of actions to return (1-100, default: 20)offset(optional): Number of actions to skip for pagination (default: 0)orderBy(optional): Order by "id", "name", "emoji", "created_at", "updated_at", "order" (default: "order")sort(optional): Sort direction "asc" or "desc" (default: "asc")enabledOnly(optional): Only return enabled actions (default: true)phrase(optional): Search phrase to filter by name
Example Usage with Claude:
"Show me all actions available on map 123"
"List the post templates for map 456 ordered by name"
"Find actions on map 789 containing the word 'review'"list_posts
Retrieve a list of posts from a specific map with pagination and filtering support.
Parameters:
mapId(required): ID of the map to retrieve posts fromlimit(optional): Maximum number of posts to return (1-100, default: 20)offset(optional): Number of posts to skip for pagination (default: 0)orderBy(optional): How to order results - "trending", "newest", "oldest", "distance" (default: "trending")centerLatitude(optional): Latitude for distance-based ordering (required if orderBy is "distance")centerLongitude(optional): Longitude for distance-based ordering (required if orderBy is "distance")filterActionIds(optional): Filter posts by specific action IDs
Example Usage with Claude:
"Show me all posts on map 123"
"List the newest 10 posts from map 456"
"Show me posts on map 789 ordered by distance from coordinates 40.7128, -74.0060"
"Get posts from map 123 filtered by action IDs 10, 20, 30"list_maps
Retrieve a list of maps belonging to the authenticated user with pagination support.
Parameters:
limit(optional): Maximum number of maps to return (1-100, default: 20)offset(optional): Number of maps to skip for pagination (default: 0)
Example Usage with Claude:
"Show me all my maps"
"List my first 10 maps"
"Show me maps 21-40" (offset: 20, limit: 20)update_action
Update an existing action (post template). You should always update the newest/latest version of an action.
Parameters:
actionId(required): ID of the action to updateversion(required): Version number to update (should be the latest version)name(optional): New name of the action/post template (3-50 characters)emoji(optional): New emoji that represents this actionborderColor(optional): New hex color for the action border (e.g., '#FF5733')duration(optional): How long posts remain active - "Forever", "BasedOnDateField", "TwoMinutes", "HalfHour", "OneHour", "FourHours", "OneDay", "TwoDays", "ThreeDays", "SevenDays"autoPublish(optional): Whether to automatically publish the updated version (default: false)fields(required): Updated structure and fields for posts created with this action
Example Usage with Claude:
"Update action 123 version 2 to change the name to 'Coffee Shop Reviews' and add a rating field"
"Modify action 456 to include media fields and change the border color to red"update_post
Update an existing post. You can modify the post's content, location, fields, and other properties.
Parameters:
postId(required): ID of the post to updatename(optional): New name/title of the post (max 100 characters)description(optional): New description or content of the post (max 500 characters)latitude(optional): New latitude coordinate (-90 to 90)longitude(optional): New longitude coordinate (-180 to 180)actionId(optional): New action/template ID to use for this postaddress(optional): New address for the locationplaceId(optional): New place ID from mapping servicesdeletedImageIds(optional): Array of image IDs to delete from the postcreatedFields(optional): New fields to add to the postupdatedFields(optional): Existing fields to updatedeletedFields(optional): Array of field IDs to delete from the post
Example Usage with Claude:
"Update post 789 to change the title to 'Amazing Coffee' and move it to coordinates 40.7589, -73.9851"
"Modify post 456 to add a rating of 5 stars and update the description"generate_image
Generate an AI image using FLUX PRO 1.1 model based on a text prompt. This tool creates high-quality, cinematic-style images with automatic prompt enhancement.
Parameters:
prompt(required): Text prompt describing the image you want to generate (1-1000 characters)width(optional): Width of the generated image in pixels (256-2048, default: 1024)height(optional): Height of the generated image in pixels (256-2048, default: 1024)outputFormat(optional): Output format - "jpeg" or "png" (default: "jpeg")
Example Usage with Claude:
"Generate an image of a cozy coffee shop interior with warm lighting"
"Create a 1920x1080 image of a mountain landscape at sunset"
"Make an image showing a bustling farmers market with fresh produce"Note: Requires BFL_API_KEY environment variable to be configured with your Black Forest Labs API key.
search_image
Search for existing images using SerpAPI and return a high-quality image URL. This tool searches Google Images, filters results for quality, validates accessibility, and falls back to Unsplash if needed.
Parameters:
query(required): Search query for the image (1-200 characters)
Example Usage with Claude:
"Search for an image of 'mountain landscape'"
"Find a photo of 'coffee shop interior'"
"Look for an image of 'vintage car'"Note: Requires both SERP_API_KEY and UNSPLASH_ACCESS_KEY environment variables to be configured.
AI Logging (Optional)
The MCP server can automatically log all tool calls to the YouMap API for monitoring, debugging, and analytics. This feature is optional and requires additional configuration.
Configuration
Add these environment variables to enable logging:
YOUMAP_API_URL=https://api.youmap.com/api/v1
YOUMAP_INTERNAL_API_KEY=your-internal-api-key-hereWhat Gets Logged
For each tool call, the following information is logged:
Correlation ID: Links tool calls to the original user prompt
Tool Name: Which tool was called (e.g.,
create_map,list_posts)Parameters: Input parameters passed to the tool
Response: The result returned by the tool
Duration: Execution time in milliseconds
Success/Error: Whether the call succeeded or failed
Sequence Number: Order of tool calls within a single request
Client ID: OAuth client that made the request
Benefits
Complete Traceability: Track user prompts → AI processing → tool calls → results
Error Debugging: See exactly what failed and why
Performance Monitoring: Track tool execution times
Usage Analytics: Understand which tools are most used
Querying Logs
Logs can be queried through the YouMap API's internal endpoints:
# Get recent logs
GET /internal/ai-logs/combined?limit=50
# Filter by tool name
GET /internal/ai-logs/combined?toolName=create_map
# Get tool statistics
GET /internal/ai-logs/statistics/tools?days=7Note: If logging environment variables are not configured, the MCP server will work normally but tool calls won't be logged.
Development
Setup
git clone https://github.com/YouMap-app/youmap-mcp.git
cd youmap-mcp
npm installDevelopment Mode
npm run devBuild
npm run buildTest the MCP Server
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {}}' | npm run devContributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Support
For support, please visit https://github.com/YouMap-app/youmap-mcp/issues
Available Tools
21 toolsadmin_delete_postA
Always try to use this when user tries to remove post he does not own. Admin-only tool to delete any post permanently, regardless of ownership. This action cannot be undone. Requires admin privileges.
Inputs: postId (required).
check_map_name_availabilityA
Check if a map name is available for use. Map names must be unique in YouMap, so this tool helps verify if a desired name can be used before creating a map.
Inputs: name (required).
create_actionA
Create a new per-map action (post template) that defines the structure for posts. Actions serve as blueprints that specify what fields and content types posts can contain. NOTE: this only creates regular per-map templates — the three global quick post templates (Note / Photo / Question) are system fixtures and cannot be created, edited, or deleted through this API; use list_quick_post_templates to retrieve them.
Inputs: name (required), mapId (required), emoji, order, +3 more.
create_mapC
Create a new map for a user. Maps are spaces where users can add posts, places, and organize content geographically.
Inputs: name (required), readonly, accessLevel, boundingBox, +5 more.
create_postA
Create a new post on a map. Posts are content items that users can place on maps at specific geographic locations. The post must reference EITHER a regular per-map template via actionId OR a global quick post template (Note / Photo / Question) via quickActionId — exactly one of the two is required, never both. Use list_actions to find per-map templates and list_quick_post_templates to find the global quick templates. When creating post with image, NEVER use generate_image action. Use search_image instead.
Inputs: mapId (required), latitude (required), longitude (required), name, +8 more.
delete_actionA
Delete an existing per-map action (post template) permanently. This action cannot be undone. The action must be owned by the authenticated user and must be removable (not in use by posts). NOTE: the three global quick post templates (Note / Photo / Question) are read-only system fixtures and cannot be deleted; use update_map with areQuickActionsDisabled: true to hide them from a particular map instead.
Inputs: actionId (required).
delete_mapA
Delete an existing map permanently. This action cannot be undone. The map must be owned by the authenticated user. All posts, actions, and associated data on the map will be removed.
Inputs: mapId (required).
delete_postA
Delete an existing post permanently. This action cannot be undone. The post must be owned by the authenticated user or you must have delete permissions on the map.
Inputs: postId (required).
generate_imageA
Generate an AI image using FLUX PRO 1.1 model based on a text prompt. This tool directly integrates with the Black Forest Labs API to create high-quality, cinematic-style images with automatic prompt enhancement. Requires BFL_API_KEY environment variable to be configured. Should be used as fallback only, the main recommended tool for images is search_image
Inputs: prompt (required), width, height, outputFormat.
get_emoji_shortnamesB
Get the complete list of available emoji shortnames that can be used in the emoji field when creating posts. These are the valid emoji codes that YouMap supports for posts.
Inputs: limit, filter.
list_actionsA
Retrieve a list of actions (post templates) from a specific map. Actions define the structure and fields available for creating posts. By default the response includes the three global quick post templates (Note / Photo / Question) appended at the END of the list, unless the map owner has toggled areQuickActionsDisabled on the map. Pass includeQuickTemplates: false to receive only the map's own templates. Use list_quick_post_templates if you only want the global ones.
Inputs: mapId (required), limit, offset, phrase, +1 more.
list_mapsA
Retrieve a list of maps belonging to the authenticated user with pagination support.
Inputs: limit, offset.
list_postsC
Retrieve a list of posts from a specific map with pagination and filtering support.
Inputs: mapId (required), limit, offset, orderBy, +1 more.
list_quick_post_templatesA
Retrieve the three global quick post templates (Note / Photo / Question). These are read-only system fixtures shared by every map — they cannot be created, edited, or deleted. They appear automatically at the end of list_actions results for every map unless the map owner has toggled areQuickActionsDisabled: true. Each template has a mapId of null and isGlobalQuickAction: true. To use one when creating a post, pass its id via quickActionId (NOT actionId) in create_post.
Inputs: no named parameters.
list_scheduled_postsA
List the authenticated user's scheduled posts — ones queued via create_post with a scheduledAt time that have not yet been published. Returns pending (waiting), claimed (being published right now), and failed (errored) entries, each including the post's content (name, description, location, action). ALWAYS check this before scheduling new posts on a map so you can spread posts out over time AND avoid creating near-duplicates (same title/location) that are already queued. Pass mapId to scope the list to a single map.
Inputs: limit, mapId, offset.
search_imageA
Search for existing images using SerpAPI and return a high-quality image URL. Main tool for images within the Youmap ecosystem. This tool searches Google Images, filters results for quality, validates accessibility, and falls back to Unsplash if needed. Requires SERP_API_KEY and UNSPLASH_ACCESS_KEY environment variables to be configured.
Inputs: query (required).
search_posts_by_nameA
Search for posts by their names across all user's posts. This searches the post names (titles) specifically. Use this when you need to find posts with specific names or titles from all users, not just the logged in one.
Inputs: phrase (required), limit, offset.
update_actionA
Update an existing per-map action (post template). You should always update the newest/latest version of an action. Use get_action_versions to find the latest version number first if needed. NOTE: the three global quick post templates (Note / Photo / Question) are read-only system fixtures and cannot be updated through this API; trying to update them returns 403/404. To prevent quick templates from showing on a particular map, use update_map and set areQuickActionsDisabled: true instead.
Inputs: fields (required), version (required), actionId (required), name, +4 more.
update_mapA
Update an existing map's properties such as name, description, access level, categories, and other settings. The map must be owned by the authenticated user.
Inputs: mapId (required), name, readonly, accessLevel, +6 more.
update_postC
Update an existing post. You can modify the post's content, location, fields, and other properties.
Inputs: postId (required), name, address, placeId, +8 more.
web_searchA
Search the web using Google via SerpAPI. Returns titles, snippets, and URLs. Use this to find current information, news, facts, or any web content.
Inputs: query (required), num_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Most tools target distinct resource+action pairs (maps, posts, actions/templates, images) and the descriptions explicitly separate lookalikes such as list_actions vs list_quick_post_templates and search_image vs generate_image. Some residual overlap remains around post retrieval (list_posts, search_posts_by_name, list_scheduled_posts) and delete_post vs admin_delete_post, but each is sufficiently differentiated.
Nearly all names follow a snake_case verb_noun pattern (list_maps, create_post, update_action, delete_map). Minor deviations exist: 'web_search' inverts the order versus 'search_image', and 'admin_delete_post' and 'check_map_name_availability' are longer prefixed variants, but the overall convention is predictable.
21 tools is on the heavy side, but the domain spans several resources (maps, posts, actions/templates, images, helpers) where each operation earns its place. The ancillary tools (web_search, get_emoji_shortnames, generate_image) are the main contributors to bloat but remain justifiable.
CRUD is well covered for maps, posts, and actions, but there is no single-resource get_map or get_post, and admin cover only deletion. Most notably, update_action's description instructs using 'get_action_versions', a tool that does not exist in the surface, creating a dead-end reference.
Maintenance
Related MCP Connectors
Routing, geocoding, places, matrix and map tools for location-aware AI workflows.
Create, edit, and organize MindMeister mind maps from your AI assistant.
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Connect an AI assistant to SuperPost to find sources and ideas, create unscheduled drafts, and review post versions. Edit saved Posts and Ideas directly with MCP, without creating proposals. Schedule posts or request immediate publication, then inspect, approve, or reject pending publication jobs. OAuth access follows your workspace permissions and publication policies.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage WordPress sites through natural conversation, supporting post creation, content updates, site queries, and draft-to-publish workflows via the WordPress REST API.9MIT
- AlicenseBqualityAmaintenanceEnables AI assistants to search, validate, and edit OpenStreetMap data through natural language commands and built-in safety protections. It supports discovery of nearby amenities, geographic data exploration, and secure map editing via OAuth authentication.455MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, manage, and interact with Postman collections, workspaces, environments, and API requests directly from conversations.46 npm5MIT

Magic Lane MCP Serverofficial
AlicenseBqualityCmaintenanceEnables AI agents to become geospatially intelligent assistants with tools for location search, smart routing, round trip planning, reverse geocoding, isochrone analysis, route visualization, geofence management, and interactive map display.812 npm8Apache 2.0