@timetick/mcp 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -59
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
# @timetick/mcp
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Day-to-day work runs through the MCP tools. The web portal is still needed for billing, API keys on Google or LinkedIn accounts, resetting a password, and security profiles (Basic Auth or certificates towards a CSMS).
|
|
3
|
+
Run [Timetick](https://timetick.io) from your AI client. Say "I want to test my CSMS" and the agent signs you in, sets up simulators, runs the test and explains the result. It works with OCPP 1.6 and 2.0.1, and can test a CSMS or a real charger.
|
|
6
4
|
|
|
7
5
|
## Install
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
Claude Code:
|
|
10
8
|
|
|
11
9
|
```
|
|
12
10
|
claude mcp add timetick -- npx -y @timetick/mcp@latest
|
|
13
11
|
```
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
Codex:
|
|
16
14
|
|
|
17
15
|
```
|
|
18
16
|
codex mcp add timetick -- npx -y @timetick/mcp@latest
|
|
19
17
|
```
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
Gemini CLI, Claude Desktop, Cursor and other MCP clients:
|
|
22
20
|
|
|
23
21
|
```json
|
|
24
22
|
{
|
|
@@ -31,78 +29,50 @@ codex mcp add timetick -- npx -y @timetick/mcp@latest
|
|
|
31
29
|
}
|
|
32
30
|
```
|
|
33
31
|
|
|
34
|
-
Keep `@latest
|
|
32
|
+
Keep `@latest` so you stay on the current version.
|
|
35
33
|
|
|
36
34
|
## Sign in
|
|
37
35
|
|
|
38
|
-
Ask the agent
|
|
39
|
-
|
|
40
|
-
- **Google or LinkedIn accounts:** create a key in the portal under **API keys** and paste it on the same page.
|
|
41
|
-
- **No local browser** (SSH, containers): set `TIMETICK_API_TOKEN`. It always wins over stored credentials.
|
|
42
|
-
- `whoami` shows who you are, the server version and whether an update is available. `logout` revokes the key and deletes it locally.
|
|
43
|
-
|
|
44
|
-
## Testing your CSMS
|
|
45
|
-
|
|
46
|
-
Simulators connect to your CSMS from Timetick's cloud, so it needs a public `ws://` or `wss://` address. The simulator name is the charge point identity your CSMS sees.
|
|
47
|
-
|
|
48
|
-
| Under test | Connection | Charger-side steps | `Remote:` steps |
|
|
49
|
-
| --- | --- | --- | --- |
|
|
50
|
-
| Your CSMS | Simulators connect to it | Automatic | You send the command from your CSMS |
|
|
51
|
-
| Your real charger | Hardware connects to Timetick's CSMS | A person at the charger | Automatic |
|
|
36
|
+
Ask the agent to log in to Timetick. A page opens in your browser where you can sign in, create an account or paste an API key. Your password stays out of the AI conversation.
|
|
52
37
|
|
|
53
|
-
|
|
38
|
+
If you use Google or LinkedIn to sign in, create an API key in the portal under **API keys** and paste it on that page.
|
|
54
39
|
|
|
55
|
-
|
|
40
|
+
On a machine with no browser, such as over SSH, set `TIMETICK_API_TOKEN` to your API key in the client config.
|
|
56
41
|
|
|
57
|
-
|
|
42
|
+
To switch accounts, ask the agent to log in again. To use two accounts at once, add the server twice, each with its own `TIMETICK_API_TOKEN`.
|
|
58
43
|
|
|
59
|
-
|
|
44
|
+
## Test your CSMS
|
|
60
45
|
|
|
61
|
-
|
|
46
|
+
Simulators connect to your CSMS from Timetick's cloud, so it needs a public `ws://` or `wss://` address. Your CSMS sees the simulator's name as the charge point identity.
|
|
62
47
|
|
|
63
|
-
|
|
48
|
+
Steps on the charger side, such as plugging in, run automatically. Steps named `Remote:` wait for your CSMS to send the command. If you set expected results, the step passes or fails on its own. Otherwise the agent asks you what happened.
|
|
64
49
|
|
|
65
|
-
|
|
50
|
+
## Test a real charger
|
|
66
51
|
|
|
67
|
-
|
|
52
|
+
Your charger connects to Timetick's CSMS. Someone at the charger does the physical steps, and `Remote:` steps run automatically.
|
|
68
53
|
|
|
69
|
-
|
|
54
|
+
## What you can do
|
|
70
55
|
|
|
71
|
-
|
|
56
|
+
- Create and manage simulators, hardware, models and OCPP configurations
|
|
57
|
+
- Write tests or start from a template
|
|
58
|
+
- Run tests, test plans and Stress Tests
|
|
59
|
+
- Read results and OCPP logs
|
|
60
|
+
- Manage projects, tags and API keys
|
|
72
61
|
|
|
73
|
-
|
|
62
|
+
Some things still need the [portal](https://app.timetick.io): billing, resetting a password, and security profiles (Basic Auth or certificates towards a CSMS).
|
|
74
63
|
|
|
75
|
-
|
|
64
|
+
## Projects and trial
|
|
76
65
|
|
|
77
|
-
|
|
66
|
+
Your first project gets the free trial, which starts when you create it. Any further project needs payment details, which you add in the portal.
|
|
78
67
|
|
|
79
|
-
|
|
68
|
+
A project with no active plan is read-only. If you started onboarding in the portal and didn't finish, ask the agent to start the trial.
|
|
80
69
|
|
|
81
|
-
|
|
70
|
+
If you have several projects, tell the agent which one to use.
|
|
82
71
|
|
|
83
|
-
##
|
|
84
|
-
|
|
85
|
-
| Situation | What happens |
|
|
86
|
-
| --- | --- |
|
|
87
|
-
| Your account has one project | It is selected automatically |
|
|
88
|
-
| Your account has several | Call `use_project` once, by name or id; it holds for the session |
|
|
89
|
-
| You create your first project | It becomes the active one, and its free trial starts |
|
|
90
|
-
| You already have a project | Another one needs payment details, set up in the portal |
|
|
91
|
-
| A project's trial has not started | It is read-only until its owner calls `start_trial`, usually after an unfinished portal onboarding |
|
|
92
|
-
| A project's plan has ended | It is read-only until a plan is set up in the portal |
|
|
93
|
-
| Any time | `get_context` reports the active project |
|
|
94
|
-
|
|
95
|
-
Pass `project` to a tool to target a different project for that call alone.
|
|
96
|
-
|
|
97
|
-
## Configuration
|
|
72
|
+
## Read-only mode
|
|
98
73
|
|
|
99
|
-
|
|
100
|
-
| --- | --- |
|
|
101
|
-
| `TIMETICK_API_TOKEN` | API key; skips login and wins over stored credentials |
|
|
102
|
-
| `TIMETICK_API_URL` | API endpoint, default `https://app.timetick.io/graphql`. Stored credentials only apply to the endpoint they were created for |
|
|
103
|
-
| `TIMETICK_MCP_READONLY` | `1` or `true`: read-only mode, see below |
|
|
104
|
-
| `TIMETICK_CREDENTIALS_PATH` | Where login stores the key, default `~/.timetick/credentials.json` |
|
|
74
|
+
Set `TIMETICK_MCP_READONLY=1` and the agent can read your data but not change it. You can still sign in and out.
|
|
105
75
|
|
|
106
|
-
##
|
|
76
|
+
## Help
|
|
107
77
|
|
|
108
|
-
|
|
78
|
+
For questions, write to support@timetick.io.
|
package/package.json
CHANGED