Skip to main content

A marketplace for MCP (Model Context Protocol) connectors

Project description

SecuraOps MCP Marketplace

A Python SDK for MCP (Model Context Protocol) connectors.

Installation

pip install securaops-mcp-marketplace

Minimum requirements

  1. python => 3.8
  2. An API_KEY generated on SecuraOps MCP Marketplace platform available on your profile management.

Documentation

Full documentation available on https://mcp.securaops.tech/docs

Available connectors

  1. Slack Connector: SlackConnector
  2. Discord Connector: DiscordConnector
  3. Trello Boards connector: TrelloConnector
  4. Notion connector: NotionConnector
  5. Google Drive connector: GoogleDriveConnector
  6. Github connector: GithubConnector
  7. Jira connector: JiraConnector
  8. Linear Issues connector: LinearConnector
  9. PostgreSQL connector: PostgresSqlConnector
  10. MongoDB Atlas connector: MongoDBAtlasConnector

Slack Integration

Tools available

  1. slack_list_channels: List channels in the workspace
  2. slack_post_message: Post a message to a Slack channel
  3. slack_add_reaction: Add a reaction to a message
  4. slack_test_connection: Test if the Slack connection is working

Example code

import asyncio
import os
from dotenv import load_dotenv
from securaops_mcp_marketplace import SlackConnector

load_dotenv()

API_KEY = os.environ.get("API_KEY","your securaps mcp api key")
BOT_TOKEN = os.environ.get("BOT_TOKEN","xoxb-your-slack-bot-token")   
TEAM_ID = os.environ.get("TEAM_ID","T1234567890")
CHANNEL_ID= os.environ.get("CHANNEL_ID","C1234567890")  # Replace with your test channel ID

async def main():
    async with SlackConnector(
        api_key=API_KEY,
        bot_token=BOT_TOKEN,
        team_id=TEAM_ID
    ) as connector:

        print("BOT TOKEN:", BOT_TOKEN)

        # Initialize the connector
        init_result = await connector.handle_initialize()
        print(f"Initialization: {init_result['success']}")
            
        # List available tools
        tools_result = await connector.handle_tools_list()
        print(f"Available tools: {[tool['name'] for tool in tools_result['data']['tools']]}")
            
        # Send a message
        message_result = await connector.handle_tools_call(
            "slack_post_message",
            {"channel_id": CHANNEL_ID, "text": "Hello from MCP Slack Connector test script!"}
        )
        print(f"Message result: {message_result}")
        print(f"Message sent: {message_result['success']}")

# Run the async function
asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file securaops_mcp_marketplace-0.1.0.post5-py3-none-any.whl.

File metadata

File hashes

Hashes for securaops_mcp_marketplace-0.1.0.post5-py3-none-any.whl
Algorithm Hash digest
SHA256 466975406b1a380b10f9ae6c235825287c2787b172fbecacc4ac21f45746f90f
MD5 0bcdb2d466951f1c61b539d3e055df01
BLAKE2b-256 9f94507a0d6fb41574f24042566b35c0881fa35df91285b0ae79deae906c9ab4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page