building-agent-mcp-server
Installation
SKILL.md
Building an Agent MCP Server
Scalekit lets you build MCP servers that manage authentication, create personalized access URLs for users, and define which tools are accessible. You can also bundle several toolkits (e.g., Gmail + Google Calendar) within a single server.
Model Context Protocol (MCP) is an open-source standard that enables AI systems to interface with external tools and data sources. Where the integrating-agent-auth skill uses the SDK directly, this workflow exposes Scalekit tools over the MCP protocol so any compliant client — LangChain, Claude Desktop, MCP Inspector — can consume them.
Note: Agent Auth MCP servers only support Streamable HTTP transport.
What you'll build
- A Scalekit MCP server that fetches the user's latest email and creates a reminder calendar event
- A LangGraph agent that connects to this server via
langchain-mcp-adaptersand invokes the tools
Prerequisites
- Scalekit credentials: app.scalekit.com → Settings → Copy
SCALEKIT_CLIENT_ID,SCALEKIT_CLIENT_SECRET,SCALEKIT_ENV_URL - OpenAI API key:
OPENAI_API_KEY