MCP ExplorerExplorer

Composio Mcp

@matyo91on a month ago
1 MIT
FreeCommunity
AI Systems
Composio PHP MCP server

Overview

What is Composio Mcp

Composio-mcp is a PHP-based MCP server designed to facilitate the integration of various tools like Gmail and Google Calendar through a structured API.

Use cases

Use cases for Composio-mcp include automating email responses, scheduling meetings based on email priorities, and managing calendar events efficiently through API interactions.

How to use

To use Composio-mcp, first create a project using Composer with ‘composer create-project symfony/skeleton’ and then require the MCP server with ‘composer require php-mcp/server’. After obtaining your API key from https://composio.dev, you can add actions for Gmail and Google Calendar using the provided command.

Key features

Key features of Composio-mcp include integration with Gmail and Google Calendar, the ability to fetch emails, send emails, create calendar events, and find free slots in the calendar. It also supports debugging and workflow execution with Uniflow and neuron AI.

Where to use

Composio-mcp can be used in various fields such as email management, calendar scheduling, and automated workflows, particularly in environments that require integration with Google services.

Content

Composio PHP MCP Server

What do we do?

composer create-project symfony/skeleton
composer require php-mcp/server
  • Add tools: Gmail and Google Calendar

Get your api key on https://composio.dev

Add actions :

make nix
php bin/console app:generate-tools \
    --entityId default \
    --action GMAIL_FETCH_EMAILS \
    --action GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID \
    --action GMAIL_FETCH_MESSAGE_BY_THREAD_ID \
    --action GMAIL_SEND_EMAIL \
    --action GOOGLECALENDAR_CREATE_EVENT \
    --action GOOGLECALENDAR_FIND_EVENT \
    --action GOOGLECALENDAR_FIND_FREE_SLOTS \
    --action GOOGLECALENDAR_GET_CALENDAR \
    --action GOOGLECALENDAR_GET_CURRENT_DATE_TIME \
    --action GOOGLECALENDAR_LIST_CALENDARS \
    --action GOOGLECALENDAR_QUICK_ADD

Composio PHP Sdk is inspired from the official Composio Javascript SDK : https://github.com/ComposioHQ/composio-js

Debug MCP server

npx @modelcontextprotocol/inspector node build/index.js
  • Create an agent with neuron AI for Uniflow PHP Client

More info https://www.neuron-ai.dev

  • Execute the workflow with Uniflow

flows :

  • object :

env.OPENAI_API_KEY=
env.COMPOSIO_API_KEY=

  • text :
    variable : prompt
I would like to respond to important emails.

Please find important unread emails in my inbox and summarize them here (leave out details, because people are watching).

Then, find a free slot this week (May 6 2025) in my calendar that would be ideal to respond to ALL important emails and create a calendar event.
  • javascript :
agent(prompt)

Resources

Composio PHP Sdk is inspired from the official Composio Javascript SDK : https://github.com/ComposioHQ/composio-js

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers