Maven MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Maven MCP or direct API to create voice payment sessions, create web payment sessions, monitor payment status, and retrieve session details through natural language.

Maven logoMaven
Api Key

Maven provides APIs for creating and monitoring secure voice and web payment sessions. It helps businesses handle payment conversations and checkout flows with secure session controls.

8 Tools

Try Maven now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Maven
Try asking
TOOLS

Supported Tools

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

Cancel Session

Cancel a Maven payment session.

Create Voice Session

Create a Maven voice payment or card-tokenization session and return the identifiers used for transfer and polling.

Create Widget Session

Create a hosted Maven chat or web payment session and return its widget URL and expiration.

Get Account Context

Return whether the connected Maven API key is authenticated, plus its organization and test or live mode.

Get Session

Return the latest Maven session matching exactly one identifier: a session ID for any voice or widget session, or a caller phone number for the caller's most recent active voice session, falling back to its latest terminal session.

Check API Health

Check Maven API health and its reported service connectivity.

List Projects

List all Maven projects available to the connected organization.

Stream Session

Read Maven's raw session status stream for one session UUID.

SETUP GUIDE

Connect Maven MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["maven"],
  mcp: true,
});
Create a session scoped to Maven and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Create a secure web payment session for order 8472",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Maven request
SETUP GUIDE

Connect Maven API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["maven"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Maven
3

Run Maven tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Create a secure web payment session for order 8472" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Maven tool calls through the session, and print the final answer

Why Use Composio?

AI Native Maven Integration

  • Supports both Maven MCP and direct API integrations
  • Structured, LLM-friendly schemas for creating and monitoring secure payment sessions
  • Lets agents work with Maven payment sessions without bespoke integration code

Managed Auth

  • Securely stores and uses your Maven API keys for tool requests
  • Central place to manage, scope, and revoke Maven access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Maven
  • Scoped, least privilege access to Maven payment session resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Maven with any AI Agent Framework

Choose a Framework you want to connect Maven with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Maven.It takes 30 seconds.

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

Start building