Follow these steps to quickly launch an Octomind MCP server and toolkit agent in a Meshagent Room for testing:
  1. Install Meshagent CLI and dependencies:
    pip install "meshagent[all]"
    
  2. Sign up and authenticate with Meshagent:
  3. Start a test agent (MCP server) in a Meshagent Room:
    meshagent service test --room=test --role=agent --image=meshagent/mcp-octomind:latest --env MESHAGENT_PORT=8001 --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" --name=mcp-octomind-service-test
    
    • This will launch an Octomind MCP server as a service available in the test Meshagent Room. Rooms close automatically if left inactive.
  4. Start a chatbot inside the room with the Octomind toolkit:
    meshagent chatbot join --room=test --agent-name=mcp-octomind --name=mcp-octomind --toolkit=mcp-octomind
    
    • This command launches a chatbot in the room that can utilize the Octomind tools.
    • Multiple toolkits can be loaded with the same agent.
    • A link to your room will be provided in the output.
  5. Open the provided Room link in your browser and interact:
    • Send messages to the agent and use the MCP Server tools right in the chat!
Note: Both the server and chatbot will be automatically stopped and cleaned up when the Room is closed.

Project Level Deployment: Persistent MCP Server and Chatbot

For production or persistent use, you can deploy the Octomind MCP Server and its chatbot at the project level. These services will automatically join all new Rooms in your Meshagent project, ensuring tool and chatbot availability for every collaborative session without manual intervention.
  1. Create a persistent Octomind MCP server service:
    meshagent service create --role=agent --image=meshagent/mcp-octomind:latest --env MESHAGENT_PORT=8001 --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" --name=mcp-octomind-service
    
  2. Create a persistent chatbot service using the toolkit:
    meshagent service create --image="meshagent/cli:latest" --port="num=9001 path=/agent liveness=/ type=meshagent.callable participant_name=mcp-octomind-chatbot" --env="MESHAGENT_PORT=9001" --name="mcp-octomind-chatbot-service" --command="meshagent chatbot service --agent-name=mcp-octomind-chatbot --toolkit=mcp-octomind"
    
These services will now auto-join every Room in your project, allowing immediate use of the Octomind tools and chatbot each time a new Room is created.

Tools Available

Tools Summary

  • createEnvironment: Create an environment for a test target, including setup, credentials, headers, discovery URLs, and variables.
  • createTestTarget: Create a new test target or project, representing apps or services to be tested.
  • deleteEnvironment: Delete an environment for a given test target (irreversible).
  • deleteTestTarget: Delete an existing test target (operation cannot be undone).
  • discovery: Create a test case for a test target using descriptions or prompts; assign tags, entry points, or folders.
  • executeTests: Trigger a set of tests for a given test target with context and filtering.
  • getEnvironments: Retrieve environments for a given test target, including setup details.
  • getPrivateLocations: List all private locations configured for an org, allowing behind-firewall/VPN access.
  • getTestCase: Get details of a test case for a test target, with all interactions and assertions.
  • getTestReport: Get a test report for a specified test target and report ID.
  • getTestReports: List all test reports for a test target, with filtering options.
  • getTestTargets: List all test targets or projects.
  • getVersion: Retrieve the current version of the Octomind MCP server.
  • search: Search Octomind documentation and return result links.
  • updateEnvironment: Update environment details for a test target.
  • updateTestTarget: Update the properties of an existing test target.

Tool Details

createEnvironment

Creates an environment for a given test target, including optional test account, header configuration, discovery URL, and variables.
ParameterTypeDescription
discoveryUrlstringURL used for test discovery
namestringName of the environment
testTargetIdstringUnique identifier of the test target
additionalHeaderFieldsobject optionalOptional HTTP headers for discovery
basicAuthobject optionalOptional basic auth credentials for discovery
privateLocationNamestring optionalName of private location for behind-firewall/VPN discovery
testAccountobject optionalTest account credentials for discovery

createTestTarget

Creates a new test target (application or service) for Octomind testing.
ParameterTypeDescription
appstringApp/project name of the test target
discoveryUrlstringDiscovery URL of the test target
skipAutomaticTestCreationboolean optionalSkips auto test creation

deleteEnvironment

Deletes an environment for a test target. This action cannot be reversed.
ParameterTypeDescription
environmentIdstringUnique ID of the environment to delete
testTargetIdstringUnique ID of the test target

deleteTestTarget

Deletes an existing test target permanently.
ParameterTypeDescription
testTargetIdstringUnique ID of test target to delete

discovery

Creates a test case on a test target using prompts or URLs, and can assign tags, entry points, or folders.
ParameterTypeDescription
namestringName of the test case to create
promptstringPrompt/description for test case generation
testTargetIdstringUnique test target identifier
assignedTagNamesarray optionalList of tags to assign
entryPointUrlPathstring optionalEntry point URL path
externalIdstring optionalExternal identifier (e.g., ticket number)
folderNamestring optionalTest case folder name
prerequisiteIdstring optionalPre-requisite test case ID

executeTests

Triggers a set of tests for a given test target.
ParameterTypeDescription
testTargetIdstringUnique ID of the test target
urlstringURL on which to execute the tests
descriptionstring optionalOptional test run description
environmentNamestring optionalEnvironment for test execution
tagsarray optionalFilter for tests to execute
variablesToOverwriteobject optionalVariables for test override

getEnvironments

Retrieves environments for a given test target.
ParameterTypeDescription
testTargetIdstringUnique test target identifier

getPrivateLocations

Lists private locations for an organization, enabling access to remote/internal targets.

getTestCase

Retrieves a test case by test target and case ID.
ParameterTypeDescription
testCaseIdstringUnique ID of the test case
testTargetIdstringUnique test target identifier

getTestReport

Retrieves a specific test report for a test target.
ParameterTypeDescription
testReportIdstringUnique report ID
testTargetIdstringUnique test target identifier

getTestReports

Lists all test reports for a test target.
ParameterTypeDescription
testTargetIdstringUnique test target identifier
filterarray optionalFilters for report selection
keyobject optionalFilter key

getTestTargets

Lists all test targets or projects.

getVersion

Returns the current Octomind MCP server version. Searches Octomind documentation by a query.
ParameterTypeDescription
querystringText for search

updateEnvironment

Updates an environment for a test target.
ParameterTypeDescription
environmentIdstringUnique ID of the environment
testTargetIdstringUnique test target identifier
additionalHeaderFieldsobject optionalExtra discovery HTTP headers
basicAuthobject optionalDiscovery authentication credentials
discoveryUrlstring optionalNew discovery URL
namestring optionalNew environment name
privateLocationNamestring optionalNew private location for discovery
testAccountobject optionalNew test account for authentication

updateTestTarget

Updates an existing test target.
ParameterTypeDescription
testTargetIdstringUnique ID of the test target to update
appstring optionalNew app/project name
discoveryUrlstring optionalNew discovery URL
skipAutomaticTestCreationboolean optionalSkip automatic test creation
testIdAttributestring optionalTest ID attribute name
testRailIntegrationobject optionalTestRail integration configuration
timeoutPerStepnumber optionalTimeout per test step (ms)