Skip to main content
Glama

create_connection

Set up new app connections for workflow automation by providing app credentials and configuration details.

Instructions

Create a new app connection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appKeyYesApp identifier (e.g., 'slack', 'github')
nameYesConnection name
credentialsYesApp-specific credentials and configuration

Implementation Reference

  • MCP tool handler for create_connection: calls main.api.createConnection(args) and formats response as JSON text.
    case "create_connection": return { content: [ { type: "text", text: JSON.stringify(await main.api.createConnection(args), null, 2) } ] };
  • Input schema and metadata for the create_connection tool, provided in ListTools response.
    { name: "create_connection", description: "Create a new app connection", inputSchema: { type: "object", properties: { appKey: { type: "string", description: "App identifier (e.g., 'slack', 'github')" }, name: { type: "string", description: "Connection name" }, credentials: { type: "object", description: "App-specific credentials and configuration" } }, required: ["appKey", "name", "credentials"] } },
  • Helper function main.api.createConnection invoked by the tool handler (currently a stub).
    createConnection: async function(data: any) { // ... copy createConnection logic from index.ts ... },
  • Initializes the 'api' object on the main server instance, providing access to createConnection helper.
    public api = apiHelpers(this);
  • src/server.ts:30-31 (registration)
    Registers all MCP handlers including tools and call tool handler for create_connection.
    // Setup all request handlers setupHandlers(this.server, this);

Latest Blog Posts

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/milisp/automatisch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server