Commit Graph

6 Commits

Author SHA1 Message Date
Danglewood
bf0cb48465 markdown linting 2026-06-01 14:49:24 -07:00
Theodore Aptekarev
18d1696243 Flip default tool discovery setting to disabled (#7452) 2026-04-03 05:39:20 +00:00
Danglewood
8a0f4508e0 [Feature] openbb-mcp-server: Refactor for FastMCP V3 (#7380)
* add developer and user interface skills to baseline openbb-mcp server

* pylint

* tests

* refactor for fastmcp v3

* pylint

* fix some v3 syntax and add tools for list and read resources

* more deprecated imports

* too-many-lines

* add name slug and use description from below the title instead of short sentence

* add VSCodeSkillsProvider to imports and vendor skills providers map

* replace custom prompt tools with PromptsAsTools transform

* use ResourcesAsTools transforms instead of manual list/read functions

* replace ToolRegistry with CategoryIndex

* update readme and skill files

* use  in docstring..

* clean docstring

* codespell

* more pyproject.toml

* fix merge conflict

---------

Co-authored-by: deeleeramone <>
2026-03-18 20:38:59 +00:00
Danglewood
f5bfa2c0e3 [Feature] Expand MCP Server Configurability (#7202)
* refactor mcp extension and expand capabilities

* update test

* test file name

* type definition

* missing docstring

* remove logger.info item not needed

* readme typo

* reload not available, bad example

* another reload

* add server prompts

* update readme with server-prompts

* readme update

* more readme

* add basic auth

* improve docstring in create_mcp_server

* linter

* No `Dict` import

* rename local

* remove a debugging raise statement

* Add py.typed marker

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2025-09-16 23:14:45 +00:00
Magnus
7b520e5f8a [BugFix] MCP - expose correct header for session id (#7160)
* [BugFix] MCP - expose correct header for session id

* Pin FastMCP to <2.9

The update casued problems with converting tools from OpenAPI specs

* Update default settings

* Add exclusion for all POST requests in route filtering

* fix compress input and output schemas with newer fastmcp versions

* Add unit tests for MCP server, utilities and settings

* add missing init file

* skip tests for python 3.9

* Add setup instructions for VS Code

* update fastmcp version and lock file

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: DidierRLopes <didierrlopes@gmail.com>
2025-07-12 22:26:15 +00:00
Magnus
e00cf0f142 [Feature] Add mcp_server to openbb_core api (#7094)
* [Feature] Add 'mcp_server' extention

* [Feature] Refactor of MCP server to FastMCP 2.0

- Also moves settings into the extention
- Refactors the management tool
- Add tool registry
- Use Argpars

* Enable all tools by default, fix linting and type issues

* Fix mcp CORS settings

* Fix linter errors

* Refactored load_settings_from_env + linting fix

* fix stdio transport, add lock file

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: DidierRLopes <didierrlopes@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2025-07-03 07:49:59 +00:00