MCP
Connect Model Context Protocol (MCP) servers to search and import pages as knowledge sources.
Understanding MCP
The Model Context Protocol (MCP) enables AI systems to connect to external tools and services. In Rhesis, you can search for pages from connected MCP servers and save them as sources in your Knowledge base.
How MCP Works in Rhesis
MCP servers are used to:
- Search for Pages: Use natural language queries to find pages
- Select Pages: Choose pages from search results
- Save as Sources: Extract and save selected pages as sources in your Knowledge base
Saved sources can be used in test generation and other workflows.
Future MCP Capabilities
Planned features include:
- Task Integration: Convert Tasks to Jira tickets
- Bidirectional Sync: Sync data between Rhesis and MCP servers
- Workflow Automation: Automate actions across integrated tools
- Enhanced Tool Usage: Use MCP tools directly in test execution
Supported MCP Servers
Notion
Search and import pages from your Notion workspace using natural language queries.
Custom MCP Servers
Connect custom MCP-compatible servers by uploading the full JSON configuration.
Note: Custom MCP server support may not be fully functional in all cases.
Future Providers
Additional providers planned: GitHub, Atlassian (Jira and Confluence), and more.
Connecting an MCP Server
Adding a Connection
- Navigate to the MCP page and click “Add MCP Server”
- Select server type (Notion or Custom)
- Configure:
- Name: Connection identifier
- Description: Optional
- Authentication: API keys or credentials (required for Notion)
- For custom servers, provide the full MCP server configuration as JSON in tool metadata
- Save
Notion-Specific Setup
- Create a Notion integration at https://www.notion.so/profile/integrations
- Copy the integration token (begins with
ntn_) - In Rhesis, select “Notion” as the provider type
- Enter a connection name and paste the token
- Save
Custom MCP Server Setup
- Select “Custom” as the provider type
- Enter a connection name
- Provide the full MCP server configuration as JSON in tool metadata
- Include required authentication tokens in credentials
- Save
Note: Custom MCP server support may not be fully functional in all cases.
Using MCP to Import Sources
Searching for Pages
- Navigate to the Knowledge page and click “Import from MCP”
- Select a connected MCP server (e.g., Notion)
- Enter a natural language search query (e.g., “pages about authentication”)
- Click “Search” and review results
Selecting and Importing Pages
- Select pages from search results (use “Select All” for all results)
- Click “Import as Sources” to extract and save
- Pages are saved as sources in your Knowledge base for use in test generation and other workflows
Managing MCP Connections
Viewing Connections
The MCP page displays all connected servers with name, provider type, description, and status.
Updating Connections
- Click a connection to edit
- Update name, description, or credentials (for Notion, enter a new token beginning with
ntn_) - Save changes
Removing Connections
- Select the connection and click “Delete”
- Confirm deletion
Warning: Imported sources remain in your Knowledge base, but you won’t be able to search for new pages from this connection.
Security Considerations
Authentication
- Credentials are encrypted in the database
- Use read-only access where possible
- Rotate tokens regularly
Data Privacy
- Understand what data is accessed when searching and importing
- Imported page content is stored in your Knowledge base
Best Practices
- Name connections descriptively
- Use specific search queries
- Review results before importing
- Rotate credentials regularly
Next Steps - Import pages from MCP servers in Knowledge - Use imported sources in Test Generation