tines-mcp-server
Enables interaction with the Tines security automation platform, allowing management of stories, actions, credentials, and more via natural language.
README
Tines MCP Server
A Model Context Protocol (MCP) server for interacting with the Tines security automation platform.
Features
- Stories: List, create, update, delete, import/export stories
- Actions: Create, update, delete, and run actions within stories
- Credentials: Manage text and OAuth credentials
- Teams & Folders: Organize your Tines workspace
- Events: View story execution history
- Global Resources: Manage shared resources across stories
Security
- API tokens are stored in
.envfile (never committed to git) - All API calls use HTTPS
- Error messages are sanitized to prevent token leakage
- Input validation on all parameters
Setup
1. Clone the Repository
git clone https://github.com/YOUR_USERNAME/tines-mcp-server.git
cd tines-mcp-server
2. Install Dependencies
pip install -r requirements.txt
3. Configure Credentials
Copy the example environment file:
cp .env.example .env
Edit .env with your Tines credentials:
TINES_TENANT=your-company.tines.com
TINES_API_TOKEN=your-api-token-here
To get your API token:
- Log in to Tines
- Go to your Profile (top-right corner)
- Navigate to API Tokens
- Create a new token with appropriate permissions
- Copy the token immediately (it won't be shown again)
4. Configure Claude Desktop
Add this to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"tines": {
"command": "python",
"args": ["/path/to/tines-mcp-server/server.py"]
}
}
}
Note: Update the path to match your actual installation location.
5. Restart Claude Desktop
After configuring, restart Claude Desktop to load the MCP server.
Available Tools
Stories
| Tool | Description |
|---|---|
list_stories |
List all stories |
get_story |
Get story details |
create_story |
Create a new story |
update_story |
Update a story |
delete_story |
Delete a story |
export_story |
Export story as JSON |
import_story |
Import story from JSON |
Actions
| Tool | Description |
|---|---|
list_actions |
List actions in a story |
get_action |
Get action details |
create_action |
Create a new action |
update_action |
Update an action |
delete_action |
Delete an action |
run_action |
Manually trigger an action |
Credentials
| Tool | Description |
|---|---|
list_credentials |
List all credentials |
get_credential |
Get credential details |
create_text_credential |
Create a text credential |
create_oauth_credential |
Create an OAuth credential |
delete_credential |
Delete a credential |
Teams & Folders
| Tool | Description |
|---|---|
list_teams |
List all teams |
get_team |
Get team details |
list_folders |
List all folders |
get_folder |
Get folder details |
create_folder |
Create a new folder |
Events
| Tool | Description |
|---|---|
list_events |
List story events |
get_event |
Get event details |
Global Resources
| Tool | Description |
|---|---|
list_global_resources |
List all global resources |
get_global_resource |
Get resource details |
create_global_resource |
Create a resource |
update_global_resource |
Update a resource |
delete_global_resource |
Delete a resource |
Utilities
| Tool | Description |
|---|---|
list_action_types |
List available action types |
Drafts (Change Control)
For stories with Change Control enabled, use these tools to create, test, and publish changes safely:
| Tool | Description |
|---|---|
list_drafts |
List all drafts for a story |
get_draft |
Get draft details |
create_draft |
Create a new draft from live story |
delete_draft |
Discard a draft |
publish_draft |
Publish draft to live |
list_draft_actions |
List actions in a draft |
create_draft_action |
Add action to draft |
update_draft_action |
Update action in draft |
delete_draft_action |
Remove action from draft |
run_draft_action |
Test an action in draft |
Workflow for Change Control:
create_draft- Create a draft from the live storycreate_draft_action/update_draft_action- Make your changesrun_draft_action- Test your changespublish_draft- Push changes to live (ordelete_draftto discard)
Common Action Types
When creating actions, use these type strings:
| Type | Description |
|---|---|
Agents::HTTPRequestAgent |
Make HTTP requests |
Agents::EventTransformationAgent |
Transform event data |
Agents::TriggerAgent |
Scheduled trigger |
Agents::WebhookAgent |
Receive webhooks |
Agents::SendToStoryAgent |
Send data to another story |
Agents::EmailAgent |
Send emails |
Agents::IMAPAgent |
Receive emails |
Agents::JavaScriptAgent |
Run JavaScript code |
Agents::PythonAgent |
Run Python code |
Example Usage
Once configured, you can ask Claude to:
- "List all my Tines stories"
- "Create a new story called 'Phishing Response'"
- "Add an HTTP Request action to story ID 123"
- "Show me the events for story 456"
- "Export story 789 so I can back it up"
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。