Skip to main content

Connecting an MCP client to fastn

In this guide we are going to take a look at how we can connect the fastn MCP server to an MCP client like Cursor and use its AI assistant to send a message via Slack.

Step 1 - Configure Actions

  • Login to fastn.
  • Click on the “Try MCP” button on the on the fastn MCP banner.

image.png

  • Select a workspace.

image.png

  • On the next screen, find and choose the connectors to access using your MCP client’s AI assistant.

image.png

  • Use the search box to find your desired connector like “Slack”.

image.png

  • Click on the “Enable” button to connect to Slack and pick the actions that the AI assistant will be able to access.

image.png

  • Click on “Connect My Account” to connect to your desired Slack workspace.

image.png

  • After connecting, pick an action like “Send Message”.

image.png

  • Click on “Done” to close the action selection and then click on “Continue” to move on to the next step.

Step 2 - Connect your MCP client

Cursor

  • Install Cursor on your desktop.
  • Open Cursor and navigate to “Open Cursor Settings” on the top right side of the window.

image.png

  • Navigate to MCP and click on “Add a new global MCP Server”. It will open a file titled “mcp.json”.

image.png

  • From fastn copy the JSON configuration for the MCP server.

image.png

  • And paste it in the mcp.json file.

image.png

  • Save the file.
  • Navigate back to MCP page in Cursor settings to see the “Fastn MCP Server” enabled.

image.png

Step 3 - Sending a message to Slack

  • Click on the “Toggle AI Pane” to open AI assistant chat interface.

image.png

  • Write a prompt for the AI assistant to send a message to a Slack channel.

image.png

  • Click on “Run tool” to send the message.

image.png

image.png