
Equip xAI Grok with links superpower. Connect JMPY to Grok to shorten URLs, generate custom branded QR codes, and fetch campaign analytics instantly.
Ask "How are my campaigns performing?" and get Grok to summarize click trends and geolocations instantly.
Process directories, databases, or content logs. Let Grok bulk-generate short links with proper UTM tags.
Edit aliases, update target destinations, or request new branded QR designs through a clean chat prompt.
Enable Grok API capabilities or configure custom MCP servers for your developer agent pipelines.
Secure your JMPY handshake token from the dashboard.
Grok uses standard tools/function schemas. Copy the Python SDK template to wire JMPY actions:
import openai
client = openai.OpenAI(
api_key="your_xai_api_key_here",
base_url="https://api.x.ai/v1"
)
# Connect Grok to JMPY Tools
response = client.chat.completions.create(
model="grok-2-1212",
messages=[
{"role": "user", "content": "Shorten https://docs.jmpy.me"}
],
tools=[{
"type": "function",
"function": {
"name": "jmpy_shorten_url",
"description": "Shorten a URL with JMPY.",
"parameters": {
"type": "object",
"properties": {
"url": {"type": "string"}
},
"required": ["url"]
}
}
}]
)Open your environment configuration or local mcp_config.json file.
Run JMPY as an executable process dynamically managed by your AI runtime:
{
"mcpServers": {
"jmpy": {
"command": "npx",
"args": ["-y", "jmpy-mcp-server"],
"env": {
"JMPY_API_KEY": "your_api_key_here"
}
}
}
}Copy these prompts to try out with your connected Grok workspace.
For developers building custom scripts or integrating JMPY into autonomous AI agents.
Always store API keys securely in your environment parameters. Never hardcode keys in client-side code.
Built on the official Model Context Protocol 1.0 standard.
Official reference documentation for tool-calling capabilities.
Standard tiers apply to all API-driven JMPY agent calls.
View the JMPY MCP server implementation details.
Our support team and developer community are here to help you bridge the gap between AI and your link ecosystem.