How to connect Affinity to Muse

Connect Muse to Affinity MCP. List all companies added this week, show all opportunities in active pipeline, and more using natural language, with authentication handled for you.

Affinity logoAffinity
Api Key

Affinity is a relationship intelligence CRM that helps private capital investors find, manage, and close more deals. It streamlines deal flow and surfaces key connections to help you win opportunities.

20 Tools

Introduction

Muse is Meta's AI assistant. It can connect to outside tools through custom connectors, which use the Model Context Protocol (MCP).

This guide explains how to connect Affinity to Muse using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a custom connector once, then ask Muse to work with Affinity in plain language.

Also integrate Affinity with

Why use Composio?

  • Cross-app workflows across 1,500+ apps from a single plugin layer.
  • On-demand tool loading so Muse only loads the tools needed for the current task.
  • Programmatic tool calling through a remote workbench for complex, multi-step workflows.
  • Multi-account support so users can connect and switch between multiple accounts for the same app.
  • Shared account access so teams or agents can work through common business accounts and service connections.
  • Managed authentication with OAuth handling, credential storage, and token refresh managed by Composio.
  • Safer credential handling so app credentials stay outside the model context and tool responses.
  • User-level account isolation so actions run against the correct connected account instead of mixing user access.

Connecting Affinity to Muse

You add Composio to Muse once as a custom connector, then connect Affinity from the chat.

1. Ask Muse to connect to Composio

Start a new Muse chat and send this message. Muse builds the connector and shows a button to add your API key.

bash
Create a Custom Connector for the Composio remote MCP server and connect to it:
- Name: Composio
- Transport: remote streamable HTTP
- URL: https://connect.composio.dev/mcp
- Auth: API key sent in the x-consumer-api-key header
Open the secure credentials store so I can enter the API key there, not in this chat. Then list its tools to confirm the connection works.

2. Copy your API key

Open the Muse page in your Composio dashboard and copy your API key. It starts with ck_.

Don't paste it into the chat. It goes in Muse's secure credentials store in the next step.

3. Add your API key in the secure credentials store

Tap the button Muse shows to open Add custom connector, paste your API key, then tap Add. Muse lists the Composio tools once it connects.

Muse secure credentials store with the connect.composio.dev URL, an API Key field, and the Add button

4. Connect your Affinity account

Back in the chat, ask Muse to connect to Affinity or give it any Affinity task.

For example, ask it to:

  • "List all companies added this week"
  • "Show all opportunities in active pipeline"
  • "Get recent contacts linked to Acme Corp"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Muse, and your Affinity account is ready to use.

What is the Affinity MCP server, and what's possible with it?

The Affinity MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Affinity account. It provides structured and secure access to your relationship and deal data, so your agent can find companies, review people, inspect opportunities, explore lists, and analyze saved views on your behalf.

  • Company research: Have your agent find companies, retrieve detailed company information and custom fields, and review the lists where each company appears.
  • Contact discovery: Let the agent browse people, pull individual profiles and field data, and see each person's related lists and entries.
  • Opportunity review: Direct your agent to list investment opportunities or retrieve the core details of a specific opportunity for deal research.
  • List analysis: Instruct your agent to explore available lists, inspect their fields, and review company, person, or opportunity entries with relevant details.
  • Saved view reporting: Have your agent discover saved views, inspect their setup, and retrieve the matching rows for focused portfolio or pipeline analysis.

Way Forward

Now that Affinity is connected, extend your setup by connecting the other apps you already use every day, so Muse can run true cross-app workflows end to end.

  • Connect Calendar to turn threads into scheduled meetings automatically.
  • Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
  • Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
  • Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.

Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, Muse can coordinate multiple tools safely and reliably in one conversation.

Troubleshooting

1. Why doesn't Muse show a button to add my API key?

Muse shows the button only when you ask it to open the secure credentials store.

  • Start a new chat.
  • Send the message from step 1 exactly as written.
  • If Muse asks for the key in the chat, do not paste it. Ask Muse to open the secure credentials store.

2. Why does the Composio connection fail after I add my API key?

The key or the connector settings are not correct.

  • Copy the full key from the Composio dashboard. It starts with ck_.
  • Make sure the URL is https://connect.composio.dev/mcp and the header is x-consumer-api-key.
  • Remove the Composio connector in Muse settings, then do steps 1 to 3 again.

3. Why doesn't Muse use the Composio tools for Affinity?

Muse may not pick the Composio connector for the request.

  • Ask Muse to list its Composio tools.
  • Name Composio and Affinity in your request, for example: Use Composio to connect to Affinity.
  • If it still does not work, start a new chat and try again.

4. Why does Muse ask me to connect Affinity again?

Your Affinity connection expired or was removed.

  • Open the link Muse gives you and sign in to Affinity again.
  • Check that the Affinity connection shows as ACTIVE in the Composio dashboard.

5. What do I do if I pasted my API key into the chat?

Treat the key as exposed.

  • Create a new API key in the Composio dashboard and delete the old one.
  • Add the new key in Muse's secure credentials store, not in the chat.
TOOLS

Supported Tools

Every Affinity action and event your agent gets out of the box.

Get a company s list entries

Summarize company data across all lists, including list-specific fields and metadata like creation date and author.

Get a company s lists

Returns metadata for all the Lists on which the given Company appears.

Get all companies

Affinity API allows paginated access to company info and custom fields.

Get all list entries on a list

Access and export essential data and metadata for Companies, Persons, or Opportunities from a List, specifying data via `fieldIds` or `fieldTypes`.

Get all list entries on a saved view

Use the endpoint to access rows in a Saved View with specific filters and selected fields from a web app.

Get all opportunities

Pagination through Opportunities in Affinity yields basic info but excludes field data.

Get all persons

The Affinity API offers paginated access to Person data using `fieldIds` or `fieldTypes`.

Get a person s list entries

Summary: Browse rows for a Person in all Lists, showing field data and entry metadata like creation time and author.

Get a person s lists

Returns metadata for all the Lists on which the given Person appears.

Get a single company

Retrieve basic company info and specific field data by using `fieldIds` or `fieldTypes` parameters.

Get a single opportunity

Get basic details about an Opportunity without field data via provided endpoints.

Get a single person

Use GET `/v2/persons/fields` with `fieldIds` or `fieldTypes` for detailed data; basic info by default.

Get current user

Returns metadata about the current user.

Get metadata on all lists

Returns metadata on Lists.

Get metadata on a single list

Returns metadata on a single List.

Get metadata on a single list s fields

Returns metadata on the Fields available on a single List.

Get metadata on a single saved view

Returns metadata on a single Saved View.

Get metadata on company fields

Returns metadata on non-list-specific Company Fields.

Get metadata on person fields

Returns metadata on non-list-specific Person Fields.

Get metadata on saved views

Returns metadata on the Saved Views on a List.

FAQ

Frequently asked questions

Yes. Muse supports custom connectors that use the Model Context Protocol (MCP). Composio connects as one custom connector over remote streamable HTTP at https://connect.composio.dev/mcp, and gives Muse access to Affinity and 1,500+ other apps.

Copy it from the Composio dashboard. It starts with ck_. Enter it only in Muse's secure credentials store, never in the chat.

Yes. Composio supports multiple connected accounts for the same app. Give each Affinity connection a name, such as work or personal, and tell Muse which one to use.

Tokens, keys, and configuration are encrypted at rest and in transit. Your Composio API key stays in Muse's secure credentials store, not in the chat or the model context. Composio is SOC 2 Type 2 compliant.

Start with Affinity.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Affinity tool your agent needs.Free to start.

Start building