Book a Demo

Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Hi Takeshi,

I have now installed the correct version: 2.0.3.

I haven't tested your workaround solution for BPMN yet, but I will definitely do so. Thank you very much for the workaround solution. I really appreciate it.

I only tested BMPN because I wanted to see what is possible with your MCP, as BPMN is the most complicated notation in my opinion.

I am currently trying to create ArchiMate elements, as we normally use ArchiMate. Unfortunately, still no ArchiMate elements are created, only UML case elements. The properties show ArchiMate3 as profile, but the stereotype is not selected. You say in https://www.sparxsystems.jp/en/MCP/: "When using other notations such as ArchiMate, defining and passing similar content in advance ensures accurate processing." Do you mind to add a prompt here to create an ArchiMate ApplicationComponent?
52
General Board / Re: Hyperlink navigation to diagram
« Last post by kfank2 on November 05, 2025, 12:10:55 pm »
Thanks Takeshi!  Exactly what I wanted.
53
Hi Viking,

I have downloaded the installers from my website, as the same as other people, and the installers are correctly updated.
Could you clear the cache of your web browser or use a different browser/network to download the installer?
The installation timestamps are set to 4 November.


About the prompt for the AI, following is the SysML prompt which is offered by the MCP add-in.

-------------
When creating a new element, connector or diagram in the SysML 1.5, you need to specify the following word for its type.

# Diagrams

The following diagram types are supported, as well as the internal type values for creation diagrams.

- Requirement diagram: 'SysML1.4::Requirement'
- Block Definition diagram: 'SysML1.4::BlockDefinition'
- Activity diagram: 'SysML1.4::Activity'
- State Machine diagram: 'SysML1.4::StateMachine'
- Use Case diagram: 'SysML1.4::UseCase'

Diagram types not included in the above list are not currently supported.

# Elements

The following types are currently supported: If a type has a bracketed name, that name must be specified when creating it.

## Requirement diagrams
- Requirement: 'SysML1.4::Requirement'

## Block Definition diagrams
- Block: 'SysML1.4::Block'
- Interface Block: 'SysML1.4::InterfaceBlock'
- Signal
(The following is omitted)
-------------

HTH,
54
What that means is that the parameter is passed by reference (Although there's no good reason for it to do that originally, now the reason is to not break existing add-ins)

Javascript passes objects by reference and primitives by value, so the code has wrapped the value in an object.

Use TabName.val and DiagramID.val.
55
Hi Takeshi-san,
  • "Could you try again with the latest installer?" -> I removed my current version, downloaded the file again from sparxsystems.jp/en/MCP and installed it. But it says that it is the same version as the other one: 2.0.2.
  • Could you make your creations rules available so that they can also used in Copilot, for example.
  • "When using other notations such as ArchiMate, defining and passing similar content in advance ensures accurate processing." Could you provide examples, please? I tried a lot with Copilot and it was not able to create any Archimate element. Or is this also only possible with Claude Desktop?
V.
56
Can you explain your situation a bit more?

Are you using the client API, or creating things using the server API?
In the database there are two separate fields, CreatedDate and ModifiedDate

Geert
57
General Board / Re: 'Splash' screen when opening a project/model
« Last post by Takeshi K on November 04, 2025, 12:16:36 pm »
58
General Board / Re: Hyperlink navigation to diagram
« Last post by Takeshi K on November 04, 2025, 12:15:34 pm »
The 'Enable Concise Diagram Navigation' option will solve your problem.
https://sparxsystems.com/enterprise_architect_user_guide/17.1/the_application_desktop/visualstyles.html

HTH,
59
Hello Viking,

Thank you for your feedback about the MCP add-in.

First, I would like to tell that the issue which BPMN events cannot be created is NOT a bug of my add-in nor an issue of my add-in. This is originally EA's Automation Interface problem.

About the BPMN events, there are two forms. One is the normal (isolated) event, and another is the edge-mounted event. Both has the same BPMN 2.0::StartEvent stereotype.

When we create the BPMN 2.0::StartEvent with Collection.AddNew(name, "BPMN 2.0::StartEvent"), EA always creates the edge-mounted form. But the edge-mounted objects require its parent, so the MCP command always fails. There is no way to specify which form we create for the AddNew method when a stereotype has two or more forms.


Anyway, I have added a workaround for the BPMN events. Please call the tool (MCP method) with BPMN2.0::StartEvent, BPMN2.0::IntermediateEvent and BPMN2.0::EndEvent on the latest MCP server version 2.0.3. You can now create these events.

And during the test of this workaround, I found another issue which we cannot change the type of event (Timer, Message, etc.). This is also an issue of the Automation Interface, so I also added another workaround to update the BPMN properties (tagged values) correctly.

Could you try again with the latest installer?


About your second post, maybe your MCP client sends the string 'CRM' for the type of a new element. In Enterprise Architect, there is no element type 'MCP' so the 'invalid type' is reasonable. About a prompt, the prompts which are offered my MCP add-in are useful to start. In some MCP client such as the Claude for Desktop, we can specify and see the prompts.







60
I was also trying to create an ArchiMate diagram with VSCode, Copilot, and MCP for EA. The documentation says "When using other notations such as ArchiMate, defining and passing similar content in advance ensures accurate processing."

So, I was trying prompts like
  • Create a new element of type Component with stereotype ArchiMate3::ApplicationComponent named "CRM"
  • Create an element of type ApplicationComponent with stereotype ArchiMate3::ApplicationComponent named "CRM" in the application layer package

MCP always answered with "invalid Type". I also tried to provide Copilot with Creation Rules, like your implementation does for Claude. So, I used the MDG-XML-file.

But nothing works. Any ideas?
Pages: 1 ... 4 5 [6] 7 8 ... 10