MCP Server
-
Create MCP server
- Using argument
- Using file
Use command :
initz create mcp --name=<mcp-name>
Flags
--name
- Indicates the name of MCP server.
- required
- Shorthand :
n
Use command :
initz create mcp -f <mcp.json/mcp.yaml>
Example template :
- JSON
- YAML
mcp.json{
"api_key": "your-api-key",
"email": "",
"name": "example",
"type": "slack/jira",
"url": "https://your-org.atlassian.net"
}mcp.yamlapikey: your-api-key
email: your-email
name: example
type: slack/jira
url: https://your-org.atlassian.netYou can either use the configuration provided in the file above to create the MCP server or generate your own example configuration to do so.
Generate configuration :
- JSON
- YAML
mcp.jsoninitz create mcp --name=<mcp-name> --template=json
mcp.yamlinitz create mcp --name=<mcp-name> --template=yaml
Flags
--template
- Need to pass the format(
json/yaml
) of the template(example configuration) to create the MCP server via file. - shorthand :
t
-
Delete MCP server
Use command :
initz delete mcp --name <name>
Flags
--name
- Indicates the name of the MCP server.
- required
- Shorthand :
n
-
Get list of MCP server
Use command :
initz get mcp
-
Get list of MCP server tools
Use command :
initz get tools --type=<slack/jira>
-
Get MCP configuration
Use command :
initz get config
OR
initz get config --name=<mcp-name>