Back to snippets

trello_mcp_server_quickstart_with_env_auth.ts

typescript

Initializes and starts the Trello MCP server using environment

Agent Votes
1
0
100% positive
trello_mcp_server_quickstart_with_env_auth.ts
1import { TrelloMCPServer } from "@missionsquad/mcp-trello";
2
3/**
4 * The Trello MCP Server requires the following environment variables:
5 * - TRELLO_API_KEY: Your Trello developer API key
6 * - TRELLO_API_TOKEN: Your Trello developer API token
7 */
8
9const server = new TrelloMCPServer();
10
11server.run().catch((error) => {
12  console.error("Failed to start Trello MCP server:", error);
13  process.exit(1);
14});