42 Commits

Author SHA1 Message Date
miyamo2
494851a71f fix: crash when sending tool_result with anthropic and google (#34)
* fix: tool result handling in anthropic

* fix: set the role outside the loop

* fix: role mapping in implementation of google provider and anthropic provider

* fix: simplify role mapping logic and update role constants
v0.7.1
2025-04-25 15:13:55 +03:00
Hyunchul Jung
beaa623fc5 feat: support system prompt (#29)
* support system prompt for ollama

* support system prompt for openai

* support system prompt for google gemini

* fixed setting for google gemini system-prompt

* support system prompt for anthropic

* edit README

* edit commments

* fix system-prompt flag desc

* modifed var name for systemPromp
v0.7.0
2025-04-23 17:39:21 +03:00
Glenn Lewis
4facfd6151 fix: Do not panic when reading malformed properties (#31)
* fix: Do not panic when reading malformed properties

Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>

* Add one more check

Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>

---------

Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
2025-04-23 17:38:01 +03:00
James Heller
c47f090061 Add number and integer types to google type converter (#32) 2025-04-23 17:37:23 +03:00
Daniel Bos
4fe66b099e Fix multiple requests at the same time (#33)
Previously when multiple tool calls were requested by the LLM we got the
error `An assistant message with 'tool_calls' must be followed by tool
messages responding to each 'tool_call_id'.` although the calls were
processed.

Apparently each response needs to be its own message, rather than its
own block.

Closes #7
2025-04-23 17:37:01 +03:00
Roman Gelembjuk
ec996fd1e1 Add support of config for SSE servers. Add Authorization header support (#24)
* Add support of config for SSE servers. Add Authorization header support

* Change the format of JSON for SSE servers to be similar to other tools

---------

Co-authored-by: Roman Gelembjuk <Roman Gelembjuk>
v0.6.0
2025-04-16 20:18:44 +03:00
mimi3421
c572625257 Add ``omitempty` to `reasoning_content`` in OpenAI message API (#27)
Add ```omitempty``` to ```reasoning_content``` in OpenAI message API. See issue [link](https://github.com/mark3labs/mcphost/issues/23)
2025-04-16 20:18:12 +03:00
Daniel Bos
f0be8458aa Increase maximum length of prompt input (#25)
Default maximum length is 400 characters.
2025-04-16 20:17:39 +03:00
Ed Zynda
3076686b18 Add a Discord link\ 2025-04-12 12:55:53 +03:00
Roman Gelembjuk
b4057a917a Allow to connect to remote SSE MCP server (#22)
Co-authored-by: Roman Gelembjuk <Roman Gelembjuk>
v0.5.0
2025-04-11 23:22:53 +03:00
J.K.
f1ed1fcb5c Add explanation about Ollama environment variables (#17)
Co-authored-by: Ed Zynda <ezynda3@users.noreply.github.com>
2025-04-11 23:21:16 +03:00
J.K.
d8583a7883 Fix default config file name in help message (#16)
* Fix default config file name

* Update README.md
2025-04-11 23:19:33 +03:00
zku
d58251f53e Add Google/Gemini support (#15)
* add google/gemini support

* fix user/model role issues, use chat session

* properly maintain history

* update gemini/google provider, pipe context through runPrompt, minor fixes

* minor formatting fix in usage tooltip

* update readme to showcase Google/Gemini support

---------

Co-authored-by: Ed Zynda <ezynda3@users.noreply.github.com>
2025-04-11 23:19:06 +03:00
Earisty
54ff95c421 add contribute guide and fix openai implement to openai-compatible (#13) 2025-04-11 23:16:43 +03:00
Ed Zynda
e614a4d061 Merge branch 'main' of github.com:mark3labs/mcphost v0.4.4 2025-02-23 12:16:30 +03:00
Ed Zynda
32a4831179 use background context 2025-02-23 12:16:17 +03:00
Ed Zynda
9681971ee9 Update README 2025-01-03 07:12:20 +03:00
Ed Zynda
c4ed189f48 Setup goreleaser v0.4.3 2025-01-03 07:08:49 +03:00
GargantuaX
88a8c7bf15 support anthropicBaseURL , openaiAPIKey, anthropicAPIKey cli params (#6)
* * support anthropicBaseURL , openaiAPIKey, anthropicAPIKey cli params

* * support anthropicBaseURL , openaiAPIKey, anthropicAPIKey cli params

* opt

* remove the non-English comments

* add new Flags to document
2024-12-27 14:10:29 +03:00
Ed Zynda
b32fd143c6 cleanup v0.4.2 2024-12-21 20:28:35 +03:00
Ed Zynda
9a50bcbcbe update versions and formatting v0.4.1 2024-12-20 18:25:10 +03:00
Ed Zynda
e1a974511d remove patch version v0.4.0 2024-12-20 18:21:03 +03:00
Ed Zynda
5c9246cd5f Update README 2024-12-20 18:20:05 +03:00
Ed Zynda
5ac7908227 Refactor (#5)
Refactoring so hard!
2024-12-20 18:15:14 +03:00
Ed Zynda
e3a64a107d update SDK version v0.3.3 2024-12-18 11:31:27 +03:00
Ed Zynda
fa7cbb0b55 Fix ollama v0.3.2 2024-12-11 17:13:41 +03:00
Ed Zynda
0bbe5f15c1 Update deps v0.3.1 2024-12-11 15:36:01 +03:00
Ed Zynda
e69bbb8354 Update deps 2024-12-11 15:35:56 +03:00
Ed Zynda
5201b57ec6 Update README 2024-12-10 22:29:08 +03:00
Ed Zynda
e7cebe73da Update README and LICENSE 2024-12-10 22:25:15 +03:00
Ed Zynda
b79b521911 Add message window to prevent overloading context v0.3.0 2024-12-10 22:19:35 +03:00
Ed Zynda
57fe2c6795 Update styling 2024-12-10 21:52:33 +03:00
Ed Zynda
ea68e00db6 Add /history command 2024-12-10 18:08:17 +03:00
Ed Zynda
87ffdec8f0 Add usage stats and handle overloaded errors 2024-12-10 17:40:02 +03:00
Ed Zynda
2d79e5989c Remove anthropic go sdk dependency 2024-12-10 17:32:12 +03:00
Ed Zynda
6b2180ac7c Fix tool check 2024-12-10 16:36:13 +03:00
Ed Zynda
8b0001184f Disable tools for models that do not support it. 2024-12-09 16:46:12 +03:00
Ed Zynda
8350b7a55a Update MCP-Go SDK v0.2.2 ls 2024-12-09 10:12:51 +03:00
Ed Zynda
986f5560c5 Refactor v0.2.1 2024-12-09 00:01:06 +03:00
Ed Zynda
8301aa1a68 Update README 2024-12-08 19:37:30 +03:00
Ed Zynda
aca9d750ba update config location and add LICENSE v0.2.0 2024-12-08 19:33:45 +03:00
Ed Zynda
d80a14f660 Initial commit v0.1.0 2024-12-08 19:27:53 +03:00